Interface KeyPairConverter<T>

Type Parameters:
T - Object Type
All Known Implementing Classes:
DSAPrivateKeyInfoKeyPairConverter, ECDSAPrivateKeyInfoKeyPairConverter, PrivateKeyInfoKeyPairConverter, RSAPrivateKeyInfoKeyPairConverter

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 Details

    • getKeyPair

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