Expand description
Implementations of JWT signing / verification algorithms. Also contains generic traits for signing and verifying keys.
Structs§
- Ed25519
exonum-crypto - Integrity algorithm using digital signatures on the Ed25519 elliptic curve.
- Es256
p256 ES256signing algorithm. Implements elliptic curve digital signatures (ECDSA) on the secp256r1 curve (aka P-256).- Es256k
es256k - Algorithm implementing elliptic curve digital signatures (ECDSA) on the secp256k1 curve.
- Hs256
HS256signing algorithm.- Hs384
HS384signing algorithm.- Hs512
HS512signing algorithm.- Hs256
Key - Signing / verifying key for
HS256algorithm. Zeroed on drop. - Hs256
Signature - Signature produced by the
Hs256algorithm. - Hs384
Key - Signing / verifying key for
HS384algorithm. Zeroed on drop. - Hs384
Signature - Signature produced by the
Hs384algorithm. - Hs512
Key - Signing / verifying key for
HS512algorithm. Zeroed on drop. - Hs512
Signature - Signature produced by the
Hs512algorithm. - Modulus
Bits Error rsa - Error type returned when a conversion of an integer into
ModulusBitsfails. - Rsa
rsa - Integrity algorithm using RSA digital signatures.
- RsaParse
Error rsa - Errors that can occur when parsing an
Rsaalgorithm from a string. - RsaPrivate
Key rsa - Represents a whole RSA key, public and private parts.
- RsaPublic
Key rsa - Represents the public part of an RSA key.
- RsaSignature
rsa - RSA signature.
- Secret
Bytes - Generic container for secret bytes, which can be either owned or borrowed. If owned, bytes are zeroized on drop.
- Strong
Alg - Wrapper around a JWT algorithm signalling that it supports only
StrongKeys. - Strong
Key - Wrapper around keys allowing to enforce key strength requirements.
- Weak
KeyError - Error type used for fallible conversion into a
StrongKey.
Enums§
- Modulus
Bits rsa - Bit length of an RSA key modulus (aka RSA key length).
- RsaError
rsa - Error types
Traits§
- Signing
Key - Signing key for a specific signature cryptosystem. In the case of public-key cryptosystems, this is a private key.
- Verifying
Key - Verifying key for a specific signature cryptosystem. In the case of public-key cryptosystems, this is a public key.