Class CertificateValidity

java.lang.Object
org.mozilla.jss.netscape.security.x509.CertificateValidity
All Implemented Interfaces:
Serializable, CertAttrSet

public class CertificateValidity extends Object implements CertAttrSet, Serializable
This class defines the interval for which the certificate is valid.
See Also:
  • Field Details

  • Constructor Details

    • CertificateValidity

      public CertificateValidity()
      Default constructor for the class.
    • CertificateValidity

      public CertificateValidity(Date notBefore, Date notAfter)
      The default constructor for this class for the specified interval.
      Parameters:
      notBefore - the date and time before which the certificate is not valid.
      notAfter - the date and time after which the certificate is not valid.
    • CertificateValidity

      public CertificateValidity(DerInputStream in) throws IOException
      Create the object, decoding the values from the passed DER stream.
      Parameters:
      in - the DerInputStream to read the CertificateValidity from.
      Throws:
      IOException - on decoding errors.
  • Method Details