Class PAdESCRLSource
java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.OfflineRevocationSource<CRL>
eu.europa.esig.dss.spi.x509.revocation.crl.OfflineCRLSource
eu.europa.esig.dss.pades.validation.PAdESCRLSource
- All Implemented Interfaces:
MultipleRevocationSource<CRL>, RevocationSource<CRL>, Serializable
CRLSource that will retrieve the CRL from a PAdES Signature
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPAdESCRLSource(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 originsReturns a map of all CRL entries contained in DSS dictionary or into nested VRI dictionariesRetrieves 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 sourcegetRevocationTokens(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
-
PAdESCRLSource
public PAdESCRLSource(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<CRL>> getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerToken) Description copied from interface:MultipleRevocationSourceThis method retrieves a list ofRevocationTokenfor the certificateToken- Specified by:
getRevocationTokensin interfaceMultipleRevocationSource<CRL>- Overrides:
getRevocationTokensin classOfflineCRLSource- Parameters:
certificateToken- TheCertificateTokenfor which the request is madeissuerToken- TheCertificateTokenwhich is the issuer of the certificateToken- Returns:
- a list of
RevocationToken
-
getCrlMap
Returns a map of all CRL entries contained in DSS dictionary or into nested VRI dictionaries- Returns:
- a map of CRL 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<CRL>- 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<CRL>- 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<CRL>- 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<CRL>- Returns:
- list of
RevocationTokens
-
getADBERevocationValuesBinaries
Description copied from class:OfflineRevocationSourceRetrieves the list of allEncapsulatedRevocationTokenIdentifiers present in the ADBE signed attribute- Overrides:
getADBERevocationValuesBinariesin classOfflineRevocationSource<CRL>- 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<CRL>- Returns:
- list of
RevocationTokens
-
getAllRevocationBinariesWithOrigins
public Map<EncapsulatedRevocationTokenIdentifier<CRL>, Set<RevocationOrigin>> getAllRevocationBinariesWithOrigins()Description copied from class:OfflineRevocationSourceRetrieves all found revocation binaries with their origins- Overrides:
getAllRevocationBinariesWithOriginsin classOfflineRevocationSource<CRL>- Returns:
- a Map of
EncapsulatedRevocationTokenIdentifierwith their origins
-
getAllRevocationTokensWithOrigins
Description copied from class:OfflineRevocationSourceReturns all tokens with their origins- Overrides:
getAllRevocationTokensWithOriginsin classOfflineRevocationSource<CRL>- Returns:
- a map of tokens with the different origins
-