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()
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)
getSecretKeyBundle
public cryptix.pki.KeyBundle getSecretKeyBundle()
- Specified by:
getSecretKeyBundle
in interface PGPKeyRing
getPublicKeyRingFileName
public String getPublicKeyRingFileName()
- Returns:
setPublicKeyRingFileName
public void setPublicKeyRingFileName(String value)
- Parameters:
value
-
getKeyBundle
public cryptix.pki.KeyBundle getKeyBundle(String principalId)
- Specified by:
getKeyBundle
in interface PGPKeyRing
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
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.