Package eu.europa.esig.dss.pdf
Class PdfObjFactory
- java.lang.Object
-
- eu.europa.esig.dss.pdf.PdfObjFactory
-
public class PdfObjFactory extends Object
The usage of this interface permit the user to choose the underlying PDF library use to created PDF signatures.
-
-
Method Summary
Modifier and Type Method Description static PDFSignatureServicenewPAdESSignatureService()static PDFTimestampServicenewTimestampSignatureService()static voidsetInstance(IPdfObjFactory instance)This method allows to set a custom IPdfObjFactory (or null to reset to the default behavior)
-
-
-
Method Detail
-
setInstance
public static void setInstance(IPdfObjFactory instance)
This method allows to set a custom IPdfObjFactory (or null to reset to the default behavior)- Parameters:
instance- the new instance to be used
-
newPAdESSignatureService
public static PDFSignatureService newPAdESSignatureService()
-
newTimestampSignatureService
public static PDFTimestampService newTimestampSignatureService()
-
-