Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Tyley <roberto.tyley@gmail.com>2014-07-15 01:38:01 +0400
committerRoberto Tyley <roberto.tyley@gmail.com>2014-07-26 11:23:17 +0400
commit7cb752aaf746dc0b473afeb9e892b7fbc12666c5 (patch)
treecc4f91ddc18332b5adbe82e3fcb040d976c90105 /pg/src/main/java/org/bouncycastle/openpgp/jcajce/JcaPGPObjectFactory.java
parent551830f8ea5177042af2c7dd1fc90888bc67387d (diff)
Execute become-spongy.sh
https://github.com/rtyley/spongycastle/blob/3040af/become-spongy.sh
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.java35
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());
- }
-}