Aspose.Tasks for C++
|
Contains details for a PDF digital signature. More...
#include <PdfDigitalSignatureDetails.h>
Inherits System::Object.
Public Member Functions | |
const System::SharedPtr< System::Security::Cryptography::X509Certificates::X509Certificate2 > & | get_Certificate () const |
Gets the certificate to sign with. More... | |
void | set_Certificate (const System::SharedPtr< System::Security::Cryptography::X509Certificates::X509Certificate2 > &value) |
Sets the certificate to sign with. More... | |
System::String | get_Reason () const |
Gets the reason of signing. More... | |
void | set_Reason (const System::String &value) |
Sets the reason of signing. More... | |
System::String | get_Location () const |
Gets the location of signing. More... | |
void | set_Location (const System::String &value) |
Sets the location of signing. More... | |
System::DateTime | get_SignatureDate () const |
Gets the date of signing. More... | |
void | set_SignatureDate (System::DateTime value) |
Sets the date of signing. More... | |
PdfDigitalSignatureHashAlgorithm | get_HashAlgorithm () const |
Gets the hash algorithm. More... | |
void | set_HashAlgorithm (PdfDigitalSignatureHashAlgorithm value) |
Sets the hash algorithm. More... | |
PdfDigitalSignatureDetails (const System::SharedPtr< System::Security::Cryptography::X509Certificates::X509Certificate2 > &certificate, const System::String &reason, const System::String &location, System::DateTime signatureDate, PdfDigitalSignatureHashAlgorithm hashAlgorithm) | |
Initializes a new instance of the PdfDigitalSignatureDetails class. More... | |
Contains details for a PDF digital signature.
At the moment digitally signing PDF documents is only available on .NET 2.0 or higher.
Aspose::Tasks::Saving::PdfDigitalSignatureDetails::PdfDigitalSignatureDetails | ( | const System::SharedPtr< System::Security::Cryptography::X509Certificates::X509Certificate2 > & | certificate, |
const System::String & | reason, | ||
const System::String & | location, | ||
System::DateTime | signatureDate, | ||
PdfDigitalSignatureHashAlgorithm | hashAlgorithm | ||
) |
Initializes a new instance of the PdfDigitalSignatureDetails class.
certificate | The X509Certificate2 instance to sign with. |
reason | The reason of signing. |
location | The location of signing. |
signatureDate | The date of signing. |
hashAlgorithm | The hash algorithm of signing. |
const System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2>& Aspose::Tasks::Saving::PdfDigitalSignatureDetails::get_Certificate | ( | ) | const |
Gets the certificate to sign with.
PdfDigitalSignatureHashAlgorithm Aspose::Tasks::Saving::PdfDigitalSignatureDetails::get_HashAlgorithm | ( | ) | const |
Gets the hash algorithm.
System::String Aspose::Tasks::Saving::PdfDigitalSignatureDetails::get_Location | ( | ) | const |
Gets the location of signing.
System::String Aspose::Tasks::Saving::PdfDigitalSignatureDetails::get_Reason | ( | ) | const |
Gets the reason of signing.
System::DateTime Aspose::Tasks::Saving::PdfDigitalSignatureDetails::get_SignatureDate | ( | ) | const |
Gets the date of signing.
void Aspose::Tasks::Saving::PdfDigitalSignatureDetails::set_Certificate | ( | const System::SharedPtr< System::Security::Cryptography::X509Certificates::X509Certificate2 > & | value | ) |
Sets the certificate to sign with.
void Aspose::Tasks::Saving::PdfDigitalSignatureDetails::set_HashAlgorithm | ( | PdfDigitalSignatureHashAlgorithm | value | ) |
Sets the hash algorithm.
void Aspose::Tasks::Saving::PdfDigitalSignatureDetails::set_Location | ( | const System::String & | value | ) |
Sets the location of signing.
void Aspose::Tasks::Saving::PdfDigitalSignatureDetails::set_Reason | ( | const System::String & | value | ) |
Sets the reason of signing.
void Aspose::Tasks::Saving::PdfDigitalSignatureDetails::set_SignatureDate | ( | System::DateTime | value | ) |
Sets the date of signing.