ll.VerifyRSA

ll.VerifyRSA(PublicKey: string, Message: string, Signature: string, Algorithm: string) : number

Returns TRUE if PublicKey, Message, and Algorithm produce the same base64-formatted Signature.

Example

ll.VerifyRSA(
  'test',
  'test',
  'test',
  'test'
)
{
  "def": "func",
  "desc": "Returns TRUE if PublicKey, Message, and Algorithm produce the same base64-formatted Signature.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlVerifyRSA",
  "name": "VerifyRSA",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "number"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "PublicKey",
          "desc": "The PEM-formatted public key for signature verifiation.",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Message",
          "desc": "The message that was signed.",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Signature",
          "desc": "The base64-formatted signature of the message.",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Algorithm",
          "desc": "The digest algorithm: sha1, sha224, sha256, sha384, sha512.",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll