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
(Long objectId) This method returns a set ofCertificateToken
s with the given PDF object idgetRevocationTokenIds
(RevocationToken<CRL> crlToken) Returns corresponding PDF object identifier for the extracted revocation tokenReturns 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, 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
This method returns a set ofCertificateToken
s with the given PDF object id -
getRevocationTokenIds
Returns corresponding PDF object identifier for the extracted revocation token -
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
Returns PDF object identifier for the provided binary
-