Module tuf::crypto
[−]
[src]
Cryptographic structures and functions.
Structs
HashValue |
Wrapper for the value of a hash digest. |
KeyId |
Wrapper type for public key's ID. |
PrivateKey |
A structure containing information about a private key. |
PublicKey |
A structure containing information about a public key. |
Signature |
A structure that contains a |
SignatureValue |
Wrapper type for the value of a cryptographic signature. |
Enums
HashAlgorithm |
The available hash algorithms. |
KeyType |
Types of public keys. |
SignatureScheme |
Cryptographic signature schemes. |
Functions
hash_preference |
Given a map of hash algorithms and their values, get the prefered algorithm and the hash
calculated by it. Returns an |