Class CertificateValidity

java.lang.Object
eu.europa.esig.dss.validation.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​(SignerInfo signerInfo)
      This constructor create an object containing all information concerning the validity of a candidate for the signing certificate which is based only on the SignerInfo. To be used in case of a non AdES signature.
      Parameters:
      signerInfo - the SignerInfo associated to the signing certificate.
  • Method Details