Class PAdESOCSPSource
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.PAdESOCSPSource
- All Implemented Interfaces:
MultipleRevocationSource<OCSP>, RevocationSource<OCSP>, Serializable
OCSPSource that retrieves the OCSPResp from a PAdES Signature
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPAdESOCSPSource(PdfSignatureRevision pdfSignatureRevision, String vriDictionaryName, org.bouncycastle.asn1.cms.AttributeTable signedAttributes) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the list of allEncapsulatedRevocationTokenIdentifiers present in the ADBE signed attributeRetrieves the list of allRevocationTokens present in the ADBE signed attribute NOTE: Applicable only for PAdES revocation sourceRetrieves all found revocation binaries with their originsReturns all tokens with their originsRetrieves the list of allEncapsulatedRevocationTokenIdentifiers present in 'DSS' dictionary NOTE: Applicable only for PAdES revocation sourceRetrieves the list of allRevocationTokens present in 'DSS' dictionary NOTE: Applicable only for PAdES revocation sourceReturns a map of all OCSP entries contained in DSS dictionary or into nested VRI dictionariesgetRevocationTokens(CertificateToken certificateToken, CertificateToken issuerToken) This method retrieves a list ofRevocationTokenfor the certificateTokenRetrieves the list of allEncapsulatedRevocationTokenIdentifiers present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation sourceRetrieves the list of allRevocationTokens present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation sourceMethods inherited from class OfflineRevocationSource
addBinary, addRevocation, addRevocation, addRevocationReference, findBinaryForReference, findRefsAndOriginsForBinary, findRefsAndOriginsForRevocationToken, getAllReferencedRevocationBinaries, getAllRevocationBinaries, getAllRevocationReferences, getAllRevocationTokens, getAnyValidationDataBinaries, getAnyValidationDataTokens, getAttributeRevocationRefs, getAttributeRevocationValuesBinaries, getAttributeRevocationValuesTokens, getCMSSignedDataRevocationBinaries, getCMSSignedDataRevocationTokens, getCompleteRevocationRefs, getOrphanRevocationReferencesWithOrigins, getRevocationReferencesWithOrigins, getRevocationToken, getRevocationValuesBinaries, getRevocationValuesTokens, getTimestampValidationDataBinaries, getTimestampValidationDataTokens, getUniqueRevocationTokensWithOrigins, isEmpty, isOrphan
-
Constructor Details
-
PAdESOCSPSource
public PAdESOCSPSource(PdfSignatureRevision pdfSignatureRevision, String vriDictionaryName, org.bouncycastle.asn1.cms.AttributeTable signedAttributes) The default constructor- Parameters:
pdfSignatureRevision-PdfSignatureRevisionvriDictionaryName-Stringthe corresponding VRI dictionary name to extractsignedAttributes-AttributeTable
-
-
Method Details
-
getRevocationTokens
public List<RevocationToken<OCSP>> getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerToken) Description copied from interface:MultipleRevocationSourceThis method retrieves a list ofRevocationTokenfor the certificateToken- Specified by:
getRevocationTokensin interfaceMultipleRevocationSource<OCSP>- Overrides:
getRevocationTokensin classOfflineOCSPSource- Parameters:
certificateToken- TheCertificateTokenfor which the request is madeissuerToken- TheCertificateTokenwhich is the issuer of the certificateToken- Returns:
- a list of
RevocationToken
-
getOcspMap
Returns a map of all OCSP entries contained in DSS dictionary or into nested VRI dictionaries- Returns:
- a map of OCSP binaries with their object ids
-
getDSSDictionaryBinaries
Description copied from class:OfflineRevocationSourceRetrieves the list of allEncapsulatedRevocationTokenIdentifiers present in 'DSS' dictionary NOTE: Applicable only for PAdES revocation source- Overrides:
getDSSDictionaryBinariesin classOfflineRevocationSource<OCSP>- Returns:
- list of
RevocationTokens
-
getDSSDictionaryTokens
Description copied from class:OfflineRevocationSourceRetrieves the list of allRevocationTokens present in 'DSS' dictionary NOTE: Applicable only for PAdES revocation source- Overrides:
getDSSDictionaryTokensin classOfflineRevocationSource<OCSP>- Returns:
- list of
RevocationTokens
-
getVRIDictionaryBinaries
Description copied from class:OfflineRevocationSourceRetrieves the list of allEncapsulatedRevocationTokenIdentifiers present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation source- Overrides:
getVRIDictionaryBinariesin classOfflineRevocationSource<OCSP>- Returns:
- list of
RevocationTokens
-
getVRIDictionaryTokens
Description copied from class:OfflineRevocationSourceRetrieves the list of allRevocationTokens present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation source- Overrides:
getVRIDictionaryTokensin classOfflineRevocationSource<OCSP>- Returns:
- list of
RevocationTokens
-
getADBERevocationValuesBinaries
Description copied from class:OfflineRevocationSourceRetrieves the list of allEncapsulatedRevocationTokenIdentifiers present in the ADBE signed attribute- Overrides:
getADBERevocationValuesBinariesin classOfflineRevocationSource<OCSP>- Returns:
- list of
EncapsulatedRevocationTokenIdentifiers
-
getADBERevocationValuesTokens
Description copied from class:OfflineRevocationSourceRetrieves the list of allRevocationTokens present in the ADBE signed attribute NOTE: Applicable only for PAdES revocation source- Overrides:
getADBERevocationValuesTokensin classOfflineRevocationSource<OCSP>- Returns:
- list of
RevocationTokens
-
getAllRevocationBinariesWithOrigins
public Map<EncapsulatedRevocationTokenIdentifier<OCSP>, Set<RevocationOrigin>> getAllRevocationBinariesWithOrigins()Description copied from class:OfflineRevocationSourceRetrieves all found revocation binaries with their origins- Overrides:
getAllRevocationBinariesWithOriginsin classOfflineRevocationSource<OCSP>- Returns:
- a Map of
EncapsulatedRevocationTokenIdentifierwith their origins
-
getAllRevocationTokensWithOrigins
Description copied from class:OfflineRevocationSourceReturns all tokens with their origins- Overrides:
getAllRevocationTokensWithOriginsin classOfflineRevocationSource<OCSP>- Returns:
- a map of tokens with the different origins
-