Uses of Interface
eu.europa.esig.dss.pdf.PdfDocumentReader
Package
Description
-
Uses of PdfDocumentReader in eu.europa.esig.dss.pdf
Modifier and TypeMethodDescriptionprotected abstract PdfDocumentReader
AbstractPDFSignatureService.loadPdfDocumentReader
(DSSDocument dssDocument, char[] passwordProtection) LoadsPdfDocumentReader
instanceModifier and TypeMethodDescriptionprotected void
AbstractPDFSignatureService.addDeveloperExtension
(PdfDocumentReader documentReader, String prefix, PdfDict developerExtension) Adds a new developer extension defined indeveloperExtension
dictionaryprotected void
AbstractPDFSignatureService.analyzePdfModifications
(DSSDocument document, PdfCMSRevision pdfRevision, PdfDocumentReader finalRevisionReader, char[] pwd) This method performs a modification analysis for a single givenpdfRevision
protected void
AbstractPDFSignatureService.assertSignatureFieldPositionValid
(PdfDocumentReader documentReader, AnnotationBox annotationBox, int pageNumber) This method verifies validity of the signature field box configuration calling the providedpdfSignatureFieldPositionChecker
void
PdfSignatureFieldPositionChecker.assertSignatureFieldPositionValid
(PdfDocumentReader documentReader, AnnotationBox annotationBox, int pageNumber) This method verifies whetherannotationBox
can be placed withindocumentReader
on the page numberpageNumber
void
PdfPermissionsChecker.checkDocumentPermissions
(PdfDocumentReader documentReader, SignatureFieldParameters fieldParameters) This method checks if the document has the necessary permissions for the signature operationprotected void
AbstractPDFSignatureService.checkPdfPermissions
(PdfDocumentReader documentReader, SignatureFieldParameters fieldParameters) This method verifies the PDF permissions dictionariesvoid
PdfPermissionsChecker.checkSignatureRestrictionDictionaries
(PdfDocumentReader documentReader, SignatureFieldParameters fieldParameters) This method verifies whether a new signature is permittedprotected PdfDict
AbstractPDFSignatureService.createDeveloperExtensionDict
(PdfDocumentReader documentReader, String baseVersion, Integer extensionLevel, String extensionRevision, String type, String url) Creates a new developer extension dictionary with the given configurationprotected void
AbstractPDFSignatureService.digitalSignatureEnhancement
(PdfDocumentReader documentReader, PAdESCommonParameters parameters) This method ensures the PDF document structure is correct for inclusion of specific digital signature's functionalitiesprotected void
AbstractPDFSignatureService.ensureESICDeveloperExtension1
(PdfDocumentReader documentReader) This method verifies presence of the ESIC developer extension with level 1 in the PDF document.protected void
AbstractPDFSignatureService.ensureESICDeveloperExtension2
(PdfDocumentReader documentReader) This method verifies presence of the ESIC developer extension with level 2 in the PDF document.protected void
AbstractPDFSignatureService.ensureISO_32001DeveloperExtension
(PdfDocumentReader documentReader) This method verifies presence of the ISO 32001 developer extension in the PDF document.protected void
AbstractPDFSignatureService.ensureISO_32002DeveloperExtension
(PdfDocumentReader documentReader) This method verifies presence of the ISO 32002 developer extension in the PDF document.protected AnnotationBox
AbstractPDFSignatureService.getVisibleSignatureFieldBoxPosition
(PdfDocumentReader reader, SignatureFieldParameters parameters) Checks if the signatureFieldBox overlaps with any existing annotations on the given page and returns the respectful signature field boxprotected AnnotationBox
AbstractPDFSignatureService.getVisibleSignatureFieldBoxPosition
(SignatureDrawer signatureDrawer, PdfDocumentReader documentReader, SignatureFieldParameters fieldParameters) Checks validity of the SignatureField position and returns the calculated signature field boxprotected List
<PdfModification> AbstractPDFSignatureService.getVisualDifferences
(PdfDocumentReader signedRevisionReader, PdfDocumentReader finalRevisionReader) Returns a list of visual differences between the provided PDF and the signed contentprotected boolean
AbstractPDFSignatureService.isDeveloperExtensionPresent
(PdfDocumentReader documentReader, String prefix, PdfDict developerExtension) Verifies whether the specified developer extension is present in the document's catalog. -
Uses of PdfDocumentReader in eu.europa.esig.dss.pdf.modifications
Modifier and TypeMethodDescriptionDefaultPdfObjectModificationsFinder.find
(PdfDocumentReader originalRevisionReader, PdfDocumentReader finalRevisionReader) PdfObjectModificationsFinder.find
(PdfDocumentReader originalRevisionReader, PdfDocumentReader finalRevisionReader) Returns found and categorized object modifications occurred betweenoriginalRevisionReader
andfinalRevisionReader
.DefaultPdfDifferencesFinder.getAnnotationOverlaps
(PdfDocumentReader reader) PdfDifferencesFinder.getAnnotationOverlaps
(PdfDocumentReader reader) Returns a list of found annotation overlapsDefaultPdfDifferencesFinder.getPagesDifferences
(PdfDocumentReader signedRevisionReader, PdfDocumentReader finalRevisionReader) PdfDifferencesFinder.getPagesDifferences
(PdfDocumentReader signedRevisionReader, PdfDocumentReader finalRevisionReader) Returns a list of missing/added pages between signed and final revisionsDefaultPdfDifferencesFinder.getVisualDifferences
(PdfDocumentReader signedRevisionReader, PdfDocumentReader finalRevisionReader) PdfDifferencesFinder.getVisualDifferences
(PdfDocumentReader signedRevisionReader, PdfDocumentReader finalRevisionReader) Returns a list of visual differences found between signed and final revisions excluding newly created annotations -
Uses of PdfDocumentReader in eu.europa.esig.dss.pdf.openpdf
Modifier and TypeClassDescriptionclass
The IText (OpenPdf) implementation ofPdfDocumentReader
Modifier and TypeMethodDescriptionprotected PdfDocumentReader
ITextPDFSignatureService.loadPdfDocumentReader
(DSSDocument dssDocument, char[] passwordProtection) Modifier and TypeMethodDescriptionprotected AnnotationBox
ITextPDFSignatureService.getVisibleSignatureFieldBoxPosition
(PdfDocumentReader reader, SignatureFieldParameters parameters) protected AnnotationBox
ITextPDFSignatureService.getVisibleSignatureFieldBoxPosition
(SignatureDrawer signatureDrawer, PdfDocumentReader documentReader, SignatureFieldParameters parameters) protected List
<PdfModification> ITextPDFSignatureService.getVisualDifferences
(PdfDocumentReader signedRevisionReader, PdfDocumentReader finalRevisionReader) -
Uses of PdfDocumentReader in eu.europa.esig.dss.pdf.pdfbox
Modifier and TypeClassDescriptionclass
The PDFBox implementation ofPdfDocumentReader
Modifier and TypeMethodDescriptionprotected PdfDocumentReader
PdfBoxSignatureService.loadPdfDocumentReader
(DSSDocument dssDocument, char[] passwordProtection)