Class PdfDssDictOCSPSource
java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.OfflineRevocationSource<OCSP>
eu.europa.esig.dss.spi.x509.revocation.ocsp.OfflineOCSPSource
eu.europa.esig.dss.pades.validation.PdfDssDictOCSPSource
- All Implemented Interfaces:
MultipleRevocationSource<OCSP>,Serializable
- Direct Known Subclasses:
PAdESOCSPSource
public class PdfDssDictOCSPSource extends OfflineOCSPSource
The OCSP source extracted from a DSS dictionary
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PdfDssDictOCSPSource(PdfDssDict dssDictionary)Default constructor -
Method Summary
Modifier and Type Method Description protected voidextractDSSOCSPs(PdfDssDict dssDictionary)Extract the OCSPs from the DSS dictionaryprotected voidextractVRIOCSPs(PdfDssDict dssDictionary)Extract the OCSPs from all embedded VRI dictionariesprotected voidextractVRIOCSPs(PdfVRIDict vriDictionary)Extract the OCSPs from the VRI dictionaryMap<Long,org.bouncycastle.cert.ocsp.BasicOCSPResp>getOcspMap()Returns a map of all OCSP entries contained in DSS dictionary or into nested VRI dictionariesMethods inherited from class eu.europa.esig.dss.spi.x509.revocation.ocsp.OfflineOCSPSource
getRevocationTokensMethods inherited from class eu.europa.esig.dss.spi.x509.revocation.OfflineRevocationSource
addBinary, addRevocation, addRevocation, addRevocationReference, findBinaryForReference, findRefsAndOriginsForBinary, findRefsAndOriginsForRevocationToken, getADBERevocationValuesTokens, getAllReferencedRevocationBinaries, getAllRevocationBinaries, getAllRevocationBinariesWithOrigins, getAllRevocationReferences, getAllRevocationTokens, getAllRevocationTokensWithOrigins, getAttributeRevocationRefs, getAttributeRevocationValuesTokens, getCMSSignedDataRevocationBinaries, getCMSSignedDataRevocationTokens, getCompleteRevocationRefs, getDSSDictionaryBinaries, getDSSDictionaryTokens, getOrphanRevocationReferencesWithOrigins, getRevocationValuesTokens, getTimestampValidationDataTokens, getUniqueRevocationTokensWithOrigins, getVRIDictionaryBinaries, getVRIDictionaryTokens, isEmpty, isOrphan
-
Constructor Details
-
PdfDssDictOCSPSource
Default constructor- Parameters:
dssDictionary-PdfDssDict
-
-
Method Details
-
getOcspMap
Returns a map of all OCSP entries contained in DSS dictionary or into nested VRI dictionaries- Returns:
- a map of BasicOCSPResp with their object ids
-
extractDSSOCSPs
Extract the OCSPs from the DSS dictionary- Parameters:
dssDictionary-PdfDssDict
-
extractVRIOCSPs
Extract the OCSPs from all embedded VRI dictionaries- Parameters:
dssDictionary-PdfDssDict
-
extractVRIOCSPs
Extract the OCSPs from the VRI dictionary- Parameters:
vriDictionary-PdfDssDict
-