Interface CertificateValidity.Builder

    • Method Detail

      • notBefore

        CertificateValidity.Builder notBefore​(Instant notBefore)

        The certificate is not valid before this date.

        Parameters:
        notBefore - The certificate is not valid before this date.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notAfter

        CertificateValidity.Builder notAfter​(Instant notAfter)

        The certificate is not valid after this date.

        Parameters:
        notAfter - The certificate is not valid after this date.
        Returns:
        Returns a reference to this object so that method calls can be chained together.