EphemeralKeyPair (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.crypto

## Class EphemeralKeyPair

- java.lang.Object
- - org.bouncycastle.crypto.EphemeralKeyPair

-     public class EphemeralKeyPair
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EphemeralKeyPair(AsymmetricCipherKeyPair keyPair, KeyEncoder publicKeyEncoder)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getEncodedPublicKey()`
    `AsymmetricCipherKeyPair` | `getKeyPair()`

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

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

- - ### Constructor Detail

    - #### EphemeralKeyPair

          public EphemeralKeyPair(AsymmetricCipherKeyPair keyPair,
                          KeyEncoder publicKeyEncoder)

  - ### Method Detail

    - #### getKeyPair

          public AsymmetricCipherKeyPair getKeyPair()

    - #### getEncodedPublicKey

          public byte[] getEncodedPublicKey()