35struct PULSAR_PUBLIC EncryptionKey {
38 std::unordered_map<std::string, std::string> metadata;
40 EncryptionKey(
const std::string& key,
const std::string& value,
41 const decltype(EncryptionKey::metadata)& metadata)
42 : key(key), value(value), metadata(metadata) {}
int32_t batchSize() const noexcept
Definition EncryptionContext.h:81
CompressionType compressionType() const noexcept
Definition EncryptionContext.h:71
uint32_t uncompressedMessageSize() const noexcept
Definition EncryptionContext.h:76
const std::string & param() const noexcept
Definition EncryptionContext.h:61
const KeysType & keys() const noexcept
Definition EncryptionContext.h:56
const std::string & algorithm() const noexcept
Definition EncryptionContext.h:66
bool isDecryptionFailed() const noexcept
Definition EncryptionContext.h:90
EncryptionContext(const proto::MessageMetadata &, bool)