Package org.bouncycastle.jcajce.provider.util

## Interface AsymmetricKeyInfoConverter

- All Known Implementing Classes:
    `BaseKeyFactorySpi`, `COMPOSITE.KeyFactory`, `KeyFactorySpi`, `KeyFactorySpi`, `KeyFactorySpi`, `KeyFactorySpi`, `KeyFactorySpi`, `KeyFactorySpi`, `KeyFactorySpi`, `KeyFactorySpi`, `KeyFactorySpi`, `KeyFactorySpi`, `KeyFactorySpi.EC`, `KeyFactorySpi.ECDH`, `KeyFactorySpi.ECDHC`, `KeyFactorySpi.ECDSA`, `KeyFactorySpi.ECGOST3410`, `KeyFactorySpi.ECGOST3410_2012`, `KeyFactorySpi.ECMQV`, `KeyFactorySpi.Ed25519`, `KeyFactorySpi.Ed448`, `KeyFactorySpi.EdDSA`, `KeyFactorySpi.X25519`, `KeyFactorySpi.X448`, `KeyFactorySpi.XDH`, `LMSKeyFactorySpi`, `McElieceCCA2KeyFactorySpi`, `McElieceKeyFactorySpi`, `NHKeyFactorySpi`, `QTESLAKeyFactorySpi`, `RainbowKeyFactorySpi`, `Sphincs256KeyFactorySpi`, `XMSSKeyFactorySpi`, `XMSSMTKeyFactorySpi`

      public interface AsymmetricKeyInfoConverter

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.security.PrivateKey` | `generatePrivate​(PrivateKeyInfo keyInfo)` |
    `java.security.PublicKey` | `generatePublic​(SubjectPublicKeyInfo keyInfo)` |

- - ### Method Detail

    - #### generatePrivate

          java.security.PrivateKey generatePrivate​(PrivateKeyInfo keyInfo)
                                            throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### generatePublic

          java.security.PublicKey generatePublic​(SubjectPublicKeyInfo keyInfo)
                                          throws java.io.IOException

      Throws:
        `java.io.IOException`