Signature Properties

Introdruction

Signature properties can be set in 2 ways. The Signer class comes with several constants representing the properties, a getSignatureProperty() and setSignatureProperty() method to pass them to or by proxy methods for the individual properies.

Predefined Constants

The following constants define the possible properties to set or get: 

public const string SetaPDF_Signer::PROP_CONTACT_INFO = 'ContactInfo'

Property constant

public const string SetaPDF_Signer::PROP_LOCATION = 'Location'

Property constant

public const string SetaPDF_Signer::PROP_NAME = 'Name'

Property constant

public const string SetaPDF_Signer::PROP_REASON = 'Reason'

Property constant

public const string SetaPDF_Signer::PROP_TIME_OF_SIGNING = 'M'

Property constant

The setSignatureProperty() and getSignatureProperty() Methods

 These predefined constants can be passed as parameters to the methods: 

getSignatureProperty()

Get a signature property.

setSignatureProperty()

Set a signature property.

The Proxy Methods

The following proxy methods can be used to set and get signature properties too:  

getContactInfo()

Get the information provided by the signer to enable a recipient to contact the signer to verify the signature.

getLocation()

Get the CPU host name or physical location of the signing.

getName()

Get the name of the person or authority signing the document.

getReason()

Get the reason for the signing.

getTimeOfSigning()

Get the time of signing.

setContactInfo()

Set the information provided by the signer to enable a recipient to contact the signer to verify the signature.

setLocation()

Set the host name or physical location of the signing.

setName()

Set the name of the person or authority signing the document.

setReason()

Set the reason for the signing.

setTimeOfSigning()

Set the time of signing.