Class BcPGPObjectFactory
java.lang.Object
org.bouncycastle.openpgp.PGPObjectFactory
org.bouncycastle.openpgp.bc.BcPGPObjectFactory
PGPObjectFactory that uses the Bouncy Castle lightweight API to implement cryptographic
primitives.-
Constructor Summary
ConstructorsConstructorDescriptionBcPGPObjectFactory(byte[] encoded) Construct an object factory to read PGP objects from encoded data.Construct an object factory to read PGP objects from a stream. -
Method Summary
Methods inherited from class PGPObjectFactory
iterator, nextObject, setThrowForUnknownCriticalPacketsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
BcPGPObjectFactory
public BcPGPObjectFactory(byte[] encoded) Construct an object factory to read PGP objects from encoded data.- Parameters:
encoded- the PGP encoded data.
-
BcPGPObjectFactory
Construct an object factory to read PGP objects from a stream.- Parameters:
in- the stream containing PGP encoded objects.
-