34 return os <<
"USER-SPECIFIED";
36 return os <<
"SHA256";
38 return os <<
"RANDOM";
68 return os <<
"SHA224";
70 return os <<
"SHA256";
72 return os <<
"SHA384";
74 return os <<
"SHA512";
76 return os <<
"BLAKE2b-512";
78 return os <<
"BLAKE2s-256";
80 return os <<
"SHA3-224";
82 return os <<
"SHA3-256";
84 return os <<
"SHA3-384";
86 return os <<
"SHA3-512";
98 return os <<
"AES-CBC";
108 return os <<
"DECRYPT";
110 return os <<
"ENCRYPT";
KeyType
The type of a cryptographic key.
@ EC
Elliptic Curve key (e.g. for ECDSA), supports sign/verify operations.
@ RSA
RSA key, supports sign/verify and encrypt/decrypt operations.
@ AES
AES key, supports encrypt/decrypt operations.
@ NONE
Unknown or unsupported key type.
@ HMAC
HMAC key, supports sign/verify operations.
KeyIdType
The type of KeyId component in a key name.
@ RANDOM
Use a 64-bit random number as key id.
@ USER_SPECIFIED
User-specified key id.
@ SHA256
Use the SHA-256 hash of the public key as key id.
std::ostream & operator<<(std::ostream &os, const Data &data)
constexpr std::underlying_type_t< T > to_underlying(T val) noexcept