Expand description
Cryptographic structures and functions.
Structs§
- Ed25519
Private Key - A structure containing information about an Ed25519 private key.
- Hash
Value - Wrapper for the value of a hash digest.
- KeyId
- Wrapper type for public key’s ID.
- Public
Key - A structure containing information about a public key.
- Signature
- A structure that contains a
Signatureand associated data for verifying it. - Signature
Value - Wrapper type for the value of a cryptographic signature.
Enums§
- Hash
Algorithm - The available hash algorithms.
- KeyType
- Types of public keys.
- Signature
Scheme - Cryptographic signature schemes.
Traits§
- Private
Key - A structure containing information about a private key.
Functions§
- calculate_
hashes_ from_ reader - Calculate the size and hash digest from a given
AsyncRead. - calculate_
hashes_ from_ slice - Calculate the size and hash digest from a given
AsyncRead. - retain_
supported_ hashes - Given a map of hash algorithms and their values and retains the supported
hashes. Returns an
Errif there is no match.