com.hazelcast.config
Class SymmetricEncryptionConfig
java.lang.Object
com.hazelcast.config.SymmetricEncryptionConfig
- All Implemented Interfaces:
- DataSerializable, Serializable
public class SymmetricEncryptionConfig
- extends Object
- implements DataSerializable
- See Also:
- Serialized Form
SymmetricEncryptionConfig
public SymmetricEncryptionConfig()
isEnabled
public boolean isEnabled()
setEnabled
public SymmetricEncryptionConfig setEnabled(boolean enabled)
getSalt
public String getSalt()
setSalt
public SymmetricEncryptionConfig setSalt(String salt)
getPassword
public String getPassword()
setPassword
public SymmetricEncryptionConfig setPassword(String password)
getIterationCount
public int getIterationCount()
setIterationCount
public SymmetricEncryptionConfig setIterationCount(int iterationCount)
getAlgorithm
public String getAlgorithm()
setAlgorithm
public SymmetricEncryptionConfig setAlgorithm(String algorithm)
getKey
public byte[] getKey()
setKey
public SymmetricEncryptionConfig setKey(byte[] key)
toString
public String toString()
- Overrides:
toString
in class Object
writeData
public void writeData(DataOutput out)
throws IOException
- Specified by:
writeData
in interface DataSerializable
- Throws:
IOException
readData
public void readData(DataInput in)
throws IOException
- Specified by:
readData
in interface DataSerializable
- Throws:
IOException
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.