Class OCSPAndCRLRevocationSource

java.lang.Object
eu.europa.esig.dss.validation.OCSPAndCRLRevocationSource
All Implemented Interfaces:
RevocationSource<Revocation>, Serializable

public class OCSPAndCRLRevocationSource
extends Object
implements RevocationSource<Revocation>
Fetches revocation data for a certificate by querying an OCSP server first and then a CRL server if no OCSP response could be retrieved.
See Also:
Serialized Form
  • Constructor Details

    • OCSPAndCRLRevocationSource

      public OCSPAndCRLRevocationSource​(RevocationSource<CRL> crlSource, RevocationSource<OCSP> ocspSource)
      Build a OCSPAndCRLCertificateVerifier that will use the provided CRLSource and OCSPSource
      Parameters:
      crlSource - the used CRL Source (online or offline)
      ocspSource - the used OCSP Source (online or offline)
  • Method Details