Aspose::Words::DigitalSignatures::DigitalSignatureUtil::Sign method. Signs source document using given CertificateHolder with digital signature and writes signed document to destination stream. Supported formats are: Doc, Dot, Docx, Dotx, Docm, Odt, Ott.Output will be written to the start of stream and stream size will be updated with content length in C++....Supported formats are: Doc , Dot , Docx , Dotx , Docm , Odt , Ott ....DetectFileFormat ( MyDir + u "Document.docx" ) -> get_HasDigitalSignature...