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 -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanintReturns the size (in bits) of the Hot Restart Store-level encryption key.Returns the Secure Store configuration.final inthashCode()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).setSecureStoreConfig(SecureStoreConfig secureStoreConfig) Sets the Secure Store configuration.toString()Methods inherited from class com.hazelcast.config.AbstractSymmetricEncryptionConfig
getAlgorithm, getSalt, isEnabled, setAlgorithm, setEnabled, setSalt
-
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
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
Returns the Secure Store configuration.- Returns:
- the Secure Store configuration
-
setSecureStoreConfig
Sets the Secure Store configuration.- Parameters:
secureStoreConfig- the Secure Store configuration- Returns:
- the updated config instance
-
toString
-
equals
-
hashCode
public final int hashCode()
-