org.mule.module.pgp
Class PGPKeyRingImpl

java.lang.Object
  extended by org.mule.module.pgp.PGPKeyRingImpl
All Implemented Interfaces:
Initialisable, PGPKeyRing

public class PGPKeyRingImpl
extends Object
implements PGPKeyRing, Initialisable


Field Summary
protected static org.apache.commons.logging.Log logger
           
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
PGPKeyRingImpl()
           
 
Method Summary
 org.bouncycastle.openpgp.PGPPublicKey getPublicKey(String principalId)
           
 String getPublicKeyRingFileName()
           
 String getSecretAliasId()
           
 org.bouncycastle.openpgp.PGPSecretKey getSecretKey()
           
 String getSecretKeyRingFileName()
           
 String getSecretPassphrase()
           
 void initialise()
           
 void setPublicKeyRingFileName(String value)
           
 void setSecretAliasId(String value)
           
 void setSecretKeyRingFileName(String value)
           
 void setSecretPassphrase(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.commons.logging.Log logger
Constructor Detail

PGPKeyRingImpl

public PGPKeyRingImpl()
Method Detail

initialise

public void initialise()
                throws InitialisationException
Specified by:
initialise in interface Initialisable
Throws:
InitialisationException

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.