Class JcaPGPPrivateKey


  • public class JcaPGPPrivateKey
    extends PGPPrivateKey
    A JCA PrivateKey carrier. Use this one if you're dealing with a hardware adapter.
    • Constructor Detail

      • JcaPGPPrivateKey

        public JcaPGPPrivateKey​(long keyID,
                                java.security.PrivateKey privateKey)
      • JcaPGPPrivateKey

        public JcaPGPPrivateKey​(PGPPublicKey pubKey,
                                java.security.PrivateKey privateKey)
    • Method Detail

      • getPrivateKey

        public java.security.PrivateKey getPrivateKey()