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";
 
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