Package be.ehealth.technicalconnector.utils

# Class CertificateParser

java.lang.Object
be.ehealth.technicalconnector.utils.CertificateParser

public class CertificateParser extends Object
The Class CertificateParser.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CertificateParser(String subject)`
  Instantiates a new certificate parser.
  `CertificateParser(X509Certificate cert)`
  Instantiates a new certificate parser.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `final String`
  `getApplication()`
  Gets the application.
  `final String`
  `getId()`
  `final IdentifierType`
  `getIdentifier()`
  `final String`
  `getType()`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CertificateParser

    public CertificateParser(X509Certificate cert) throws TechnicalConnectorException
    Instantiates a new certificate parser.
    Parameters:
      `cert` - the cert
    Throws:
      `InvalidNameException`
      `TechnicalConnectorException`

  - ### CertificateParser

    public CertificateParser(String subject) throws TechnicalConnectorException
    Instantiates a new certificate parser.
    Parameters:
      `subject` - the subject
    Throws:
      `InvalidNameException`
      `TechnicalConnectorException`

- ## Method Details

  - ### getType

    public final String getType()

  - ### getApplication

    public final String getApplication()
    Gets the application.
    Returns:
      the application

  - ### getIdentifier

    public final IdentifierType getIdentifier()

  - ### getId

    public final String getId()