Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.net.security
Class AbstractEncryptionFilter

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.net.security.AbstractEncryptionFilter

All Implemented Interfaces:
WrapperStreamFactory, XmlConfigurable
Direct Known Subclasses:
AsymmetricEncryptionFilter, SymmetricEncryptionFilter

Deprecated. As of Coherence 3.7, deprecated with no replacement.

@Deprecated
public abstract class AbstractEncryptionFilter
extends Base
implements WrapperStreamFactory, XmlConfigurable

Abstract implementation of a JCE-based EncryptionFilter.

Author:
mf 2006.08.08

Field Summary
static java.lang.String DEFAULT_KEYSTORE_PATH
          Deprecated. Default KeyStore path
static java.lang.String DEFAULT_KEYSTORE_TYPE
          Deprecated. Default KeyStore type
protected  java.security.spec.AlgorithmParameterSpec m_specCipherParams
          Deprecated. The Cipher Paramaters
protected  java.lang.String m_sTransformation
          Deprecated. The Cipher transformation
protected  java.lang.ThreadLocal m_tlsCipher
          Deprecated. Reuseable Cipher

 

Constructor Summary
AbstractEncryptionFilter()
          Deprecated.  

 

Method Summary
static java.lang.SecurityException ensureSecurityException(java.lang.Throwable e)
          Deprecated. Convert the passed exception to a SecurityException if necessary.
static java.lang.SecurityException ensureSecurityException(java.lang.Throwable e, java.lang.String s)
          Deprecated. Convert the passed exception to a SecurityException if necessary.
protected  javax.crypto.Cipher getCipher(int nMode, java.security.Key key)
          Deprecated. Return a cached thread-local initialized Cipher.
protected  java.security.spec.AlgorithmParameterSpec getCipherParams()
          Deprecated. Return the Cipher's parameters
protected  java.lang.String getCipherTransformation()
          Deprecated. Return the Cipher's transformation
 XmlElement getConfig()
          Deprecated. Determine the current configuration of the object.
static java.security.KeyStore getKeyStore(java.lang.String sType, java.lang.String sPath, char[] acPassword)
          Deprecated. Return a loaded KeyStore.
protected  javax.crypto.Cipher makeCipher(int nMode, java.security.Key key)
          Deprecated. Return a new initialized Cipher.
protected  void setCipherParams(java.security.spec.AlgorithmParameterSpec spec)
          Deprecated. Specify the Cipher's parameters.
protected  void setCipherTransformation(java.lang.String sTransformation)
          Deprecated. Specify the Cipher's transformation.

 

Methods inherited from interface com.tangosol.io.WrapperStreamFactory
getInputStream, getOutputStream

 

Methods inherited from interface com.tangosol.run.xml.XmlConfigurable
setConfig

 

Field Detail

m_sTransformation

protected java.lang.String m_sTransformation
Deprecated. 
The Cipher transformation

m_specCipherParams

protected java.security.spec.AlgorithmParameterSpec m_specCipherParams
Deprecated. 
The Cipher Paramaters

m_tlsCipher

protected java.lang.ThreadLocal m_tlsCipher
Deprecated. 
Reuseable Cipher

DEFAULT_KEYSTORE_TYPE

public static final java.lang.String DEFAULT_KEYSTORE_TYPE
Deprecated. 
Default KeyStore type
See Also:
Constant Field Values

DEFAULT_KEYSTORE_PATH

public static final java.lang.String DEFAULT_KEYSTORE_PATH
Deprecated. 
Default KeyStore path
See Also:
Constant Field Values

Constructor Detail

AbstractEncryptionFilter

public AbstractEncryptionFilter()
Deprecated. 

Method Detail

setCipherParams

protected void setCipherParams(java.security.spec.AlgorithmParameterSpec spec)
Deprecated. 
Specify the Cipher's parameters.
Parameters:
spec - the Cipher's parameters

getCipherParams

protected java.security.spec.AlgorithmParameterSpec getCipherParams()
Deprecated. 
Return the Cipher's parameters
Returns:
the Cipher's parameters

setCipherTransformation

protected void setCipherTransformation(java.lang.String sTransformation)
Deprecated. 
Specify the Cipher's transformation.
Parameters:
sTransformation - the Cipher's transformation

getCipherTransformation

protected java.lang.String getCipherTransformation()
Deprecated. 
Return the Cipher's transformation
Returns:
the Cipher's transformation

makeCipher

protected javax.crypto.Cipher makeCipher(int nMode,
                                         java.security.Key key)
Deprecated. 
Return a new initialized Cipher.
Parameters:
nMode - the encryption mode
key - the encryption key
Returns:
the new cipher

getCipher

protected javax.crypto.Cipher getCipher(int nMode,
                                        java.security.Key key)
Deprecated. 
Return a cached thread-local initialized Cipher.
Parameters:
nMode - the encryption mode
key - the encryption key
Returns:
a Cipher

getKeyStore

public static java.security.KeyStore getKeyStore(java.lang.String sType,
                                                 java.lang.String sPath,
                                                 char[] acPassword)
Deprecated. 
Return a loaded KeyStore.
Parameters:
sType - the KeyStore type
sPath - the path to the KeyStore
acPassword - the KeyStore password
Returns:
the loaded KeyStore

ensureSecurityException

public static java.lang.SecurityException ensureSecurityException(java.lang.Throwable e)
Deprecated. 
Convert the passed exception to a SecurityException if necessary.
Parameters:
e - the exception to wrap
Returns:
an instance of a SecurityException

ensureSecurityException

public static java.lang.SecurityException ensureSecurityException(java.lang.Throwable e,
                                                                  java.lang.String s)
Deprecated. 
Convert the passed exception to a SecurityException if necessary.
Parameters:
e - the exception to wrap
s - an additional description
Returns:
an instance of a SecurityException

getConfig

public XmlElement getConfig()
Deprecated. 
Description copied from interface: XmlConfigurable
Determine the current configuration of the object.
Specified by:
getConfig in interface XmlConfigurable
Returns:
the XML configuration or null

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.