Class EncryptionAtRestConfig


public class EncryptionAtRestConfig extends AbstractSymmetricEncryptionConfig<EncryptionAtRestConfig>
Contains configuration for the Hot Restart Persistence at Rest encryption
  • Constructor Details

    • EncryptionAtRestConfig

      public EncryptionAtRestConfig()
  • Method Details

    • getKeySize

      public int getKeySize()
      Returns the size (in bits) of the Hot Restart Store-level encryption key.
      Returns:
      the encryption key size in bits
    • setKeySize

      public EncryptionAtRestConfig setKeySize(int keySize)
      Sets the size (in bits) of the Hot Restart Store-level encryption key (non-positive value implies falling back to the cipher-specific default key length).
      Parameters:
      keySize - the encryption key size in bits
      Returns:
      the updated config instance
    • getSecureStoreConfig

      public SecureStoreConfig getSecureStoreConfig()
      Returns the Secure Store configuration.
      Returns:
      the Secure Store configuration
    • setSecureStoreConfig

      public EncryptionAtRestConfig setSecureStoreConfig(SecureStoreConfig secureStoreConfig)
      Sets the Secure Store configuration.
      Parameters:
      secureStoreConfig - the Secure Store configuration
      Returns:
      the updated config instance
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object