Crate mas_keystore

Source
Expand description

A crate to store keys which can then be used to sign and verify JWTs.

Re-exports§

pub use aead;

Structs§

Encrypter
Helps encrypting and decrypting data
JsonWebKey
JsonWebKeySet
Keystore
A structure to store a list of PrivateKey. The keys are held in an Arc to ensure they are only loaded once in memory and allow cheap cloning
WrongAlgorithmError
Error returned when the key can’t be used for the requested algorithm

Enums§

DecryptError
LoadError
Error type used when a key could not be loaded
PrivateKey
A single private key