Package org.bouncycastle.openpgp.operator.bc

## Class BcPGPKeyPair

- java.lang.Object
- - org.bouncycastle.openpgp.PGPKeyPair
  - - org.bouncycastle.openpgp.operator.bc.BcPGPKeyPair

-     public class BcPGPKeyPair
      extends PGPKeyPair

- - ### Field Summary

    - ### Fields inherited from class org.bouncycastle.openpgp.PGPKeyPair

      `priv, pub`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BcPGPKeyPair​(int algorithm, org.bouncycastle.crypto.AsymmetricCipherKeyPair keyPair, java.util.Date date)` |
    `BcPGPKeyPair​(int algorithm, PGPAlgorithmParameters parameters, org.bouncycastle.crypto.AsymmetricCipherKeyPair keyPair, java.util.Date date)` |

  - ### Method Summary

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

      `getKeyID, getPrivateKey, getPublicKey`

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

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

- - ### Constructor Detail

    - #### BcPGPKeyPair

          public BcPGPKeyPair​(int algorithm,
                              org.bouncycastle.crypto.AsymmetricCipherKeyPair keyPair,
                              java.util.Date date)
                       throws PGPException

      Throws:
        `PGPException`

    - #### BcPGPKeyPair

          public BcPGPKeyPair​(int algorithm,
                              PGPAlgorithmParameters parameters,
                              org.bouncycastle.crypto.AsymmetricCipherKeyPair keyPair,
                              java.util.Date date)
                       throws PGPException

      Throws:
        `PGPException`