public class PGPObjectFactory
extends java.lang.Object
Note: if this class finds a PGPPublicKey or a PGPSecretKey it will create a PGPPublicKeyRing, or a PGPSecretKeyRing for each key found. If all you are trying to do is read a key ring file use either PGPPublicKeyRingCollection or PGPSecretKeyRingCollection.
Constructor and Description |
---|
PGPObjectFactory(byte[] bytes) |
PGPObjectFactory(java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
nextObject()
Return the next object in the stream, or null if the end is reached.
|