| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
RSA.VerifyPSS
Verifies RSA digital signature with PSS padding.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| RSA | 15.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "RSA.VerifyPSS"; Algorithm; InputType; InputData; InputEncoding; KeyType; KeyData; KeyEncoding; SigType; SigData; SigEncoding { ; PasswordType; PasswordData; PasswordEncoding } ) 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 or public key. Can be Text, Container, Image, Path, PDF, Data, base64 or Hex. |
"Text" | |
| 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. |
"UTF-8" | |
| SigType | The type of input data for signature. Can be Text, Container, Image, Path, PDF, Data, base64 or Hex. |
"Text" | |
| SigData | The actual input data for signature. Text, container or file path. |
"Hello World" | |
| SigEncoding | The text encoding for text input. Parameter is ignored for other cases. |
"UTF-8" | |
| PasswordType | The type of input for the password of the private key. Can be Text, Container, Image, Path, PDF, Data, base64 or Hex. |
"Text" | Optional |
| 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" | Optional |
| PasswordEncoding | The text encoding for text input. Parameter is ignored for other cases. |
"UTF-8" | Optional |
Result
Returns 1, 0 or error.
Description
Verifies RSA digital signature with PSS padding.Returns 1 if signature is valid or 0 if not or an error if parameters are wrong.
See also RSA.Verify 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