Uses of Class
org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature
Packages that use PDSignature
Package
Description
These examples will show how to gain access to the PDF signature.
The PDModel package represents a high level API for creating and manipulating PDF documents.
The fdf package will handle all of the logic used for FDF objects inside of the PDF/FDF document.
This is the visual signature part that help creating the visual representation for the digital signature.
The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".
-
Uses of PDSignature in org.apache.pdfbox.examples.signature
Fields in org.apache.pdfbox.examples.signature declared as PDSignatureMethods in org.apache.pdfbox.examples.signature that return PDSignatureModifier and TypeMethodDescriptionprivate PDSignatureCreateVisibleSignature.findExistingSignature(PDDocument doc, String sigFieldName) private PDSignatureCreateVisibleSignature2.findExistingSignature(PDAcroForm acroForm, String sigFieldName) static PDSignatureSigUtils.getLastRelevantSignature(PDDocument document) Gets the last relevant signature in the document, i.e.Methods in org.apache.pdfbox.examples.signature with parameters of type PDSignatureModifier and TypeMethodDescriptionprivate InputStreamCreateVisibleSignature2.createVisualSignatureTemplate(PDDocument srcDoc, int pageNum, PDRectangle rect, PDSignature signature) static voidSigUtils.setMDPPermission(PDDocument doc, PDSignature signature, int accessPermissions) Set the "modification detection and prevention" permissions granted for this document in the DocMDP transform parameters dictionary.private voidShowSignature.verifyPKCS7(InputStream signedContentAsStream, byte[] contents, PDSignature sig) Verify a PKCS7 signature. -
Uses of PDSignature in org.apache.pdfbox.examples.signature.validation
Methods in org.apache.pdfbox.examples.signature.validation with parameters of type PDSignatureModifier and TypeMethodDescriptionCertInformationCollector.getLastCertInfo(PDSignature signature, String fileName) Gets the certificate information of a signature. -
Uses of PDSignature in org.apache.pdfbox.pdmodel
Methods in org.apache.pdfbox.pdmodel that return PDSignatureModifier and TypeMethodDescriptionPDDocument.getLastSignatureDictionary()This will return the last signature from the field tree.Methods in org.apache.pdfbox.pdmodel that return types with arguments of type PDSignatureModifier and TypeMethodDescriptionPDDocument.getSignatureDictionaries()Retrieve all signature dictionaries from the document.Methods in org.apache.pdfbox.pdmodel with parameters of type PDSignatureModifier and TypeMethodDescriptionvoidPDDocument.addSignature(PDSignature sigObject) Add parameters of signature to be created externally using default signature options.voidPDDocument.addSignature(PDSignature sigObject, SignatureInterface signatureInterface) Add a signature to be created using the instance of given interface.voidPDDocument.addSignature(PDSignature sigObject, SignatureInterface signatureInterface, SignatureOptions options) This will add a signature to the document.voidPDDocument.addSignature(PDSignature sigObject, SignatureOptions options) Add parameters of signature to be created externally.private PDSignatureFieldPDDocument.findSignatureField(Iterator<PDField> fieldIterator, PDSignature sigObject) Search acroform fields for signature field with specific signature dictionary. -
Uses of PDSignature in org.apache.pdfbox.pdmodel.fdf
Methods in org.apache.pdfbox.pdmodel.fdf that return PDSignatureModifier and TypeMethodDescriptionFDFCatalog.getSignature()This will get the signature or null if there is none.Methods in org.apache.pdfbox.pdmodel.fdf with parameters of type PDSignatureModifier and TypeMethodDescriptionvoidFDFCatalog.setSignature(PDSignature sig) This will set the signature that is associated with this catalog. -
Uses of PDSignature in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible
Fields in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible declared as PDSignatureMethods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible that return PDSignatureMethods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible with parameters of type PDSignatureModifier and TypeMethodDescriptionvoidPDFTemplateStructure.setPdSignature(PDSignature pdSignature) Sets PDSignatureField -
Uses of PDSignature in org.apache.pdfbox.pdmodel.interactive.form
Methods in org.apache.pdfbox.pdmodel.interactive.form that return PDSignatureModifier and TypeMethodDescriptionPDSignatureField.getDefaultValue()Returns the default value, if any.PDSignatureField.getSignature()Get the signature dictionary.PDSignatureField.getValue()Returns the signature contained in this field.Methods in org.apache.pdfbox.pdmodel.interactive.form with parameters of type PDSignatureModifier and TypeMethodDescriptionvoidPDSignatureField.setDefaultValue(PDSignature value) Sets the default value of this field to be the given signature.voidPDSignatureField.setValue(PDSignature value) Sets the value of this field to be the given signature.