Class KeyRingCollection


  • public class KeyRingCollection
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyRingCollection​(java.io.File pubRingFile, java.io.File secRingFile)  
      KeyRingCollection​(org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings)  
      KeyRingCollection​(org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings, org.bouncycastle.openpgp.PGPSecretKeyRingCollection secretKeyRings)  
      KeyRingCollection​(org.bouncycastle.openpgp.PGPSecretKeyRingCollection secretKeyRings)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void importPublicKeys​(org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings)  
      void importSecretKeys​(org.bouncycastle.openpgp.PGPSecretKeyRingCollection secretKeyRings)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyRingCollection

        public KeyRingCollection​(@Nonnull
                                 org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings,
                                 @Nonnull
                                 org.bouncycastle.openpgp.PGPSecretKeyRingCollection secretKeyRings)
      • KeyRingCollection

        public KeyRingCollection​(java.io.File pubRingFile,
                                 java.io.File secRingFile)
                          throws java.io.IOException,
                                 org.bouncycastle.openpgp.PGPException
        Throws:
        java.io.IOException
        org.bouncycastle.openpgp.PGPException
      • KeyRingCollection

        public KeyRingCollection​(@Nonnull
                                 org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings)
      • KeyRingCollection

        public KeyRingCollection​(@Nonnull
                                 org.bouncycastle.openpgp.PGPSecretKeyRingCollection secretKeyRings)
    • Method Detail

      • importPublicKeys

        public void importPublicKeys​(@Nonnull
                                     org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings)
      • importSecretKeys

        public void importSecretKeys​(@Nonnull
                                     org.bouncycastle.openpgp.PGPSecretKeyRingCollection secretKeyRings)