Aspose::Words::Saving::PdfDigitalSignatureDetails class
Contents
[
Hide
]PdfDigitalSignatureDetails class
Contains details for signing a PDF document with a digital signature.
class PdfDigitalSignatureDetails : public System::Object
Methods
| Method | Description |
|---|---|
| PdfDigitalSignatureDetails() | Initializes an instance of this class. |
| PdfDigitalSignatureDetails(const System::SharedPtr<Aspose::Words::DigitalSignatures::CertificateHolder> &, const System::String &, const System::String &, System::DateTime) | Initializes an instance of this class. |
| get_CertificateHolder() const | Returns the certificate holder object that contains the certificate was used to sign the document. |
| get_HashAlgorithm() const | Gets or sets the hash algorithm. |
| get_Location() const | Gets or sets the location of the signing. |
| get_Reason() const | Gets or sets the reason for the signing. |
| get_SignatureDate() const | Gets or sets the date of the signing. |
| get_TimestampSettings() const | Gets or sets the digital signature timestamp settings. |
| set_CertificateHolder(const System::SharedPtr<Aspose::Words::DigitalSignatures::CertificateHolder> &) | Returns the certificate holder object that contains the certificate was used to sign the document. |
| set_HashAlgorithm(Aspose::Words::Saving::PdfDigitalSignatureHashAlgorithm) | Sets the hash algorithm. |
| set_Location(const System::String &) | Sets the location of the signing. |
| set_Reason(const System::String &) | Sets the reason for the signing. |
| set_SignatureDate(System::DateTime) | Sets the date of the signing. |
| set_TimestampSettings(const System::SharedPtr<Aspose::Words::Saving::PdfDigitalSignatureTimestampSettings> &) | Sets the digital signature timestamp settings. |
Remarks
At the moment digitally signing PDF documents is only available on .NET 3.5 or higher.
To digitally sign a PDF document when it is created by Aspose.Words, set the DigitalSignatureDetails property to a valid PdfDigitalSignatureDetails object and then save the document in the PDF format passing the PdfSaveOptions as a parameter into the Save() method.
Aspose.Words creates a PKCS#7 signature over the whole PDF document and uses the “Adobe.PPKMS” filter and “adbe.pkcs7.sha1” subfilter when creating a digital signature.
See Also
- Namespace Aspose::Words::Saving
- Library Aspose.Words for C++