public abstract class PGPKeyRing
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
abstract void |
encode(java.io.OutputStream outStream) |
abstract byte[] |
getEncoded() |
abstract PGPPublicKey |
getPublicKey()
Return the first public key in the ring.
|
abstract PGPPublicKey |
getPublicKey(long keyID)
Return the public key referred to by the passed in keyID if it
is present.
|
abstract java.util.Iterator |
getPublicKeys()
Return an iterator containing all the public keys.
|
public abstract PGPPublicKey getPublicKey()
PGPSecretKeyRing
this is also the public key of the master key pair.public abstract java.util.Iterator getPublicKeys()
public abstract PGPPublicKey getPublicKey(long keyID)
keyID - public abstract void encode(java.io.OutputStream outStream)
throws java.io.IOException
java.io.IOExceptionpublic abstract byte[] getEncoded()
throws java.io.IOException
java.io.IOException