Package eu.europa.esig.dss.pdf
Interface IPdfObjFactory
- All Known Implementing Classes:
AbstractPdfObjFactory
,ITextDefaultPdfObjFactory
,PdfBoxDefaultObjectFactory
,PdfBoxNativeObjectFactory
,ServiceLoaderPdfObjFactory
public interface IPdfObjFactory
Loads the relevant implementation of
PDFSignatureService
-
Method Summary
Modifier and TypeMethodDescriptionThe services used for an archive timestamp creationThe services used for a content timestamp creationThe services used for a signature creationThe services used for a signature timestamp creationvoid
setPdfDifferencesFinder
(PdfDifferencesFinder pdfDifferencesFinder) This method is used to set a customPdfDifferencesFinder
to detect differences between signed and final PDF document revisions.void
setPdfObjectModificationsFinder
(PdfObjectModificationsFinder pdfObjectModificationsFinder) This method is used to set a customPdfObjectModificationsFinder
to detect modifications occurred within internal PDF objects between signed and final PDF document revisions.void
setPdfPermissionsChecker
(PdfPermissionsChecker pdfPermissionsChecker) This method is used to set a customPdfPermissionsChecker
to verify the PDF document encryption dictionary permission rules for a new signature creation, when applicablevoid
setPdfSignatureFieldPositionChecker
(PdfSignatureFieldPositionChecker pdfSignatureFieldPositionChecker) This method is used to set a customPdfSignatureFieldPositionChecker
to verify the validity of new signature field placement.void
setResourcesHandlerBuilder
(DSSResourcesHandlerBuilder resourcesHandlerBuilder) This method sets aDSSResourcesHandlerBuilder
to be used for operating with internal objects during the signature creation procedure.
-
Method Details
-
newContentTimestampService
PDFSignatureService newContentTimestampService()The services used for a content timestamp creation- Returns:
PDFSignatureService
-
newPAdESSignatureService
PDFSignatureService newPAdESSignatureService()The services used for a signature creation- Returns:
PDFSignatureService
-
newSignatureTimestampService
PDFSignatureService newSignatureTimestampService()The services used for a signature timestamp creation- Returns:
PDFSignatureService
-
newArchiveTimestampService
PDFSignatureService newArchiveTimestampService()The services used for an archive timestamp creation- Returns:
PDFSignatureService
-
setResourcesHandlerBuilder
This method sets aDSSResourcesHandlerBuilder
to be used for operating with internal objects during the signature creation procedure.- Parameters:
resourcesHandlerBuilder
-DSSResourcesHandlerBuilder
-
setPdfDifferencesFinder
This method is used to set a customPdfDifferencesFinder
to detect differences between signed and final PDF document revisions.- Parameters:
pdfDifferencesFinder
-PdfDifferencesFinder
-
setPdfObjectModificationsFinder
This method is used to set a customPdfObjectModificationsFinder
to detect modifications occurred within internal PDF objects between signed and final PDF document revisions.- Parameters:
pdfObjectModificationsFinder
-PdfObjectModificationsFinder
-
setPdfPermissionsChecker
This method is used to set a customPdfPermissionsChecker
to verify the PDF document encryption dictionary permission rules for a new signature creation, when applicable- Parameters:
pdfPermissionsChecker
-PdfPermissionsChecker
-
setPdfSignatureFieldPositionChecker
void setPdfSignatureFieldPositionChecker(PdfSignatureFieldPositionChecker pdfSignatureFieldPositionChecker) This method is used to set a customPdfSignatureFieldPositionChecker
to verify the validity of new signature field placement.- Parameters:
pdfSignatureFieldPositionChecker
-PdfPermissionsChecker
-