method
verify_pss
v2_5_5 -
Show latest stable
-
0 notes -
Class: RSA
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10
- 2_2_9
- 2_4_6
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
verify_pss(p1, p2, p3, p4 = {})
public
Verifies data using the Probabilistic Signature Scheme (RSA-PSS).
The return value is true if the signature is valid, false otherwise. RSAError will be raised if an error occurs.
See #sign_pss for the signing operation and an example code.
Parameters
digest |
A String containing the message digest algorithm name. |
data |
A String. The data to be signed. |
salt_length |
The length in octets of the salt. Two special values are reserved: :digest means the digest length, and :auto means automatically determining the length based on the signature. |
mgf1_hash |
The hash algorithm used in MGF1. |