Class CertificateDetails


  • public final class CertificateDetails
    extends Object
    SSL certificate details.
    • Constructor Detail

      • CertificateDetails

        public CertificateDetails()
    • Method Detail

      • version

        public Integer version()
        Get the version property: Certificate Version.
        Returns:
        the version value.
      • serialNumber

        public String serialNumber()
        Get the serialNumber property: Certificate Serial Number.
        Returns:
        the serialNumber value.
      • thumbprint

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

        public String subject()
        Get the subject property: Certificate Subject.
        Returns:
        the subject value.
      • notBefore

        public OffsetDateTime notBefore()
        Get the notBefore property: Date Certificate is valid from.
        Returns:
        the notBefore value.
      • notAfter

        public OffsetDateTime notAfter()
        Get the notAfter property: Date Certificate is valid to.
        Returns:
        the notAfter value.
      • signatureAlgorithm

        public String signatureAlgorithm()
        Get the signatureAlgorithm property: Certificate Signature algorithm.
        Returns:
        the signatureAlgorithm value.
      • issuer

        public String issuer()
        Get the issuer property: Certificate Issuer.
        Returns:
        the issuer value.
      • rawData

        public String rawData()
        Get the rawData property: Raw certificate data.
        Returns:
        the rawData value.
      • validate

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