33 return os <<
"USER_SPECIFIED";
35 return os <<
"SHA256";
37 return os <<
"RANDOM";
39 return os << static_cast<int>(keyIdType);
55 return os << static_cast<int>(keyType);
65 return os <<
"PUBLIC";
67 return os <<
"PRIVATE";
69 return os <<
"SYMMETRIC";
71 return os << static_cast<int>(keyClass);
81 return os <<
"SHA224";
83 return os <<
"SHA256";
85 return os <<
"SHA384";
87 return os <<
"SHA512";
89 return os <<
"BLAKE2b-512";
91 return os <<
"BLAKE2s-256";
93 return os <<
"SHA3-224";
95 return os <<
"SHA3-256";
97 return os <<
"SHA3-384";
99 return os <<
"SHA3-512";
101 return os << static_cast<int>(algorithm);
111 return os <<
"AES_CBC";
113 return os << static_cast<int>(algorithm);
121 return os <<
"DECRYPT";
123 return os <<
"ENCRYPT";
125 return os << static_cast<int>(op);
135 return os <<
"PUBLIC";
137 return os <<
"PRIVATE";
139 return os << static_cast<int>(aclType);
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.
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 the key id.
Use a 64-bit random number as the key id.
AES key, supports encrypt/decrypt operations.