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 ofInputStream
s.ExternalResourcesOCSPSource(String... paths)
This constructor loads the OCSP responses from a array ofString
s representing resources. -
Method Summary
Modifier and Type Method Description void
appendContainedOCSPResponses()
Retrieves the map ofBasicOCSPResp
/RevocationOrigin
contained 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 Details
-
ExternalResourcesOCSPSource
This constructor loads the OCSP responses from a array ofString
s representing resources.- Parameters:
paths
-String
(s)
-
ExternalResourcesOCSPSource
This constructor loads the OCSP responses from a array ofInputStream
s.- Parameters:
inputStreams
-InputStream
-
-
Method Details
-
appendContainedOCSPResponses
public void appendContainedOCSPResponses()Description copied from class:OfflineOCSPSource
Retrieves the map ofBasicOCSPResp
/RevocationOrigin
contained in the source and appends result entries toocspResponses
.- Specified by:
appendContainedOCSPResponses
in classOfflineOCSPSource
-