Aspose::Pdf::Facades::PdfFileSignature class
Contents
[
Hide
]PdfFileSignature class
Represents a class to sign a pdf file with a certificate.
class PdfFileSignature : public Aspose::Pdf::Facades::SaveableFacade
Methods
Method | Description |
---|---|
BindPdf(System::String) override | Binds a Pdf file for editing. |
BindPdf(System::SharedPtr<System::IO::Stream>) override | Binds a Pdf stream for editing. |
Certify(int32_t, System::String, System::String, System::String, bool, System::Drawing::Rectangle, System::SharedPtr<Aspose::Pdf::Forms::DocMDPSignature>) | Certify the document with the MDP signature. Such data as signature reason, contact and location must be provided by corresponding properties of the Signature object sig. |
Certify(System::String, System::SharedPtr<Aspose::Pdf::Forms::DocMDPSignature>) | Certify the document with the MDP signature which is placed in already presented signature field. Before signing signature field must be empty, i.e. field must not contain signature dictionary. Thus pdf document already has signature field, you should not supply the place to stamp the signature, corresponding page and rectangle are taken from signature field which is found by signature name (see sigName parameter). |
Close() override | Closes the facade. |
ContainsSignature() | Checks if the pdf has a digital signature or not. |
ContainsUsageRights() | Checks if the pdf has a usage rights or not. |
CoversWholeDocument(System::String) | Checks if the signature covers the whole document. |
ExtractCertificate(System::String) | Extracts signature’s single X.509 certificate as a stream. |
ExtractImage(System::String) | Extracts signature’s image. |
get_IsCertified() | Gets the flag determining whether a document is certified or not. |
get_IsLtvEnabled() | Gets the LTV enabled flag. |
get_SignatureAppearance() const | Sets or gets a graphic appearance for the signature. Property value represents image file name. |
get_SignatureAppearanceStream() const | Sets or gets a graphic appearance for the signature. Property value represents image stream. |
GetAccessPermissions() | Returns the access permissions value of certified document by the MDP signature type. |
GetBlankSignNames() | Gets the names of all empty signature fields. |
GetContactInfo(System::String) | Gets the contact information of a signature. |
GetDateTime(System::String) | Gets the signature’s datetime. |
GetLocation(System::String) | Gets the location of a signature. |
GetReason(System::String) | Gets the reason of a signature. |
GetRevision(System::String) | Gets the revision of a signature. |
GetSignaturesInfo() | Retrieves information about all signatures algorithm present in the PDF document. |
GetSignerName(System::String) | Gets the name of person or organization who signing the pdf document. |
GetSignNames(bool) | Gets the names of all not empty signatures. |
GetTotalRevision() | Gets the toltal revision. |
IsContainSignature() | Checks if the pdf has a digital signature or not. |
IsCoversWholeDocument(System::String) | Checks if the signature covers the whole document. |
PdfFileSignature() | The constructor of PdfFileSignature class. |
PdfFileSignature(System::String) | The constructor of PdfFileSignature class. |
PdfFileSignature(System::String, System::String) | The constructor of PdfFileSignature class. |
PdfFileSignature(System::SharedPtr<Aspose::Pdf::Document>) | Initializes new PdfFileSignature object on base of the document . |
PdfFileSignature(System::SharedPtr<Aspose::Pdf::Document>, System::String) | Initializes new PdfFileSignature object on base of the document . |
RemoveSignature(System::String) | Remove the signature according to the name of the signature. |
RemoveSignature(System::String, bool) | Removes the signature according to the name of the signature. |
RemoveSignatures() | Removes all signatures. |
RemoveUsageRights() | Removes the usage rights entry. |
Save(System::String) override | Saves the result PDF to file. |
Save(System::SharedPtr<System::IO::Stream>) override | Saves the result PDF to stream. |
Save() | Save signed pdf file. Output filename must be provided before with the help of coresponding PdfFileSignature constructor. |
set_SignatureAppearance(System::String) | Sets or gets a graphic appearance for the signature. Property value represents image file name. |
set_SignatureAppearanceStream(System::SharedPtr<System::IO::Stream>) | Sets or gets a graphic appearance for the signature. Property value represents image stream. |
SetCertificate(System::String, System::String) | Set certificate file and password for signing routine. |
Sign(int32_t, System::String, System::String, System::String, bool, System::Drawing::Rectangle) | Make a signature on the pdf document. |
Sign(int32_t, System::String, System::String, System::String, bool, System::Drawing::Rectangle, System::SharedPtr<Aspose::Pdf::Forms::Signature>) | Sign the document with the given type signature. |
Sign(int32_t, bool, System::Drawing::Rectangle, System::SharedPtr<Aspose::Pdf::Forms::Signature>) | Sign the document with the given type signature. |
Sign(System::String, System::String, System::String, System::String, System::SharedPtr<Aspose::Pdf::Forms::Signature>) | Sign the document with the given type signature which is placed in already presented signature field. Before signing signature field must be empty, i.e. field must not contain signature dictionary. Thus pdf document already has signature field, you should not supply the place to stamp the signature, corresponding page and rectangle are taken from signature field which is found by signature name (see SigName parameter). |
Sign(int32_t, System::String, System::String, System::String, System::String, bool, System::Drawing::Rectangle, System::SharedPtr<Aspose::Pdf::Forms::Signature>) | Sign the document with the given type signature which is placed in already presented signature field. Before signing pdf document should already has signature field, corresponding page and rectangle are taken from signature field which is found by signature name (see SigName parameter). |
Sign(System::String, System::SharedPtr<Aspose::Pdf::Forms::Signature>) | Sign the document with the given type signature which is placed in already presented signature field. Before signing signature field must be empty, i.e. field must not contain signature dictionary. Thus pdf document already has signature field, you should not supply the place to stamp the signature, corresponding page and rectangle are taken from signature field which is found by signature name (see SigName parameter). Such data as signature reason, contact and location must be provided by corresponding properties of the Signature object sig. |
VerifySignature(System::String) | Checks the validity of a signature. |
VerifySigned(System::String) | Checks the validity of a signature. The method is deprecated and will be deleted in 25.1 version. Use VerifySignature method instead. |
See Also
- Class SaveableFacade
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++