Class JcaPGPPrivateKey

java.lang.Object
org.bouncycastle.openpgp.PGPPrivateKey
org.bouncycastle.openpgp.operator.jcajce.JcaPGPPrivateKey

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

    • JcaPGPPrivateKey

      public JcaPGPPrivateKey(long keyID, PrivateKey privateKey)
    • JcaPGPPrivateKey

      public JcaPGPPrivateKey(PGPPublicKey pubKey, PrivateKey privateKey)
  • Method Details

    • getPrivateKey

      public PrivateKey getPrivateKey()