BE_SignatureGenerateRSA

BE_SignatureGenerate_RSA ( data ; privateKey {; privateKeyPassword ; algorithm; fileNameWithExtension } )

 

Generates a digital signature of data. The message digest of data is calculated first using the specified algorithm. Then the digest is encrypted with privateKey.  Uses OpenSSL so algorithms come from there, and should be generally compatible.

 

Version 4.0 : Added.

 

Parameters :

  • data : The data to be signed. It can be text or container field.
  • privateKey : The private key (as text) to digitally sign the input text.
  • privateKeyPassword ( optional ) : The password of the private key. It will be ignored if the private key is not password-protected.
  • algorithm ( optional ) : The hash algorithm (as text) to calculate the digest of the data. "SHA256" will be used when it's empty or omitted.
  • fileNameWithExtension (optional) : The filename and extension for the generated signature file.

 

Result : Container content if fileNameWithExtension is specified. Otherwise, Base64 encoded text.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.