Class UnlockSecretKey


  • public final class UnlockSecretKey
    extends Object
    • Method Detail

      • unlockSecretKey

        public static org.bouncycastle.openpgp.PGPPrivateKey unlockSecretKey​(org.bouncycastle.openpgp.PGPSecretKey secretKey,
                                                                             org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor decryptor)
                                                                      throws org.bouncycastle.openpgp.PGPException
        Throws:
        org.bouncycastle.openpgp.PGPException
      • unlockSecretKey

        public static org.bouncycastle.openpgp.PGPPrivateKey unlockSecretKey​(org.bouncycastle.openpgp.PGPSecretKey secretKey,
                                                                             Passphrase passphrase)
                                                                      throws org.bouncycastle.openpgp.PGPException,
                                                                             KeyIntegrityException
        Throws:
        org.bouncycastle.openpgp.PGPException
        KeyIntegrityException