diff options
Diffstat (limited to 'pg/src/main/java/org/spongycastle/openpgp/jcajce/JcaPGPSecretKeyRing.java')
-rw-r--r-- | pg/src/main/java/org/spongycastle/openpgp/jcajce/JcaPGPSecretKeyRing.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pg/src/main/java/org/spongycastle/openpgp/jcajce/JcaPGPSecretKeyRing.java b/pg/src/main/java/org/spongycastle/openpgp/jcajce/JcaPGPSecretKeyRing.java new file mode 100644 index 00000000..9e1395a6 --- /dev/null +++ b/pg/src/main/java/org/spongycastle/openpgp/jcajce/JcaPGPSecretKeyRing.java @@ -0,0 +1,27 @@ +package org.spongycastle.openpgp.jcajce; + +import java.io.IOException; +import java.io.InputStream; + +import org.spongycastle.openpgp.PGPException; +import org.spongycastle.openpgp.PGPSecretKeyRing; +import org.spongycastle.openpgp.operator.KeyFingerPrintCalculator; +import org.spongycastle.openpgp.operator.jcajce.JcaKeyFingerprintCalculator; + +public class JcaPGPSecretKeyRing + extends PGPSecretKeyRing +{ + private static KeyFingerPrintCalculator fingerPrintCalculator = new JcaKeyFingerprintCalculator(); + + public JcaPGPSecretKeyRing(byte[] encoding) + throws IOException, PGPException + { + super(encoding, fingerPrintCalculator); + } + + public JcaPGPSecretKeyRing(InputStream in) + throws IOException, PGPException + { + super(in, fingerPrintCalculator); + } +} |