All Known Implementing Classes:
ICACertificateParser

public interface ICertificateParser
Interface for the certificate parsers.
Author:
Petr Dvorak, petr@wultra.com
  • Method Summary

    Modifier and Type Method Description
    CertInfo parse​(String certificatePem)
    Parse provided certificate in PEM format.
  • Method Details

    • parse

      CertInfo parse​(String certificatePem) throws CertificateException
      Parse provided certificate in PEM format.
      Parameters:
      certificatePem - Certificate in PEM format.
      Returns:
      Structured certificate info.
      Throws:
      CertificateException - In case certificate cannot be parsed (or in rare case X.509 is not supported).