public class SymmetricEncryptionConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SYMMETRIC_PASSWORD
Default symmetric encryption password
|
static String |
DEFAULT_SYMMETRIC_SALT
Default symmetric encryption salt
|
Constructor and Description |
---|
SymmetricEncryptionConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
int |
getIterationCount() |
byte[] |
getKey() |
String |
getPassword() |
String |
getSalt() |
boolean |
isEnabled() |
SymmetricEncryptionConfig |
setAlgorithm(String algorithm) |
SymmetricEncryptionConfig |
setEnabled(boolean enabled) |
SymmetricEncryptionConfig |
setIterationCount(int iterationCount) |
SymmetricEncryptionConfig |
setKey(byte[] key) |
SymmetricEncryptionConfig |
setPassword(String password) |
SymmetricEncryptionConfig |
setSalt(String salt) |
String |
toString() |
public static final String DEFAULT_SYMMETRIC_PASSWORD
public static final String DEFAULT_SYMMETRIC_SALT
public boolean isEnabled()
public SymmetricEncryptionConfig setEnabled(boolean enabled)
public String getAlgorithm()
public SymmetricEncryptionConfig setAlgorithm(String algorithm)
public String getPassword()
public SymmetricEncryptionConfig setPassword(String password)
public String getSalt()
public SymmetricEncryptionConfig setSalt(String salt)
public int getIterationCount()
public SymmetricEncryptionConfig setIterationCount(int iterationCount)
public byte[] getKey()
public SymmetricEncryptionConfig setKey(byte[] key)
Copyright © 2018 Hazelcast, Inc.. All rights reserved.