32 return os <<
"USER_SPECIFIED";
34 return os <<
"SHA256";
36 return os <<
"RANDOM";
38 return os << static_cast<int>(keyIdType);
54 return os << static_cast<int>(keyType);
64 return os <<
"PUBLIC";
66 return os <<
"PRIVATE";
68 return os <<
"SYMMETRIC";
70 return os << static_cast<int>(keyClass);
80 return os <<
"SHA256";
82 return os << static_cast<int>(algorithm);
92 return os <<
"AES_CBC";
94 return os << static_cast<int>(algorithm);
102 return os <<
"DECRYPT";
104 return os <<
"ENCRYPT";
106 return os << static_cast<int>(op);
116 return os <<
"PUBLIC";
118 return os <<
"PRIVATE";
120 return os << static_cast<int>(aclType);
Copyright (c) 2013-2016 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)
Use the SHA256 hash of the public key as the key id.
Use a 64-bit random number as the key id.