[−][src]Crate cylinder
Modules
hash | Signer/verifier implemenation for hashes instead of real signatures |
jwt | Provides a set of APIs to both generate JSON Web Tokens (JWTs) with cylinder signing algorithms, as well as parse and cryptographically validate the contents of the strings. |
secp256k1 |
Structs
KeyLoadError | An error that can occur when loading a key |
KeyParseError | An error that can occur when parsing a key |
PrivateKey | A private key |
PublicKey | A public key |
Signature | A general signature value. |
SignatureParseError | An error that can occur when parsing a signature |
Enums
ContextError | An error that can occur with contexts |
SigningError | An error that can occur with signing |
VerificationError | An error that can occur with signature verification |
Traits
Context | A context for creating signers and verifiers |
Signer | A signer for arbitrary messages |
Verifier | Verifies message signatures |
VerifierFactory | A factory for creating verifiers |
Functions
current_user_key_name | Returns the name of the current private key file. |
current_user_search_path | Returns a list of possible paths to search for the private key file. |
load_key | Returns the private key from the given name and search path. |
load_key_from_path | Returns the private key from the given path. |