Interface IJcaPEMKeyConverter

  • All Known Implementing Classes:
    JcaPEMKeyConverterBC

    public interface IJcaPEMKeyConverter
    This interface represents the wrapper for JcaPEMKeyConverter that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
    • Method Detail

      • setProvider

        IJcaPEMKeyConverter setProvider​(java.security.Provider provider)
        Calls actual setProvider method for the wrapped JcaPEMKeyConverter object.
        Parameters:
        provider - Provider to be set
        Returns:
        this converter
      • getPrivateKey

        java.security.PrivateKey getPrivateKey​(IPrivateKeyInfo privateKeyInfo)
                                        throws AbstractPEMException
        Calls actual getPrivateKey method for the wrapped JcaPEMKeyConverter object.
        Parameters:
        privateKeyInfo - IPrivateKeyInfo information about private key
        Returns:
        PrivateKey private key instance
        Throws:
        AbstractPEMException - if any issues occur during private key creation