public class PGPKeyRingImpl extends Object implements PGPKeyRing, Initialisable
Modifier and Type | Field and Description |
---|---|
protected static Log |
logger |
PHASE_NAME
Constructor and Description |
---|
PGPKeyRingImpl() |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.openpgp.PGPPublicKey |
getPublicKey(String principalId) |
String |
getPublicKeyRingFileName() |
String |
getSecretAliasId() |
org.bouncycastle.openpgp.PGPSecretKey |
getSecretKey() |
String |
getSecretKeyRingFileName() |
String |
getSecretPassphrase() |
void |
initialise()
Method used to perform any initialisation work.
|
void |
setPublicKeyRingFileName(String value) |
void |
setSecretAliasId(String value) |
void |
setSecretKeyRingFileName(String value) |
void |
setSecretPassphrase(String value) |
protected static final Log logger
public void initialise() throws InitialisationException
Initialisable
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.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic String getSecretKeyRingFileName()
public void setSecretKeyRingFileName(String value)
public String getSecretAliasId()
public void setSecretAliasId(String value)
public String getSecretPassphrase()
getSecretPassphrase
in interface PGPKeyRing
public void setSecretPassphrase(String value)
public org.bouncycastle.openpgp.PGPSecretKey getSecretKey()
getSecretKey
in interface PGPKeyRing
public String getPublicKeyRingFileName()
public void setPublicKeyRingFileName(String value)
public org.bouncycastle.openpgp.PGPPublicKey getPublicKey(String principalId)
getPublicKey
in interface PGPKeyRing
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.