Package org.pgpainless.key.collection
Class PGPKeyRing
- java.lang.Object
-
- org.pgpainless.key.collection.PGPKeyRing
-
public class PGPKeyRing extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PGPKeyRing(org.bouncycastle.openpgp.PGPPublicKeyRing publicKeys)PGPKeyRing(org.bouncycastle.openpgp.PGPPublicKeyRing publicKeys, org.bouncycastle.openpgp.PGPSecretKeyRing secretKeys)PGPKeyRing(org.bouncycastle.openpgp.PGPSecretKeyRing secretKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetKeyId()org.bouncycastle.openpgp.PGPPublicKeygetMasterKey()org.bouncycastle.openpgp.PGPPublicKeyRinggetPublicKeys()org.bouncycastle.openpgp.PGPSecretKeyRinggetSecretKeys()OpenPgpV4FingerprintgetV4Fingerprint()booleanhasSecretKeys()
-
-
-
Constructor Detail
-
PGPKeyRing
public PGPKeyRing(@Nonnull org.bouncycastle.openpgp.PGPPublicKeyRing publicKeys, @Nonnull org.bouncycastle.openpgp.PGPSecretKeyRing secretKeys)
-
PGPKeyRing
public PGPKeyRing(@Nonnull org.bouncycastle.openpgp.PGPPublicKeyRing publicKeys)
-
PGPKeyRing
public PGPKeyRing(@Nonnull org.bouncycastle.openpgp.PGPSecretKeyRing secretKeys)
-
-
Method Detail
-
getKeyId
public long getKeyId()
-
getMasterKey
@Nonnull public org.bouncycastle.openpgp.PGPPublicKey getMasterKey()
-
getV4Fingerprint
@Nonnull public OpenPgpV4Fingerprint getV4Fingerprint()
-
hasSecretKeys
public boolean hasSecretKeys()
-
getPublicKeys
@Nullable public org.bouncycastle.openpgp.PGPPublicKeyRing getPublicKeys()
-
getSecretKeys
@Nullable public org.bouncycastle.openpgp.PGPSecretKeyRing getSecretKeys()
-
-