Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

RSA.SignPSS

Signs data with RSA digital signature with PSS padding.

Component Version macOS Windows Linux Server iOS SDK
RSA 15.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "RSA.SignPSS"; Algorithm; InputType; InputData; InputEncoding; KeyType; KeyData; KeyEncoding; PasswordType; PasswordData; PasswordEncoding; OutputType { ; OutputInfo } )   More

Parameters

Parameter Description Example Flags
Algorithm Which algorithm to use. Can be MD4, MD5, SHA, SHA1, MDC2, RIPEMD160, SHA224, SHA256, SHA384 or SHA512. "SHA512"
InputType The type of input data.
Can be Text, Container, Image, Path, PDF, Data, base64 or Hex.
"Text"
InputData The actual input data.
Text, container or file path.
"Hello World"
InputEncoding The text encoding for text input.
Parameter is ignored for other cases.
"UTF-8"
KeyType The type of input for private key.
Can be Text, Container, Image, Path, PDF, Data, base64 or Hex.
"Path"
KeyData The actual input data for the key.
Text, container or file path. Must not be longer than the maximum key length of the given algorithm. If key is too short, we pad it with zero bytes.
"/Users/cs/desktop/test.pem"
KeyEncoding The text encoding for text input for the key.
Parameter is ignored for other cases.
PasswordType The type of input for the password of the private key.
Can be Text, Container, Image, Path, PDF, Data, base64 or Hex.
"Text"
PasswordData The actual input data for the password of the private key.
Text, container or file path. Must not be longer than the maximum key length of the given algorithm. If key is too short, we pad it with zero bytes.
"Hello World"
PasswordEncoding The text encoding for text input.
Parameter is ignored for other cases.
"UTF-8"
OutputType The output type.
Can be Base64, Hex, Text, File, Path.
Added Base64URL as option for plugin version 10.3.
"Hex"
OutputInfo The addition info for output.
For text it is the text encoding, for file container the file name and for path the actual native file path.
"" Optional

Result

Returns signature or error.

Description

Signs data with RSA digital signature with PSS padding.
Returns signature data in the format specified in OutputType.
See also RSA.Sign for more details.

See also

Release notes

  • Version 15.5
    • Added RSA.SignPSS and RSA.VerifyPSS functions for 2048-bit RSA electronic signature with PSS padding and SHA-256.

Blog Entries

This function checks for a license.

Created 23th September 2025, last changed 23th September 2025


RSA.Sign - RSA.Verify