public class BouncyCastleKeyRing extends java.lang.Object implements KeyRing
| Constructor and Description |
|---|
BouncyCastleKeyRing(java.io.InputStream secretKeyRingStream,
java.io.InputStream publicKeyRingStream,
char[] password) |
| Modifier and Type | Method and Description |
|---|---|
char[] |
getPassword() |
org.bouncycastle.openpgp.PGPPublicKey |
getPublicKey(long keyId) |
org.bouncycastle.openpgp.PGPPublicKey |
getPublicKey(java.lang.String keyId) |
org.bouncycastle.openpgp.PGPSecretKey |
getSecretKey(long keyId) |
org.bouncycastle.openpgp.PGPSecretKey |
getSecretKey(java.lang.String keyId) |
public BouncyCastleKeyRing(java.io.InputStream secretKeyRingStream,
java.io.InputStream publicKeyRingStream,
char[] password)
throws java.io.IOException,
org.bouncycastle.openpgp.PGPException
java.io.IOExceptionorg.bouncycastle.openpgp.PGPExceptionpublic char[] getPassword()
getPassword in interface KeyRingpublic org.bouncycastle.openpgp.PGPSecretKey getSecretKey(java.lang.String keyId)
getSecretKey in interface KeyRingpublic org.bouncycastle.openpgp.PGPPublicKey getPublicKey(java.lang.String keyId)
getPublicKey in interface KeyRingpublic org.bouncycastle.openpgp.PGPSecretKey getSecretKey(long keyId)
getSecretKey in interface KeyRingpublic org.bouncycastle.openpgp.PGPPublicKey getPublicKey(long keyId)
getPublicKey in interface KeyRing