Aspose::Pdf::Facades::PdfFileSignature::Certify method
Contents
[
Hide
]PdfFileSignature::Certify(int32_t, System::String, System::String, System::String, bool, System::Drawing::Rectangle, System::SharedPtr<Aspose::Pdf::Forms::DocMDPSignature>) method
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.
void Aspose::Pdf::Facades::PdfFileSignature::Certify(int32_t page, System::String SigReason, System::String SigContact, System::String SigLocation, bool visible, System::Drawing::Rectangle annotRect, System::SharedPtr<Aspose::Pdf::Forms::DocMDPSignature> docMdpSignature)
Parameter | Type | Description |
---|---|---|
page | int32_t | The page on which signature is made. |
SigReason | System::String | The reason of signature. |
SigContact | System::String | The contact of signature. |
SigLocation | System::String | The location of signature. |
visible | bool | The visiblity of signature. |
annotRect | System::Drawing::Rectangle | The rect of signature. |
docMdpSignature | System::SharedPtr<Aspose::Pdf::Forms::DocMDPSignature> | The document MDP type of the signature. |
See Also
- Class DocMDPSignature
- Class PdfFileSignature
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileSignature::Certify(System::String, System::SharedPtr<Aspose::Pdf::Forms::DocMDPSignature>) method
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).
void Aspose::Pdf::Facades::PdfFileSignature::Certify(System::String sigName, System::SharedPtr<Aspose::Pdf::Forms::DocMDPSignature> docMdpSignature)
Parameter | Type | Description |
---|---|---|
sigName | System::String | The name of the signature field. |
docMdpSignature | System::SharedPtr<Aspose::Pdf::Forms::DocMDPSignature> | The type of the signature, could be Aspose::Pdf::Forms::PKCS1, Aspose::Pdf::Forms::PKCS7 and Aspose::Pdf::Forms::PKCS7Detached |
See Also
- Class DocMDPSignature
- Class PdfFileSignature
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++