Aspose.Tasks for C++
Aspose::Tasks::Saving::PdfDigitalSignatureDetails Class Reference

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...
 

Detailed Description

Contains details for a PDF digital signature.

At the moment digitally signing PDF documents is only available on .NET 2.0 or higher.

Constructor & Destructor Documentation

◆ PdfDigitalSignatureDetails()

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.

Parameters
certificateThe X509Certificate2 instance to sign with.
reasonThe reason of signing.
locationThe location of signing.
signatureDateThe date of signing.
hashAlgorithmThe hash algorithm of signing.

Member Function Documentation

◆ get_Certificate()

const System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2>& Aspose::Tasks::Saving::PdfDigitalSignatureDetails::get_Certificate ( ) const

Gets the certificate to sign with.

◆ get_HashAlgorithm()

PdfDigitalSignatureHashAlgorithm Aspose::Tasks::Saving::PdfDigitalSignatureDetails::get_HashAlgorithm ( ) const

Gets the hash algorithm.

◆ get_Location()

System::String Aspose::Tasks::Saving::PdfDigitalSignatureDetails::get_Location ( ) const

Gets the location of signing.

◆ get_Reason()

System::String Aspose::Tasks::Saving::PdfDigitalSignatureDetails::get_Reason ( ) const

Gets the reason of signing.

◆ get_SignatureDate()

System::DateTime Aspose::Tasks::Saving::PdfDigitalSignatureDetails::get_SignatureDate ( ) const

Gets the date of signing.

◆ set_Certificate()

void Aspose::Tasks::Saving::PdfDigitalSignatureDetails::set_Certificate ( const System::SharedPtr< System::Security::Cryptography::X509Certificates::X509Certificate2 > &  value)

Sets the certificate to sign with.

◆ set_HashAlgorithm()

void Aspose::Tasks::Saving::PdfDigitalSignatureDetails::set_HashAlgorithm ( PdfDigitalSignatureHashAlgorithm  value)

Sets the hash algorithm.

◆ set_Location()

void Aspose::Tasks::Saving::PdfDigitalSignatureDetails::set_Location ( const System::String &  value)

Sets the location of signing.

◆ set_Reason()

void Aspose::Tasks::Saving::PdfDigitalSignatureDetails::set_Reason ( const System::String &  value)

Sets the reason of signing.

◆ set_SignatureDate()

void Aspose::Tasks::Saving::PdfDigitalSignatureDetails::set_SignatureDate ( System::DateTime  value)

Sets the date of signing.