Class JcaPGPObjectFactory

  • All Implemented Interfaces:
    Iterable, org.bouncycastle.util.Iterable

    public class JcaPGPObjectFactory
    extends PGPObjectFactory
    PGPObjectFactory that uses the sources cryptographic primitives from the JCA API.
    • Constructor Detail

      • JcaPGPObjectFactory

        public JcaPGPObjectFactory​(byte[] encoded)
        Construct an object factory to read PGP objects from encoded data.
        Parameters:
        encoded - the PGP encoded data.
      • JcaPGPObjectFactory

        public JcaPGPObjectFactory​(InputStream in)
        Construct an object factory to read PGP objects from a stream.
        Parameters:
        in - the stream containing PGP encoded objects.