Top Description Constructors Methods
org.bouncycastle.openpgp.bc

public Class BcPGPObjectFactory

extends PGPObjectFactory
Class Inheritance
Imports
java.io.ByteArrayInputStream, .InputStream, org.bouncycastle.openpgp.PGPObjectFactory, org.bouncycastle.openpgp.operator.bc.BcKeyFingerprintCalculator

PGPObjectFactory that uses the Bouncy Castle lightweight API to implement cryptographic primitives.

Constructor Summary

AccessConstructor and Description
public
BcPGPObjectFactory(byte[]
the PGP encoded data.
encoded
)

Construct an object factory to read PGP objects from encoded data.

public
BcPGPObjectFactory(InputStream
the stream containing PGP encoded objects.
in
)

Construct an object factory to read PGP objects from a stream.

Method Summary

Inherited from org.bouncycastle.openpgp.PGPObjectFactory:
iteratornextObjectsetThrowForUnknownCriticalPackets

Constructor Detail

BcPGPObjectFactoryback to summary
public BcPGPObjectFactory(byte[] encoded)

Construct an object factory to read PGP objects from encoded data.

Parameters
encoded:byte[]

the PGP encoded data.

BcPGPObjectFactoryback to summary
public BcPGPObjectFactory(InputStream in)

Construct an object factory to read PGP objects from a stream.

Parameters
in:InputStream

the stream containing PGP encoded objects.