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 |
---|---|
get_CertificateHolder() const | Returns the certificate holder object that contains the certificate was used to sign the document. |
get_HashAlgorithm() const | Gets the hash algorithm. |
get_Location() const | Gets the location of the signing. |
get_Reason() const | Gets 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. |
GetType() const override | |
Is(const System::TypeInfo&) const override | |
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. |
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) | Setter for Aspose::Words::Saving::PdfDigitalSignatureDetails::get_SignatureDate. |
set_TimestampSettings(const System::SharedPtr<Aspose::Words::Saving::PdfDigitalSignatureTimestampSettings>&) | Setter for Aspose::Words::Saving::PdfDigitalSignatureDetails::get_TimestampSettings. |
static Type() |
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++