Class CertificateValidity

java.lang.Object
eu.europa.esig.dss.spi.x509.CertificateValidity
All Implemented Interfaces:
Serializable

public class CertificateValidity
extends Object
implements Serializable
This class stores the information about the validity of the signing certificate.
See Also:
Serialized Form
  • Constructor Details

    • CertificateValidity

      public CertificateValidity​(CertificateToken certificateToken)
      This constructor create an object containing all information concerning the validity of a candidate for the signing certificate.
      Parameters:
      certificateToken - the candidate for the signing certificate
    • CertificateValidity

      public CertificateValidity​(PublicKey publicKey)
      This constructor create an object containing all information concerning the validity of a candidate for the signing certificate which is based only on the PublicKey. To be used in case of a non AdES signature.
      Parameters:
      publicKey - the PublicKey associated to the signing certificate.
    • CertificateValidity

      public CertificateValidity​(CertificateIdentifier certificateIdentifier)
      This constructor create an object containing all information concerning the validity of a candidate for the signing certificate which is based only on the CertificateIdentifier. To be used in case of a non AdES signature.
      Parameters:
      certificateIdentifier - the CertificateIdentifier associated to the signing certificate
  • Method Details