public class SymmetricEncryptionConfig extends Object implements DataSerializable
Constructor and Description |
---|
SymmetricEncryptionConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
int |
getIterationCount() |
byte[] |
getKey() |
String |
getPassword() |
String |
getSalt() |
boolean |
isEnabled() |
void |
readData(DataInput in) |
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() |
void |
writeData(DataOutput out) |
public boolean isEnabled()
public SymmetricEncryptionConfig setEnabled(boolean enabled)
public String getSalt()
public SymmetricEncryptionConfig setSalt(String salt)
public String getPassword()
public SymmetricEncryptionConfig setPassword(String password)
public int getIterationCount()
public SymmetricEncryptionConfig setIterationCount(int iterationCount)
public String getAlgorithm()
public SymmetricEncryptionConfig setAlgorithm(String algorithm)
public byte[] getKey()
public SymmetricEncryptionConfig setKey(byte[] key)
public void writeData(DataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(DataInput in) throws IOException
readData
in interface DataSerializable
IOException
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.