AsymmetricKeyInfoConverter (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

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`