diff options
Diffstat (limited to 'pg/src/main/java/org/bouncycastle/openpgp/jcajce/JcaPGPObjectFactory.java')
-rw-r--r-- | pg/src/main/java/org/bouncycastle/openpgp/jcajce/JcaPGPObjectFactory.java | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/pg/src/main/java/org/bouncycastle/openpgp/jcajce/JcaPGPObjectFactory.java b/pg/src/main/java/org/bouncycastle/openpgp/jcajce/JcaPGPObjectFactory.java deleted file mode 100644 index bff681ab..00000000 --- a/pg/src/main/java/org/bouncycastle/openpgp/jcajce/JcaPGPObjectFactory.java +++ /dev/null @@ -1,35 +0,0 @@ -package org.bouncycastle.openpgp.jcajce; - -import java.io.ByteArrayInputStream; -import java.io.InputStream; - -import org.bouncycastle.openpgp.PGPObjectFactory; -import org.bouncycastle.openpgp.operator.jcajce.JcaKeyFingerprintCalculator; - -/** - * {@link PGPObjectFactory} that uses the sources cryptographic primitives from the JCA API. - */ -public class JcaPGPObjectFactory - extends PGPObjectFactory -{ - /** - * Construct an object factory to read PGP objects from encoded data. - * - * @param encoded the PGP encoded data. - */ - public JcaPGPObjectFactory(byte[] encoded) - { - this(new ByteArrayInputStream(encoded)); - } - - /** - * Construct an object factory to read PGP objects from a stream. - * - * @param in the stream containing PGP encoded objects. - */ - public JcaPGPObjectFactory(InputStream in) - { - // FIXME: Convert this to builder style so we can set provider? - super(in, new JcaKeyFingerprintCalculator()); - } -} |