Class PdfCompositeDssDictCRLSource
java.lang.Object
eu.europa.esig.dss.pades.validation.dss.PdfCompositeDssDictCRLSource
- All Implemented Interfaces:
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 TypeMethodDescriptionvoidaddBinary(eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0, eu.europa.esig.dss.enumerations.RevocationOrigin arg1) voidaddRevocation(eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> token, eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> binary) voidaddRevocation(eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0, eu.europa.esig.dss.enumerations.RevocationOrigin arg1) voidaddRevocationReference(eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0, eu.europa.esig.dss.enumerations.RevocationRefOrigin arg1) protected voidextractDSSCRLs(PdfDssDict dssDictionary) Extract the CRLs from the DSS dictionaryprotected voidextractVRICRLs(PdfDssDict dssDictionary) Extract the CRLs from all embedded VRI dictionariesprotected voidextractVRICRLs(PdfVriDict vriDictionary) Extract the CRLs from the VRI dictionaryeu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> findBinaryForReference(eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0) Map<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>, Set<eu.europa.esig.dss.enumerations.RevocationRefOrigin>> findRefsAndOriginsForBinary(eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0) Map<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>, Set<eu.europa.esig.dss.enumerations.RevocationRefOrigin>> findRefsAndOriginsForRevocationToken(eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0) List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> Set<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> Set<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> Map<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>, Set<eu.europa.esig.dss.enumerations.RevocationOrigin>> Set<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> Set<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> Map<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>, Set<eu.europa.esig.dss.enumerations.RevocationOrigin>> List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> Map<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>, Set<eu.europa.esig.dss.enumerations.RevocationRefOrigin>> protected Map<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>, Set<eu.europa.esig.dss.enumerations.RevocationRefOrigin>> eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> getRevocationToken(eu.europa.esig.dss.model.x509.CertificateToken arg0, eu.europa.esig.dss.model.x509.CertificateToken arg1) protected Set<PdfObjectKey> getRevocationTokenIds(eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> crlToken) Returns corresponding PDF object identifier for the extracted revocation tokenList<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getRevocationTokens(eu.europa.esig.dss.model.x509.CertificateToken arg0, eu.europa.esig.dss.model.x509.CertificateToken arg1) List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> protected Set<PdfObjectKey> getTokenBinaryObjectIds(eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> binary) Returns PDF object identifier for the provided binaryMap<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>, Set<eu.europa.esig.dss.enumerations.RevocationOrigin>> List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> booleanisEmpty()booleanisOrphan(eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0) voidpopulateFromDssDictionary(PdfDssDict dssDictionary) This method allows adding CRL tokens extracted from a /DSS revision
-
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-PdfDssDictrepresenting 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
-
getRevocationTokenIds
protected Set<PdfObjectKey> getRevocationTokenIds(eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> crlToken) Returns corresponding PDF object identifier for the extracted revocation token- Parameters:
crlToken-CRLTokento get id for- Returns:
- a set of
PdfObjectKeyidentifiers
-
addRevocation
public void addRevocation(eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> token, eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> binary) -
getTokenBinaryObjectIds
protected Set<PdfObjectKey> getTokenBinaryObjectIds(eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> binary) Returns PDF object identifier for the provided binary- Parameters:
binary-CRLBinary- Returns:
Longidentifier
-
getRevocationTokens
public List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getRevocationTokens(eu.europa.esig.dss.model.x509.CertificateToken arg0, eu.europa.esig.dss.model.x509.CertificateToken arg1) -
addBinary
public void addBinary(eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0, eu.europa.esig.dss.enumerations.RevocationOrigin arg1) -
addRevocation
public void addRevocation(eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0, eu.europa.esig.dss.enumerations.RevocationOrigin arg1) -
addRevocationReference
public void addRevocationReference(eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0, eu.europa.esig.dss.enumerations.RevocationRefOrigin arg1) -
getAllRevocationBinaries
public Set<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getAllRevocationBinaries() -
getAllRevocationBinariesWithOrigins
-
getAllRevocationTokens
public Set<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getAllRevocationTokens() -
getAllRevocationTokensWithOrigins
-
getUniqueRevocationTokensWithOrigins
-
getAllRevocationReferences
public Set<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getAllRevocationReferences() -
getRevocationReferencesWithOrigins
-
getRevocationToken
public eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> getRevocationToken(eu.europa.esig.dss.model.x509.CertificateToken arg0, eu.europa.esig.dss.model.x509.CertificateToken arg1) -
getCMSSignedDataRevocationBinaries
public List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getCMSSignedDataRevocationBinaries() -
getCMSSignedDataRevocationTokens
public List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getCMSSignedDataRevocationTokens() -
getRevocationValuesBinaries
public List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getRevocationValuesBinaries() -
getRevocationValuesTokens
public List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getRevocationValuesTokens() -
getAttributeRevocationValuesBinaries
public List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getAttributeRevocationValuesBinaries() -
getAttributeRevocationValuesTokens
public List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getAttributeRevocationValuesTokens() -
getTimestampValidationDataBinaries
public List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getTimestampValidationDataBinaries() -
getTimestampValidationDataTokens
public List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getTimestampValidationDataTokens() -
getAnyValidationDataBinaries
public List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getAnyValidationDataBinaries() -
getAnyValidationDataTokens
public List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getAnyValidationDataTokens() -
getDSSDictionaryBinaries
public List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getDSSDictionaryBinaries() -
getDSSDictionaryTokens
public List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getDSSDictionaryTokens() -
getVRIDictionaryBinaries
public List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getVRIDictionaryBinaries() -
getVRIDictionaryTokens
public List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getVRIDictionaryTokens() -
getADBERevocationValuesBinaries
public List<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getADBERevocationValuesBinaries() -
getADBERevocationValuesTokens
public List<eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getADBERevocationValuesTokens() -
getCompleteRevocationRefs
public List<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getCompleteRevocationRefs() -
getAttributeRevocationRefs
public List<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getAttributeRevocationRefs() -
findRefsAndOriginsForRevocationToken
public Map<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>, Set<eu.europa.esig.dss.enumerations.RevocationRefOrigin>> findRefsAndOriginsForRevocationToken(eu.europa.esig.dss.spi.x509.revocation.RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0) -
findRefsAndOriginsForBinary
public Map<eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL>, Set<eu.europa.esig.dss.enumerations.RevocationRefOrigin>> findRefsAndOriginsForBinary(eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0) -
findBinaryForReference
public eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> findBinaryForReference(eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0) -
getOrphanRevocationReferencesWithOrigins
-
isOrphan
public boolean isOrphan(eu.europa.esig.dss.spi.x509.revocation.RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> arg0) -
getAllReferencedRevocationBinaries
public Set<eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL>> getAllReferencedRevocationBinaries() -
isEmpty
public boolean isEmpty()
-