Class BcPGPObjectFactory

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

    public class BcPGPObjectFactory
    extends PGPObjectFactory
    PGPObjectFactory that uses the Bouncy Castle lightweight API to implement cryptographic primitives.
    • Constructor Summary

      Constructors 
      Constructor 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.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • BcPGPObjectFactory

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

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