Class EncryptionKeyInfo


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

      Constructors 
      Constructor Description
      EncryptionKeyInfo()  
      EncryptionKeyInfo​(byte[] key, java.util.Map<java.lang.String,​java.lang.String> metadata)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getKey()  
      java.util.Map<java.lang.String,​java.lang.String> getMetadata()  
      void setKey​(byte[] key)  
      void setMetadata​(java.util.Map<java.lang.String,​java.lang.String> metadata)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EncryptionKeyInfo

        public EncryptionKeyInfo()
      • EncryptionKeyInfo

        public EncryptionKeyInfo​(byte[] key,
                                 java.util.Map<java.lang.String,​java.lang.String> metadata)
    • Method Detail

      • getKey

        public byte[] getKey()
      • setKey

        public void setKey​(byte[] key)
      • getMetadata

        public java.util.Map<java.lang.String,​java.lang.String> getMetadata()
      • setMetadata

        public void setMetadata​(java.util.Map<java.lang.String,​java.lang.String> metadata)