JcaPGPObjectFactory
Date: 2016-06-23

org.bouncycastle.openpgp.jcajce

## Class JcaPGPObjectFactory

- java.lang.Object
- - org.bouncycastle.openpgp.PGPObjectFactory
  - - org.bouncycastle.openpgp.jcajce.JcaPGPObjectFactory

- All Implemented Interfaces:
    java.lang.Iterable

      public class JcaPGPObjectFactory
      extends PGPObjectFactory

  `PGPObjectFactory` that uses the sources cryptographic primitives from the JCA API.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JcaPGPObjectFactory(byte[] encoded)` Construct an object factory to read PGP objects from encoded data.
    `JcaPGPObjectFactory(java.io.InputStream in)` Construct an object factory to read PGP objects from a stream.

  - ### Method Summary

    - ### Methods inherited from class org.bouncycastle.openpgp.PGPObjectFactory

      `iterator, nextObject`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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(java.io.InputStream in)

      Construct an object factory to read PGP objects from a stream.
      Parameters:
        `in` - the stream containing PGP encoded objects.