public class BcPGPObjectFactory extends PGPObjectFactory
PGPObjectFactory
that uses the Bouncy Castle lightweight API to implement cryptographic
primitives.Constructor and Description |
---|
BcPGPObjectFactory(byte[] encoded)
Construct an object factory to read PGP objects from encoded data.
|
BcPGPObjectFactory(java.io.InputStream in)
Construct an object factory to read PGP objects from a stream.
|
iterator, nextObject, setThrowForUnknownCriticalPackets
public BcPGPObjectFactory(byte[] encoded)
encoded
- the PGP encoded data.public BcPGPObjectFactory(java.io.InputStream in)
in
- the stream containing PGP encoded objects.