org.mule.module.pgp
Class PGPKeyRingImpl
java.lang.Object
org.mule.module.pgp.PGPKeyRingImpl
- All Implemented Interfaces:
- Initialisable, PGPKeyRing
public class PGPKeyRingImpl
- extends Object
- implements PGPKeyRing, Initialisable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final Log logger
PGPKeyRingImpl
public PGPKeyRingImpl()
initialise
public void initialise()
throws InitialisationException
- Description copied from interface:
Initialisable
- Method used to perform any initialisation work. If a fatal error occurs during
initialisation an
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.
- Specified by:
initialise
in interface Initialisable
- Throws:
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdown
RecoverableException
- if an error occurs that can be recovered from
getSecretKeyRingFileName
public String getSecretKeyRingFileName()
setSecretKeyRingFileName
public void setSecretKeyRingFileName(String value)
getSecretAliasId
public String getSecretAliasId()
setSecretAliasId
public void setSecretAliasId(String value)
getSecretPassphrase
public String getSecretPassphrase()
- Specified by:
getSecretPassphrase
in interface PGPKeyRing
setSecretPassphrase
public void setSecretPassphrase(String value)
getSecretKey
public org.bouncycastle.openpgp.PGPSecretKey getSecretKey()
- Specified by:
getSecretKey
in interface PGPKeyRing
getPublicKeyRingFileName
public String getPublicKeyRingFileName()
setPublicKeyRingFileName
public void setPublicKeyRingFileName(String value)
getPublicKey
public org.bouncycastle.openpgp.PGPPublicKey getPublicKey(String principalId)
- Specified by:
getPublicKey
in interface PGPKeyRing
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.