Methods

getCertificate()

Certificate object that was used to sign the document.

getComments()

The purpose to signature.

getId()

Specifies a GUID which can be cross-referenced with the GUID of the signature line stored in the document content. Default value is Empty (all zeroes) Guid. When set, it associates SignatureLine with corresponding DigitalSignature.

getImage()

Specifies an image for the digital signature. Default value is null.

getProviderId()

Specifies the class ID of the signature provider. Default value is Empty (all zeroes) Guid. The cryptographic service provider (CSP) is an independent software module that actually performs cryptography algorithms for authentication, encoding, and encryption. Microsoft Office reserves the value of {00000000-0000-0000-0000-000000000000} for its default signature provider, and {000CD6A4-0000-0000-C000-000000000046} for its East Asian signature provider. The GUID of the additionally installed provider should be obtained from the documentation shipped with the provider.

getSignTime()

The time when the document was signed.

getText()

Specifies the text of actual signature in the digital signature. Default value is Empty.

getXAdESType()

XAdES type. Default value is None(XAdES is off). The value of the property is XAdESType integer constant.

isValid()

If this digital signature is valid and the document has not been tampered with, this value will be true.

setCertificate()

Certificate object that was used to sign the document.

setComments()

The purpose to signature.

setId()

Specifies a GUID which can be cross-referenced with the GUID of the signature line stored in the document content. Default value is Empty (all zeroes) Guid. When set, it associates SignatureLine with corresponding DigitalSignature.

setImage()

Specifies an image for the digital signature. Default value is null.

setProviderId()

Specifies the class ID of the signature provider. Default value is Empty (all zeroes) Guid. The cryptographic service provider (CSP) is an independent software module that actually performs cryptography algorithms for authentication, encoding, and encryption. Microsoft Office reserves the value of {00000000-0000-0000-0000-000000000000} for its default signature provider, and {000CD6A4-0000-0000-C000-000000000046} for its East Asian signature provider. The GUID of the additionally installed provider should be obtained from the documentation shipped with the provider.

setSignTime()

The time when the document was signed.

setText()

Specifies the text of actual signature in the digital signature. Default value is Empty.

setXAdESType()

XAdES type. Default value is None(XAdES is off). The value of the property is XAdESType integer constant.