Skip to main content

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

  1. Reads text from TEXT_PARAM.
  2. Converts the text into bytes using TEXT_ENCODING.
  3. Reads the signature from SIGNATURE_PARAM.
  4. Converts the signature into bytes using SIGNATURE_ENCODING.
  5. Loads the RSA public key from PUBLIC_KEY.
  6. Hashes the data using HASH_ALGORITHM.
  7. Verifies the signature using the configured PADDING_MODE.
  8. Writes the verification result (True or False) to RESULT_PARAM.

Example Configuration

ParameterValue
PUBLIC_KEY-----BEGIN PUBLIC KEY-----...
TEXT_ENCODINGunicode
SIGNATURE_ENCODINGbase64
PADDING_MODEPss
HASH_ALGORITHMSHA256
TEXT_PARAMTEXT
SIGNATURE_PARAMSIGNATURE
RESULT_PARAMVALID_SIGNATURE

Example Result

VALID_SIGNATURE = True