Interface KeyPairConverter<T>

  • Type Parameters:
    T - Object Type
    All Known Implementing Classes:
    PrivateKeyInfoKeyPairConverter

    public interface KeyPairConverter<T>
    Converter from typed object to PEM Key Pair
    • Method Summary

      Modifier and Type Method Description
      org.bouncycastle.openssl.PEMKeyPair getKeyPair​(T object)
      Get PEM Key Pair from typed object
    • Method Detail

      • getKeyPair

        org.bouncycastle.openssl.PEMKeyPair getKeyPair​(T object)
                                                throws java.io.IOException
        Get PEM Key Pair from typed object
        Parameters:
        object - Typed Object
        Returns:
        PEM Key Pair
        Throws:
        java.io.IOException - Thrown on conversion failures