[−][src]Module in_toto::crypto
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
calculate_hashes | Calculate the size and hash digest from a given |
hash_preference | Given a map of hash algorithms and their values, get the prefered algorithm and the hash
calculated by it. Returns an |