Class 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)  
    • 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()
      • hasSecretKeys

        public boolean hasSecretKeys()
      • getPublicKeys

        @Nullable
        public org.bouncycastle.openpgp.PGPPublicKeyRing getPublicKeys()
      • getSecretKeys

        @Nullable
        public org.bouncycastle.openpgp.PGPSecretKeyRing getSecretKeys()