ll.SignRSA

ll.SignRSA(PrivateKey: string, Message: string, Algorithm: string) : string

Returns the base64-encoded RSA signature of Message using PEM-formatted PrivateKey and digest Algorithm (sha1, sha224, sha256, sha384, sha512).

Example

ll.SignRSA('test', 'test', 'test')
{
  "def": "func",
  "desc": "Returns the base64-encoded RSA signature of Message using PEM-formatted PrivateKey and digest Algorithm (sha1, sha224, sha256, sha384, sha512).",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlSignRSA",
  "name": "SignRSA",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "string"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "PrivateKey",
          "desc": "The PEM-formatted private key",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Message",
          "desc": "The message contents to sign",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Algorithm",
          "desc": "The digest algorithnm to use: sha1, sha224, sha256, sha384, sha512",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll