|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.net.security.AbstractEncryptionFilter
public abstract class AbstractEncryptionFilter
Abstract implementation of a JCE-based EncryptionFilter.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_KEYSTORE_PATH
Default KeyStore path |
static java.lang.String |
DEFAULT_KEYSTORE_TYPE
Default KeyStore type |
protected java.security.spec.AlgorithmParameterSpec |
m_specCipherParams
The Cipher Paramaters |
protected java.lang.String |
m_sTransformation
The Cipher transformation |
protected java.lang.ThreadLocal |
m_tlsCipher
Reuseable Cipher |
| Constructor Summary | |
|---|---|
AbstractEncryptionFilter()
|
|
| Method Summary | |
|---|---|
static java.lang.SecurityException |
ensureSecurityException(java.lang.Throwable e)
Convert the passed exception to a SecurityException if necessary. |
static java.lang.SecurityException |
ensureSecurityException(java.lang.Throwable e,
java.lang.String s)
Convert the passed exception to a SecurityException if necessary. |
protected javax.crypto.Cipher |
getCipher(int nMode,
java.security.Key key)
Return a cached thread-local initialized Cipher. |
protected java.security.spec.AlgorithmParameterSpec |
getCipherParams()
Return the Cipher's parameters |
protected java.lang.String |
getCipherTransformation()
Return the Cipher's transformation |
XmlElement |
getConfig()
Determine the current configuration of the object. |
static java.security.KeyStore |
getKeyStore(java.lang.String sType,
java.lang.String sPath,
char[] acPassword)
Return a loaded KeyStore. |
protected javax.crypto.Cipher |
makeCipher(int nMode,
java.security.Key key)
Return a new initialized Cipher. |
protected void |
setCipherParams(java.security.spec.AlgorithmParameterSpec spec)
Specify the Cipher's parameters. |
protected void |
setCipherTransformation(java.lang.String sTransformation)
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 |
|---|
protected java.lang.String m_sTransformation
protected java.security.spec.AlgorithmParameterSpec m_specCipherParams
protected java.lang.ThreadLocal m_tlsCipher
public static final java.lang.String DEFAULT_KEYSTORE_TYPE
public static final java.lang.String DEFAULT_KEYSTORE_PATH
| Constructor Detail |
|---|
public AbstractEncryptionFilter()
| Method Detail |
|---|
protected void setCipherParams(java.security.spec.AlgorithmParameterSpec spec)
spec - the Cipher's parametersprotected java.security.spec.AlgorithmParameterSpec getCipherParams()
protected void setCipherTransformation(java.lang.String sTransformation)
sTransformation - the Cipher's transformationprotected java.lang.String getCipherTransformation()
protected javax.crypto.Cipher makeCipher(int nMode,
java.security.Key key)
nMode - the encryption modekey - the encryption key
protected javax.crypto.Cipher getCipher(int nMode,
java.security.Key key)
nMode - the encryption modekey - the encryption key
public static java.security.KeyStore getKeyStore(java.lang.String sType,
java.lang.String sPath,
char[] acPassword)
sType - the KeyStore typesPath - the path to the KeyStoreacPassword - the KeyStore password
public static java.lang.SecurityException ensureSecurityException(java.lang.Throwable e)
e - the exception to wrap
public static java.lang.SecurityException ensureSecurityException(java.lang.Throwable e,
java.lang.String s)
e - the exception to wraps - an additional description
public XmlElement getConfig()
XmlConfigurable
getConfig in interface XmlConfigurable
|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||