public class KeyBasedEncryptionStrategy extends AbstractNamedEncryptionStrategy
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger
logger used by this class
|
PHASE_NAME| Constructor and Description |
|---|
KeyBasedEncryptionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
decrypt(InputStream data,
Object cryptInfo) |
InputStream |
encrypt(InputStream data,
Object cryptInfo) |
CredentialsAccessor |
getCredentialsAccessor() |
PGPKeyRing |
getKeyManager() |
void |
initialise() |
boolean |
isCheckKeyExpirity() |
void |
setCheckKeyExpirity(boolean checkKeyExpirity) |
void |
setCredentialsAccessor(CredentialsAccessor credentialsAccessor) |
void |
setEncryptionAlgorithm(String encryptionAlgorithm) |
void |
setKeyManager(PGPKeyRing keyManager) |
void |
setPgpOutputMode(PGPOutputMode pgpOutputMode) |
decrypt, encrypt, getName, setNameprotected static final org.apache.commons.logging.Log logger
public void initialise()
throws InitialisationException
InitialisationExceptionpublic InputStream encrypt(InputStream data, Object cryptInfo) throws CryptoFailureException
CryptoFailureExceptionpublic InputStream decrypt(InputStream data, Object cryptInfo) throws CryptoFailureException
CryptoFailureExceptionpublic PGPKeyRing getKeyManager()
public void setKeyManager(PGPKeyRing keyManager)
public CredentialsAccessor getCredentialsAccessor()
public void setCredentialsAccessor(CredentialsAccessor credentialsAccessor)
public void setPgpOutputMode(PGPOutputMode pgpOutputMode)
public boolean isCheckKeyExpirity()
public void setCheckKeyExpirity(boolean checkKeyExpirity)
public void setEncryptionAlgorithm(String encryptionAlgorithm)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.