Module signature

Source
Expand description

§Signatures

  • EcDSA P256 with Sha256, Sha384, and Sha512
  • EdDSA 25519
  • RSA PSS

Modules§

rsa_pss

Structs§

EcDsaP256Signature
A Algorithm::EcDsaP256 Signature
Ed25519Signature
A Algorithm::Ed25519 Signature

Enums§

Algorithm
The Signature Algorithm
DigestAlgorithm
The digest algorithm used for the signature scheme (when required).
Error
Signature Errors
Signature
The signature

Functions§

key_gen
Generate a fresh key pair.
sign
Sign the payload with the given Algorithm and private_key.
verify
Verify the payload and signature with the public_key.