JcaPGPPrivateKey
Date: 2016-06-23

org.bouncycastle.openpgp.operator.jcajce

## 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 Summary

    Constructors
    Constructor and Description
    `JcaPGPPrivateKey(long keyID, java.security.PrivateKey privateKey)`
    `JcaPGPPrivateKey(PGPPublicKey pubKey, java.security.PrivateKey privateKey)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.security.PrivateKey` | `getPrivateKey()`

    - ### Methods inherited from class org.bouncycastle.openpgp.PGPPrivateKey

      `getKeyID, getPrivateKeyDataPacket, getPublicKeyPacket`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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()