Class Certificate

    • Constructor Detail

      • Certificate

        public Certificate()
    • Method Detail

      • subject

        public String subject()
        Get the subject property: Subject name in the certificate.
        Returns:
        the subject value.
      • withSubject

        public Certificate withSubject​(String subject)
        Set the subject property: Subject name in the certificate.
        Parameters:
        subject - the subject value to set.
        Returns:
        the Certificate object itself.
      • expirationDate

        public String expirationDate()
        Get the expirationDate property: Certificate expiration date.
        Returns:
        the expirationDate value.
      • withExpirationDate

        public Certificate withExpirationDate​(String expirationDate)
        Set the expirationDate property: Certificate expiration date.
        Parameters:
        expirationDate - the expirationDate value to set.
        Returns:
        the Certificate object itself.
      • thumbprint

        public String thumbprint()
        Get the thumbprint property: Certificate thumbprint.
        Returns:
        the thumbprint value.
      • withThumbprint

        public Certificate withThumbprint​(String thumbprint)
        Set the thumbprint property: Certificate thumbprint.
        Parameters:
        thumbprint - the thumbprint value to set.
        Returns:
        the Certificate object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.