Skip to main content

Module pss

Module pss 

Source
Expand description

Support for the Probabilistic Signature Scheme (PSS) a.k.a. RSASSA-PSS.

Designed by Mihir Bellare and Phillip Rogaway. Specified in RFC8017 ยง 8.1.

ยงUsage

See code example in the toplevel rustdoc.

Modulesยง

signature ๐Ÿ”’
RSASSA-PSS signatures.
signing_key ๐Ÿ”’
verifying_key ๐Ÿ”’

Structsยง

Pss
Digital signatures using PSS padding.
Signature
RSASSA-PSS signatures as described in RFC8017 ยง 8.1.
SigningKey
Signing key for producing RSASSA-PSS signatures as described in RFC8017 ยง 8.1.
VerifyingKey
Verifying key for checking the validity of RSASSA-PSS signatures as described in RFC8017 ยง 8.1.

Functionsยง

decode_signature ๐Ÿ”’
Performs the length, RSAVP1, and I2OSP steps of RFC8017 ยง8.1.2.
get_default_pss_signature_algo_id
Returns the AlgorithmIdentifierOwned associated with PSS signature using a given digest.
get_pss_signature_algo_id ๐Ÿ”’
sign ๐Ÿ”’
SignPSS calculates the signature of hashed using RSASSA-PSS.
sign_digest ๐Ÿ”’
sign_pss_with_salt ๐Ÿ”’
signPSSWithSalt calculates the signature of hashed using PSS with specified salt.
sign_pss_with_salt_digest ๐Ÿ”’
verify ๐Ÿ”’
verify_digest ๐Ÿ”’

Type Aliasesยง

BlindedSigningKeyDeprecated
DEPRECATED: type alias for legacy blinded signing key. Blinding is now applied automatically when available.