public class PGPObjectFactory extends 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(InputStream in) |
public PGPObjectFactory(InputStream in)
public PGPObjectFactory(byte[] bytes)
public Object nextObject() throws IOException
IOException
- on a parse error