DigitalSignature Class

DigitalSignature class

Signature in file.


type DigitalSignature struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewDigitalSignatureConstructor of DigitalSignature.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetCommentsThe purpose to signature.
SetCommentsThe purpose to signature.
GetSignTimeThe time when the document was signed.
SetSignTimeThe time when the document was signed.
GetIdSpecifies 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.
SetIdSpecifies 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.
GetTextSpecifies the text of actual signature in the digital signature.Default value is Empty.
SetTextSpecifies the text of actual signature in the digital signature.Default value is Empty.
GetProviderIdSpecifies the class ID of the signature provider.Default value is Empty (all zeroes) Guid.
SetProviderIdSpecifies the class ID of the signature provider.Default value is Empty (all zeroes) Guid.
IsValidIf this digital signature is valid and the document has not been tampered with,this value will be true.
GetXAdESTypeXAdES type.Default value is None(XAdES is off).
SetXAdESTypeXAdES type.Default value is None(XAdES is off).