33 return os <<
"USER-SPECIFIED";
35 return os <<
"SHA256";
37 return os <<
"RANDOM";
67 return os <<
"SHA224";
69 return os <<
"SHA256";
71 return os <<
"SHA384";
73 return os <<
"SHA512";
75 return os <<
"BLAKE2b-512";
77 return os <<
"BLAKE2s-256";
79 return os <<
"SHA3-224";
81 return os <<
"SHA3-256";
83 return os <<
"SHA3-384";
85 return os <<
"SHA3-512";
97 return os <<
"AES-CBC";
107 return os <<
"DECRYPT";
109 return os <<
"ENCRYPT";
Unknown or unsupported key type.
KeyIdType
The type of KeyId component in a key name.
std::ostream & operator<<(std::ostream &os, const Data &data)
RSA key, supports sign/verify and encrypt/decrypt operations.
HMAC key, supports sign/verify operations.
KeyType
The type of a cryptographic key.
Elliptic Curve key (e.g. for ECDSA), supports sign/verify operations.
Use the SHA256 hash of the public key as key id.
Use a 64-bit random number as key id.
constexpr std::underlying_type_t< T > to_underlying(T val) noexcept
AES key, supports encrypt/decrypt operations.