Class CertificateValidity


  • public final class CertificateValidity
    extends java.lang.Object
    • Method Detail

      • type

        public java.lang.String type()
        Returns:
        Determines how `value` is interpreted. Valid values: `DAYS`, `MONTHS`, `YEARS`, `ABSOLUTE`, `END_DATE`.
      • value

        public java.lang.String value()
        Returns:
        If `type` is `DAYS`, `MONTHS`, or `YEARS`, the relative time until the certificate expires. If `type` is `ABSOLUTE`, the date in seconds since the Unix epoch. If `type` is `END_DATE`, the date in RFC 3339 format.