Method __builtin.Nettle.Hash()->emsa_pss_verify()
- Method
emsa_pss_verify
bool
emsa_pss_verify(string(8bit)
message
,string(8bit)
sign
,int(1..)
bits
,int(0..)
|void
saltlen
,function
(string(8bit)
,int(0..)
:string(8bit)
)|void
mgf
)- Description
This is the algorithm used to verify in RSASSA-PSS (RFC 3447 section 9.1.2).
- Parameter
message
Message that was signed.
- Parameter
sign
Signature digest to verify.
- Parameter
bits
Number of significant bits in
sign
.- Parameter
saltlen
Length of the salt used.
- Parameter
mgf
Mask generation function to use. Defaults to mgf1().
- Returns
Returns
1
on success and0
(zero) on failure.- See also