McElieceCCA2KeysToParams (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.pqc.jcajce.provider.mceliece

## Class McElieceCCA2KeysToParams

- java.lang.Object
- - org.bouncycastle.pqc.jcajce.provider.mceliece.McElieceCCA2KeysToParams

-     public class McElieceCCA2KeysToParams
      extends java.lang.Object

  utility class for converting jce/jca McElieceCCA2 objects objects into their org.bouncycastle.crypto counterparts.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `McElieceCCA2KeysToParams()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static AsymmetricKeyParameter` | `generatePrivateKeyParameter(java.security.PrivateKey key)`
    `static AsymmetricKeyParameter` | `generatePublicKeyParameter(java.security.PublicKey key)`

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

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

- - ### Constructor Detail

    - #### McElieceCCA2KeysToParams

          public McElieceCCA2KeysToParams()

  - ### Method Detail

    - #### generatePublicKeyParameter

          public static AsymmetricKeyParameter generatePublicKeyParameter(java.security.PublicKey key)
                                                                   throws java.security.InvalidKeyException

      Throws:
        `java.security.InvalidKeyException`

    - #### generatePrivateKeyParameter

          public static AsymmetricKeyParameter generatePrivateKeyParameter(java.security.PrivateKey key)
                                                                    throws java.security.InvalidKeyException

      Throws:
        `java.security.InvalidKeyException`