Skip to main content

DocumentSigner Class

The base class for PDF document signers.

Declaration

public abstract class DocumentSigner extends JavaObject

Remarks

To sign a document with a signer, pass a Pkcs7DocumentSigner object to the PdfDocument.addSignature(field, signer) method.

The PDF Document API supports Pkcs7DocumentSigner signers only. If you pass another DocumentSigner descendant to the addSignature method, the PdfDocument.save method throws a NotSupportedException.

Refer to the following help topic for additional information: Sign PDF Documents — PDF Document API for Java.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.JavaObject
DocumentSigner
See Also

Methods

getOptions() Method

Returns signature options.

Declaration

public SignatureOptions getOptions()

Returns

Type Description
SignatureOptions

An object that contains the signature certificate, hash algorithm, and signer information.

Remarks

The PdfDocument.addSignature(field, signer) method signs the field with the certificate, hash algorithm, and signer information that the getOptions() method returns.