Class PdfCompositeDssDictCRLSource
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.dss.PdfCompositeDssDictCRLSource
- All Implemented Interfaces:
MultipleRevocationSource<CRL>
,RevocationSource<CRL>
,Serializable
Represents a merged result of extracted CRL binaries from different /DSS revisions of a PDF document
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor instantiation an object with empty mpa of CRL token objects -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRevocation
(RevocationToken<CRL> token, EncapsulatedRevocationTokenIdentifier<CRL> binary) This method adds aRevocationToken
from the binaryprotected void
extractDSSCRLs
(PdfDssDict dssDictionary) Extract the CRLs from the DSS dictionaryprotected void
extractVRICRLs
(PdfDssDict dssDictionary) Extract the CRLs from all embedded VRI dictionariesprotected void
extractVRICRLs
(PdfVriDict vriDictionary) Extract the CRLs from the VRI dictionarygetCRLBinariesByObjectId
(PdfObjectKey objectId) Deprecated.since DSS 6.2.protected Set
<PdfObjectKey> getRevocationTokenIds
(RevocationToken<CRL> crlToken) Returns corresponding PDF object identifier for the extracted revocation tokenprotected Set
<PdfObjectKey> Returns PDF object identifier for the provided binaryvoid
populateFromDssDictionary
(PdfDssDict dssDictionary) This method allows adding CRL tokens extracted from a /DSS revisionMethods inherited from class eu.europa.esig.dss.spi.x509.revocation.crl.OfflineCRLSource
getRevocationTokens
Methods inherited from class eu.europa.esig.dss.spi.x509.revocation.OfflineRevocationSource
addBinary, addRevocation, addRevocationReference, findBinaryForReference, findRefsAndOriginsForBinary, findRefsAndOriginsForRevocationToken, getADBERevocationValuesBinaries, getADBERevocationValuesTokens, getAllReferencedRevocationBinaries, getAllRevocationBinaries, getAllRevocationBinariesWithOrigins, getAllRevocationReferences, getAllRevocationTokens, getAllRevocationTokensWithOrigins, getAnyValidationDataBinaries, getAnyValidationDataTokens, getAttributeRevocationRefs, getAttributeRevocationValuesBinaries, getAttributeRevocationValuesTokens, getCMSSignedDataRevocationBinaries, getCMSSignedDataRevocationTokens, getCompleteRevocationRefs, getDSSDictionaryBinaries, getDSSDictionaryTokens, getOrphanRevocationReferencesWithOrigins, getRevocationReferencesWithOrigins, getRevocationToken, getRevocationValuesBinaries, getRevocationValuesTokens, getTimestampValidationDataBinaries, getTimestampValidationDataTokens, getUniqueRevocationTokensWithOrigins, getVRIDictionaryBinaries, getVRIDictionaryTokens, isEmpty, isOrphan
-
Constructor Details
-
PdfCompositeDssDictCRLSource
public PdfCompositeDssDictCRLSource()Default constructor instantiation an object with empty mpa of CRL token objects
-
-
Method Details
-
populateFromDssDictionary
This method allows adding CRL tokens extracted from a /DSS revision- Parameters:
dssDictionary
-PdfDssDict
representing a /DSS revision's content
-
extractDSSCRLs
Extract the CRLs from the DSS dictionary- Parameters:
dssDictionary
-PdfDssDict
-
extractVRICRLs
Extract the CRLs from all embedded VRI dictionaries- Parameters:
dssDictionary
-PdfDssDict
-
extractVRICRLs
Extract the CRLs from the VRI dictionary- Parameters:
vriDictionary
-PdfDssDict
-
getCRLBinariesByObjectId
Deprecated.since DSS 6.2. To be removed.This method returns a set ofCertificateToken
s with the given PDF object id- Parameters:
objectId
-PdfObjectKey
PDF id of the object to be extracted- Returns:
- set of
CRLBinary
s
-
getRevocationTokenIds
Returns corresponding PDF object identifier for the extracted revocation token- Parameters:
crlToken
-CRLToken
to get id for- Returns:
- a set of
PdfObjectKey
identifiers
-
addRevocation
public void addRevocation(RevocationToken<CRL> token, EncapsulatedRevocationTokenIdentifier<CRL> binary) Description copied from class:OfflineRevocationSource
This method adds aRevocationToken
from the binary- Overrides:
addRevocation
in classOfflineRevocationSource<CRL>
- Parameters:
token
- the token to be addedbinary
- the binary where the token has been extracted
-
getTokenBinaryObjectIds
protected Set<PdfObjectKey> getTokenBinaryObjectIds(EncapsulatedRevocationTokenIdentifier<CRL> binary) Returns PDF object identifier for the provided binary
-