RSA Verify Data
RSA Verify Data validates a digital signature using an RSA public key.
The step recomputes the hash of the input data and verifies the signature using the configured hash algorithm and padding mode.
Parameters
PUBLIC_KEY
RSA public key in PEM format used for signature verification.
Example:
-----BEGIN PUBLIC KEY----- MIIBIjANBgkqh... -----END PUBLIC KEY-----
Required
TEXT_ENCODING
Encoding used to convert input text into bytes before verification.
Supported values:
- utf8
- unicode
- ascii
- base64
Default: unicode
SIGNATURE_ENCODING
Encoding used to convert the provided signature into bytes.
Supported values:
- base64 (recommended)
- hex
Default: base64
PADDING_MODE
Specifies the RSA signature padding mode.
Supported values:
- Pkcs1
- Pss
Default: Pkcs1
HASH_ALGORITHM
Specifies the hash algorithm used during verification.
Supported values:
- SHA1
- SHA256
- SHA384
- SHA512
Default: SHA512
TEXT_PARAM
Message parameter name that contains the original input text.
Default: TEXT
SIGNATURE_PARAM
Message parameter name containing the signature to verify.
Default: SIGNATURE
RESULT_PARAM
Message parameter name that receives the verification result.
Direction: Out
Default: VALID_SIGNATURE
Execution Context Behavior
- Reads text from TEXT_PARAM.
- Converts the text into bytes using TEXT_ENCODING.
- Reads the signature from SIGNATURE_PARAM.
- Converts the signature into bytes using SIGNATURE_ENCODING.
- Loads the RSA public key from PUBLIC_KEY.
- Hashes the data using HASH_ALGORITHM.
- Verifies the signature using the configured PADDING_MODE.
- Writes the verification result (
TrueorFalse) to RESULT_PARAM.
Example Configuration
| Parameter | Value |
|---|---|
| PUBLIC_KEY | -----BEGIN PUBLIC KEY-----... |
| TEXT_ENCODING | unicode |
| SIGNATURE_ENCODING | base64 |
| PADDING_MODE | Pss |
| HASH_ALGORITHM | SHA256 |
| TEXT_PARAM | TEXT |
| SIGNATURE_PARAM | SIGNATURE |
| RESULT_PARAM | VALID_SIGNATURE |
Example Result
VALID_SIGNATURE = True