org.mule.module.pgp
Class KeyBasedEncryptionStrategy
java.lang.Object
org.mule.security.AbstractNamedEncryptionStrategy
org.mule.module.pgp.KeyBasedEncryptionStrategy
- All Implemented Interfaces:
- EncryptionStrategy, Initialisable, NamedObject
public class KeyBasedEncryptionStrategy
- extends AbstractNamedEncryptionStrategy
|
Field Summary |
protected static org.apache.commons.logging.Log |
logger
logger used by this class |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.commons.logging.Log logger
- logger used by this class
KeyBasedEncryptionStrategy
public KeyBasedEncryptionStrategy()
initialise
public void initialise()
throws InitialisationException
- Throws:
InitialisationException
encrypt
public InputStream encrypt(InputStream data,
Object cryptInfo)
throws CryptoFailureException
- Throws:
CryptoFailureException
decrypt
public InputStream decrypt(InputStream data,
Object cryptInfo)
throws CryptoFailureException
- Throws:
CryptoFailureException
getKeyManager
public PGPKeyRing getKeyManager()
setKeyManager
public void setKeyManager(PGPKeyRing keyManager)
getCredentialsAccessor
public CredentialsAccessor getCredentialsAccessor()
setCredentialsAccessor
public void setCredentialsAccessor(CredentialsAccessor credentialsAccessor)
isCheckKeyExpirity
public boolean isCheckKeyExpirity()
setCheckKeyExpirity
public void setCheckKeyExpirity(boolean checkKeyExpirity)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.