org.apache.commons.openpgp
Interface KeyRing

All Known Implementing Classes:
BouncyCastleKeyRing

public interface KeyRing

Interface describing a key ring for use in signing or verifying data.

Author:
Brett Porter

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 char[] getPassword()
           
 org.bouncycastle.openpgp.PGPPublicKey getPublicKey(long keyId)
           
 org.bouncycastle.openpgp.PGPPublicKey getPublicKey(java.lang.String keyId)
           
 org.bouncycastle.openpgp.PGPSecretKey getSecretKey(long keyId)
           
 org.bouncycastle.openpgp.PGPSecretKey getSecretKey(java.lang.String keyId)
           
 

Field Detail

ROLE

static final java.lang.String ROLE
Method Detail

getPassword

char[] getPassword()
Returns:

getSecretKey

org.bouncycastle.openpgp.PGPSecretKey getSecretKey(java.lang.String keyId)
Parameters:
keyId -
Returns:

getPublicKey

org.bouncycastle.openpgp.PGPPublicKey getPublicKey(java.lang.String keyId)
Parameters:
keyId -
Returns:

getSecretKey

org.bouncycastle.openpgp.PGPSecretKey getSecretKey(long keyId)
Parameters:
keyId -
Returns:

getPublicKey

org.bouncycastle.openpgp.PGPPublicKey getPublicKey(long keyId)
Parameters:
keyId -
Returns: