Class EncryptionKeyInfo

java.lang.Object
org.apache.pulsar.client.api.EncryptionKeyInfo

@Private @Stable public class EncryptionKeyInfo extends Object
EncryptionKeyInfo contains the encryption key and corresponding metadata which contains additional information about the key such as version, timestamp.
  • Constructor Details

    • EncryptionKeyInfo

      public EncryptionKeyInfo()
    • EncryptionKeyInfo

      public EncryptionKeyInfo(byte[] key, Map<String,String> metadata)
  • Method Details

    • getKey

      public byte[] getKey()
    • setKey

      public void setKey(byte[] key)
    • getMetadata

      public Map<String,String> getMetadata()
    • setMetadata

      public void setMetadata(Map<String,String> metadata)