Aspose::Cells::DigitalSignatures::DigitalSignature class

DigitalSignature class

Signature in file.

class DigitalSignature

Methods

MethodDescription
DigitalSignature(const Vector <uint8_t>& rawData, const U16String& password, const U16String& comments, const Date& signTime)Constructor of DigitalSignature.
DigitalSignature(const Vector <uint8_t>& rawData, const char16_t* password, const char16_t* comments, const Date& signTime)Constructor of DigitalSignature.
DigitalSignature(const U16String& fileName, const U16String& password, const U16String& comments, const Date& signTime)Constructor of DigitalSignature.
DigitalSignature(const char16_t* fileName, const char16_t* password, const char16_t* comments, const Date& signTime)Constructor of DigitalSignature.
DigitalSignature(DigitalSignature_Impl* impl)Constructs from an implementation object.
DigitalSignature(const DigitalSignature& src)Copy constructor.
GetComments()The purpose to signature.
GetId(UUID& uuid)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.
GetImage()Specifies an image for the digital signature. Default value is null.
GetProviderId(UUID& uuid)Specifies the class ID of the signature provider. Default value is Empty (all zeroes) Guid.
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).
IsNull() constChecks whether the implementation object is nullptr.
IsValid()If this digital signature is valid and the document has not been tampered with, this value will be true.
explicit operator bool() constoperator bool()
operator=(const DigitalSignature& src)operator=
SetComments(const U16String& value)The purpose to signature.
SetComments(const char16_t* value)The purpose to signature.
SetId(const UUID& value)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.
SetImage(const Vector <uint8_t>& value)Specifies an image for the digital signature. Default value is null.
SetProviderId(const UUID& value)Specifies the class ID of the signature provider. Default value is Empty (all zeroes) Guid.
SetSignTime(const Date& value)The time when the document was signed.
SetText(const U16String& value)Specifies the text of actual signature in the digital signature. Default value is Empty.
SetText(const char16_t* value)Specifies the text of actual signature in the digital signature. Default value is Empty.
SetXAdESType(XAdESType value)XAdES type. Default value is None(XAdES is off).
~DigitalSignature()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also