Java org.apache.pdfbox.pdmodel.interactive.digitalsignature PDSignature fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.pdmodel.interactive.digitalsignature PDSignature fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.pdmodel.interactive.digitalsignature PDSignature.

The text is from its open source code.

Field

COSNameFILTER_ADOBE_PPKLITE
A signature filter value.
COSNameSUBFILTER_ADBE_PKCS7_DETACHED
A signature subfilter value.
COSNameSUBFILTER_ETSI_CADES_DETACHED
A signature subfilter value.

Constructor

PDSignature()
Default constructor.

Method

int[]getByteRange()
Read out the byterange from the file.
StringgetContactInfo()
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.
COSDictionarygetCOSObject()
Convert this standard java object to a COS dictionary.
StringgetFilter()
Returns the filter.
StringgetLocation()
Returns the CPU host name or physical location of the signing.
StringgetName()
Returns the name of the person or authority signing the document.
StringgetReason()
Returns the reason for the signing, such as (I agree...).
CalendargetSignDate()
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.
StringgetSubFilter()
Returns the subfilter.
voidsetByteRange(int[] range)
Sets the byte range.
voidsetContactInfo(String contactInfo)
Sets the contact info provided by the signer to enable a recipient to contact the signer to verify the signature, e.g.
voidsetContents(byte[] bytes)
Sets the contents.
voidsetFilter(COSName filter)
Set the filter.
voidsetLocation(String location)
Sets the CPU host name or physical location of the signing.
voidsetName(String name)
Sets the name of the person or authority signing the document.
voidsetReason(String reason)
Sets the reason for the signing, such as (I agree...).
voidsetSignDate(Calendar cal)
Set the sign date.
voidsetSubFilter(COSName subfilter)
Set a subfilter that specify the signature that should be used.
voidsetType(COSName type)
Set the dictionary type.