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
ConstructorDescriptionPAdESCRLSource
(PdfSignatureRevision pdfSignatureRevision, String vriDictionaryName, org.bouncycastle.asn1.cms.AttributeTable signedAttributes) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the list of allEncapsulatedRevocationTokenIdentifier
s present in the ADBE signed attributeRetrieves the list of allRevocationToken
s 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 allEncapsulatedRevocationTokenIdentifier
s present in 'DSS' dictionary NOTE: Applicable only for PAdES revocation sourceRetrieves the list of allRevocationToken
s present in 'DSS' dictionary NOTE: Applicable only for PAdES revocation sourcegetRevocationTokens
(CertificateToken certificateToken, CertificateToken issuerToken) This method retrieves a list ofRevocationToken
for the certificateTokenRetrieves the list of allEncapsulatedRevocationTokenIdentifier
s present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation sourceRetrieves the list of allRevocationToken
s present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation sourceMethods inherited from class eu.europa.esig.dss.spi.x509.revocation.OfflineRevocationSource
addBinary, addRevocation, addRevocation, addRevocationReference, findBinaryForReference, findRefsAndOriginsForBinary, findRefsAndOriginsForRevocationToken, getAllReferencedRevocationBinaries, getAllRevocationBinaries, getAllRevocationReferences, getAllRevocationTokens, 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
-PdfSignatureRevision
vriDictionaryName
-String
the corresponding VRI dictionary name to extractsignedAttributes
-AttributeTable
-
-
Method Details
-
getRevocationTokens
public List<RevocationToken<CRL>> getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerToken) Description copied from interface:MultipleRevocationSource
This method retrieves a list ofRevocationToken
for the certificateToken- Specified by:
getRevocationTokens
in interfaceMultipleRevocationSource<CRL>
- Overrides:
getRevocationTokens
in classOfflineCRLSource
- Parameters:
certificateToken
- TheCertificateToken
for which the request is madeissuerToken
- TheCertificateToken
which 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:OfflineRevocationSource
Retrieves the list of allEncapsulatedRevocationTokenIdentifier
s present in 'DSS' dictionary NOTE: Applicable only for PAdES revocation source- Overrides:
getDSSDictionaryBinaries
in classOfflineRevocationSource<CRL>
- Returns:
- list of
RevocationToken
s
-
getDSSDictionaryTokens
Description copied from class:OfflineRevocationSource
Retrieves the list of allRevocationToken
s present in 'DSS' dictionary NOTE: Applicable only for PAdES revocation source- Overrides:
getDSSDictionaryTokens
in classOfflineRevocationSource<CRL>
- Returns:
- list of
RevocationToken
s
-
getVRIDictionaryBinaries
Description copied from class:OfflineRevocationSource
Retrieves the list of allEncapsulatedRevocationTokenIdentifier
s present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation source- Overrides:
getVRIDictionaryBinaries
in classOfflineRevocationSource<CRL>
- Returns:
- list of
RevocationToken
s
-
getVRIDictionaryTokens
Description copied from class:OfflineRevocationSource
Retrieves the list of allRevocationToken
s present in 'VRI' dictionary NOTE: Applicable only for PAdES revocation source- Overrides:
getVRIDictionaryTokens
in classOfflineRevocationSource<CRL>
- Returns:
- list of
RevocationToken
s
-
getADBERevocationValuesBinaries
Description copied from class:OfflineRevocationSource
Retrieves the list of allEncapsulatedRevocationTokenIdentifier
s present in the ADBE signed attribute- Overrides:
getADBERevocationValuesBinaries
in classOfflineRevocationSource<CRL>
- Returns:
- list of
EncapsulatedRevocationTokenIdentifier
s
-
getADBERevocationValuesTokens
Description copied from class:OfflineRevocationSource
Retrieves the list of allRevocationToken
s present in the ADBE signed attribute NOTE: Applicable only for PAdES revocation source- Overrides:
getADBERevocationValuesTokens
in classOfflineRevocationSource<CRL>
- Returns:
- list of
RevocationToken
s
-
getAllRevocationBinariesWithOrigins
public Map<EncapsulatedRevocationTokenIdentifier<CRL>,Set<RevocationOrigin>> getAllRevocationBinariesWithOrigins()Description copied from class:OfflineRevocationSource
Retrieves all found revocation binaries with their origins- Overrides:
getAllRevocationBinariesWithOrigins
in classOfflineRevocationSource<CRL>
- Returns:
- a Map of
EncapsulatedRevocationTokenIdentifier
with their origins
-
getAllRevocationTokensWithOrigins
Description copied from class:OfflineRevocationSource
Returns all tokens with their origins- Overrides:
getAllRevocationTokensWithOrigins
in classOfflineRevocationSource<CRL>
- Returns:
- a map of tokens with the different origins
-