Class PdfValidationDataContainer
java.lang.Object
eu.europa.esig.dss.validation.ValidationDataContainer
eu.europa.esig.dss.pades.validation.PdfValidationDataContainer
A PDF implementation if
ValidationDataContainer
containing a validation data
to be incorporated within a PDF document-
Constructor Summary
ConstructorDescriptionPdfValidationDataContainer
(Collection<PdfDocDssRevision> pdfDssRevisions) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionThis method builds a map of token identifiers and their unique references within a PDF document from a list of extracted PdfRevisionsgetTokenKey
(Token token) Gets a token key (DSS Id or EntityKey Id for a CertificateToken)getTokenReference
(Token token) Returns a reference corresponding to the given token from the PDF document, if presentMethods inherited from class eu.europa.esig.dss.validation.ValidationDataContainer
addValidationData, addValidationData, getAllValidationData, getAllValidationDataForSignature, getCompleteValidationDataForSignature, getDetachedTimestamps, getSignatures, getValidationData, getValidationData, isEmpty
-
Constructor Details
-
PdfValidationDataContainer
Default constructor- Parameters:
pdfDssRevisions
- a collection ofPdfDocDssRevision
s extracted from a document
-
-
Method Details
-
getKnownObjectsMap
This method builds a map of token identifiers and their unique references within a PDF document from a list of extracted PdfRevisions- Returns:
- a map of token ids and their corresponding PDF references
-
getTokenReference
Returns a reference corresponding to the given token from the PDF document, if present- Parameters:
token
-Token
- Returns:
- the token reference identifier when present, null otherwise
-
getTokenKey
Gets a token key (DSS Id or EntityKey Id for a CertificateToken)
-