com.hazelcast.config
Class SymmetricEncryptionConfig

java.lang.Object
  extended by com.hazelcast.config.SymmetricEncryptionConfig
All Implemented Interfaces:
DataSerializable, Serializable

public class SymmetricEncryptionConfig
extends Object
implements DataSerializable

See Also:
Serialized Form

Constructor Summary
SymmetricEncryptionConfig()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SymmetricEncryptionConfig

public SymmetricEncryptionConfig()
Method Detail

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.