Example usage for Java org.apache.pdfbox.pdmodel.interactive.digitalsignature PDSignature fields, constructors, methods, implement or subclass
The text is from its open source code.
COSName | FILTER_ADOBE_PPKLITE A signature filter value. |
COSName | SUBFILTER_ADBE_PKCS7_DETACHED A signature subfilter value. |
COSName | SUBFILTER_ETSI_CADES_DETACHED A signature subfilter value. |
PDSignature() Default constructor. |
int[] | getByteRange() Read out the byterange from the file. |
String | getContactInfo() Returns the contact info provided by the signer to enable a recipient to contact the signer to verify the signature, e.g. |
byte[] | getContents(InputStream pdfFile) Will return the embedded signature between the byterange gap. |
byte[] | getContents(byte[] pdfFile) Will return the embedded signature between the byterange gap. |
COSDictionary | getCOSObject() Convert this standard java object to a COS dictionary. |
String | getFilter() Returns the filter. |
String | getLocation() Returns the CPU host name or physical location of the signing. |
String | getName() Returns the name of the person or authority signing the document. |
String | getReason() Returns the reason for the signing, such as (I agree...). |
Calendar | getSignDate() Returns the sign date. |
byte[] | getSignedContent(InputStream pdfFile) Return the signed content of the document. |
byte[] | getSignedContent(byte[] pdfFile) Return the signed content of the document. |
String | getSubFilter() Returns the subfilter. |
void | setByteRange(int[] range) Sets the byte range. |
void | setContactInfo(String contactInfo) Sets the contact info provided by the signer to enable a recipient to contact the signer to verify the signature, e.g. |
void | setContents(byte[] bytes) Sets the contents. |
void | setFilter(COSName filter) Set the filter. |
void | setLocation(String location) Sets the CPU host name or physical location of the signing. |
void | setName(String name) Sets the name of the person or authority signing the document. |
void | setReason(String reason) Sets the reason for the signing, such as (I agree...). |
void | setSignDate(Calendar cal) Set the sign date. |
void | setSubFilter(COSName subfilter) Set a subfilter that specify the signature that should be used. |
void | setType(COSName type) Set the dictionary type. |