Class MongoDataKeyOptions


  • public class MongoDataKeyOptions
    extends java.lang.Object
    The options for creation of a data key
    • Method Detail

      • getKeyAltNames

        public java.util.List<java.lang.String> getKeyAltNames()
        Gets the alternate key names for the data key.
        Returns:
        the alternate key names
      • getMasterKey

        public org.bson.BsonDocument getMasterKey()
        Gets the master key for the data key.
        Returns:
        the master key
      • getKeyMaterial

        public byte[] getKeyMaterial()
        Gets the custom key material if set.
        Returns:
        the custom key material for the data key or null
        Since:
        1.5