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 << static_cast<int>(algorithm);
99 return os <<
"AES_CBC";
101 return os << static_cast<int>(algorithm);
109 return os <<
"DECRYPT";
111 return os <<
"ENCRYPT";
113 return os << static_cast<int>(op);
123 return os <<
"PUBLIC";
125 return os <<
"PRIVATE";
127 return os << static_cast<int>(aclType);
Copyright (c) 2013-2017 Regents of the University of California.
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.