Package com.hazelcast.config
Class EncryptionAtRestConfig
- java.lang.Object
-
- com.hazelcast.config.AbstractSymmetricEncryptionConfig<EncryptionAtRestConfig>
-
- com.hazelcast.config.EncryptionAtRestConfig
-
public class EncryptionAtRestConfig extends AbstractSymmetricEncryptionConfig<EncryptionAtRestConfig>
Contains configuration for the Hot Restart Persistence at Rest encryption
-
-
Field Summary
-
Fields inherited from class com.hazelcast.config.AbstractSymmetricEncryptionConfig
DEFAULT_SYMMETRIC_ALGORITHM, DEFAULT_SYMMETRIC_SALT
-
-
Constructor Summary
Constructors Constructor Description EncryptionAtRestConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
getKeySize()
Returns the size (in bits) of the Hot Restart Store-level encryption key.SecureStoreConfig
getSecureStoreConfig()
Returns the Secure Store configuration.int
hashCode()
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).EncryptionAtRestConfig
setSecureStoreConfig(SecureStoreConfig secureStoreConfig)
Sets the Secure Store configuration.java.lang.String
toString()
-
Methods inherited from class com.hazelcast.config.AbstractSymmetricEncryptionConfig
getAlgorithm, getSalt, isEnabled, setAlgorithm, setEnabled, setSalt
-
-
-
-
Method Detail
-
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 java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-