public class PGPKeyRing extends Object
Constructor and Description |
---|
PGPKeyRing(org.bouncycastle.openpgp.PGPPublicKeyRing publicKeys) |
PGPKeyRing(org.bouncycastle.openpgp.PGPPublicKeyRing publicKeys,
org.bouncycastle.openpgp.PGPSecretKeyRing secretKeys) |
PGPKeyRing(org.bouncycastle.openpgp.PGPSecretKeyRing secretKeys) |
Modifier and Type | Method and Description |
---|---|
long |
getKeyId() |
org.bouncycastle.openpgp.PGPPublicKey |
getMasterKey() |
org.bouncycastle.openpgp.PGPPublicKeyRing |
getPublicKeys() |
org.bouncycastle.openpgp.PGPSecretKeyRing |
getSecretKeys() |
OpenPgpV4Fingerprint |
getV4Fingerprint() |
boolean |
hasSecretKeys() |
public PGPKeyRing(@Nonnull org.bouncycastle.openpgp.PGPPublicKeyRing publicKeys, @Nonnull org.bouncycastle.openpgp.PGPSecretKeyRing secretKeys)
public PGPKeyRing(@Nonnull org.bouncycastle.openpgp.PGPPublicKeyRing publicKeys)
public PGPKeyRing(@Nonnull org.bouncycastle.openpgp.PGPSecretKeyRing secretKeys)
public long getKeyId()
@Nonnull public org.bouncycastle.openpgp.PGPPublicKey getMasterKey()
@Nonnull public OpenPgpV4Fingerprint getV4Fingerprint()
public boolean hasSecretKeys()
@Nullable public org.bouncycastle.openpgp.PGPPublicKeyRing getPublicKeys()
@Nullable public org.bouncycastle.openpgp.PGPSecretKeyRing getSecretKeys()