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