AsymmetricKeyInfoConverter (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.jcajce.provider.util

## Interface AsymmetricKeyInfoConverter

- All Known Implementing Classes:
    BaseKeyFactorySpi, KeyFactorySpi, KeyFactorySpi, KeyFactorySpi, KeyFactorySpi, KeyFactorySpi, KeyFactorySpi, KeyFactorySpi, KeyFactorySpi, KeyFactorySpi.EC, KeyFactorySpi.ECDH, KeyFactorySpi.ECDHC, KeyFactorySpi.ECDSA, KeyFactorySpi.ECGOST3410, KeyFactorySpi.ECMQV, RainbowKeyFactorySpi

      public interface AsymmetricKeyInfoConverter

- - ### Method Summary

    Methods
    Modifier and Type | Method and 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`