Class ExternalResourcesOCSPSource
- java.lang.Object
-
- eu.europa.esig.dss.spi.x509.revocation.ocsp.OfflineOCSPSource
-
- eu.europa.esig.dss.spi.x509.revocation.ocsp.ExternalResourcesOCSPSource
-
- All Implemented Interfaces:
OCSPSource,RevocationSource<OCSPToken>,Serializable
public class ExternalResourcesOCSPSource extends OfflineOCSPSource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalResourcesOCSPSource(InputStream... inputStreams)This constructor loads the OCSP responses from a array ofInputStreams.ExternalResourcesOCSPSource(String... paths)This constructor loads the OCSP responses from a array ofStrings representing resources.
-
Method Summary
Modifier and Type Method Description voidappendContainedOCSPResponses()Retrieves the map ofBasicOCSPResp/RevocationOrigincontained in the source and appends result entries toocspResponses.-
Methods inherited from class eu.europa.esig.dss.spi.x509.revocation.ocsp.OfflineOCSPSource
addOCSPResponse, getIdentifier, getIdentifier, getOCSPResponsesList, getRevocationOrigins, getRevocationToken, isEmpty, storeOCSPToken
-
-
-
-
Constructor Detail
-
ExternalResourcesOCSPSource
public ExternalResourcesOCSPSource(String... paths)
This constructor loads the OCSP responses from a array ofStrings representing resources.- Parameters:
paths-String(s)
-
ExternalResourcesOCSPSource
public ExternalResourcesOCSPSource(InputStream... inputStreams)
This constructor loads the OCSP responses from a array ofInputStreams.- Parameters:
inputStreams-InputStream
-
-
Method Detail
-
appendContainedOCSPResponses
public void appendContainedOCSPResponses()
Description copied from class:OfflineOCSPSourceRetrieves the map ofBasicOCSPResp/RevocationOrigincontained in the source and appends result entries toocspResponses.- Specified by:
appendContainedOCSPResponsesin classOfflineOCSPSource
-
-