|
|
typedef std::map< std::string, std::string > | StringMap |
| |
◆ EncryptionKeyInfo()
| pulsar::EncryptionKeyInfo::EncryptionKeyInfo |
( |
std::string |
key, |
|
|
StringMap & |
metadata |
|
) |
| |
EncryptionKeyInfo contains the encryption key and corresponding metadata which contains additional information about the key, such as version and timestamp.
◆ getKey()
| std::string & pulsar::EncryptionKeyInfo::getKey |
( |
| ) |
|
- Returns
- the key of the message
◆ getMetadata()
| StringMap & pulsar::EncryptionKeyInfo::getMetadata |
( |
void |
| ) |
|
- Returns
- the metadata information
◆ setKey()
| void pulsar::EncryptionKeyInfo::setKey |
( |
std::string |
key | ) |
|
Set the key of the message for routing policy
- Parameters
-
| Key | the key of the message for routing policy |
◆ setMetadata()
| void pulsar::EncryptionKeyInfo::setMetadata |
( |
StringMap & |
metadata | ) |
|
Set metadata information
- Parameters
-
| Metadata | the information of metadata |
The documentation for this class was generated from the following file: