Skip to main content

SignatureOptions Class

Specifies options used to sign a PDF document.

Declaration

public class SignatureOptions extends JavaObject

Remarks

Refer to the following help topic for additional information: Create a Signature Field.

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
SignatureOptions

SignatureOptions()

Initializes a new instance of the SignatureOptions class.

Declaration

public SignatureOptions()

Methods

getCertificate() Method

Returns the X.509 signature certificate.

Declaration

public X509Certificate2 getCertificate()

Returns

Type Description
X509Certificate2

The signature certificate.

getContactInfo() Method

Returns the signer’s contact information stored in the signature.

Declaration

public String getContactInfo()

Returns

Type Description
String

The signer’s contact information.

getHashAlgorithm() Method

Returns the hash algorithm used to hash the signature.

Declaration

public HashAlgorithm getHashAlgorithm()

Returns

Type Description
HashAlgorithm

The hash algorithm.

getLocation() Method

Returns the signing location stored in the signature (for example, the company address).

Declaration

public String getLocation()

Returns

Type Description
String

The signing location stored in the signature.

getReason() Method

Returns the reason to apply a signature..

Declaration

public String getReason()

Returns

Type Description
String

The reason for the signature (for example, to indicate agreement to a contract).

setCertificate(X509Certificate2 value) Method

Sets the X.509 signature certificate.

Declaration

public void setCertificate(X509Certificate2 value)

Parameters

Name Type Description
value X509Certificate2

The signature certificate.

setContactInfo(String value) Method

Sets the signer’s contact information.

Declaration

public void setContactInfo(String value)

Parameters

Name Type Description
value String

The signer’s contact information.

setHashAlgorithm(HashAlgorithm value) Method

Sets the hash algorithm used to hash the signature.

Declaration

public void setHashAlgorithm(HashAlgorithm value)

Parameters

Name Type Description
value HashAlgorithm

The hash algorithm.

setLocation(String value) Method

Sets the signing location stored in the signature.

Declaration

public void setLocation(String value)

Parameters

Name Type Description
value String

The signing location (for example, the company address).

setReason(String value) Method

Sets the reason to apply a signature.

Declaration

public void setReason(String value)

Parameters

Name Type Description
value String

The signing reason.