CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.net.security
Class PasswordBasedEncryptionFilter

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.net.security.AbstractEncryptionFilter
          extended by com.tangosol.net.security.SymmetricEncryptionFilter
              extended by com.tangosol.net.security.PasswordBasedEncryptionFilter
All Implemented Interfaces:
WrapperStreamFactory, XmlConfigurable

public class PasswordBasedEncryptionFilter
extends SymmetricEncryptionFilter

Provides a password-based symmetric encryption wrapper for an InputStream and OutputStream.

Author:
dr/mf 2006.07.28
See Also:
setConfig(com.tangosol.run.xml.XmlElement), PKCS #5

Field Summary
 
Fields inherited from class com.tangosol.net.security.SymmetricEncryptionFilter
DEFAULT_ALGORITHM, DEFAULT_KEY_LENGTH, DEFAULT_KEYSTORE_TYPE, m_key
 
Fields inherited from class com.tangosol.net.security.AbstractEncryptionFilter
DEFAULT_KEYSTORE_PATH, m_specCipherParams, m_sTransformation, m_tlsCipher
 
Constructor Summary
PasswordBasedEncryptionFilter()
           
 
Method Summary
 void setConfig(XmlElement xml)
          Configures the Encryption filter for password based encryption.
 
Methods inherited from class com.tangosol.net.security.SymmetricEncryptionFilter
generateKey, getInputStream, getKey, getOutputStream, main, setKey
 
Methods inherited from class com.tangosol.net.security.AbstractEncryptionFilter
ensureSecurityException, ensureSecurityException, getCipher, getCipherParams, getCipherTransformation, getConfig, getKeyStore, makeCipher, setCipherParams, setCipherTransformation
 

Constructor Detail

PasswordBasedEncryptionFilter

public PasswordBasedEncryptionFilter()
Method Detail

setConfig

public void setConfig(XmlElement xml)
Configures the Encryption filter for password based encryption.

Supported configuration elements include:

Specified by:
setConfig in interface XmlConfigurable
Overrides:
setConfig in class SymmetricEncryptionFilter
Parameters:
xml - the XML configuration for the object

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation