Aspose::Pdf::Facades::PdfFileSignature::Sign method

PdfFileSignature::Sign(int32_t, bool, System::Drawing::Rectangle, System::SharedPtr<Aspose::Pdf::Forms::Signature>) method

Sign the document with the given type signature.

void Aspose::Pdf::Facades::PdfFileSignature::Sign(int32_t page, bool visible, System::Drawing::Rectangle annotRect, System::SharedPtr<Aspose::Pdf::Forms::Signature> sig)
ParameterTypeDescription
pageint32_tThe page number on which signature is made.
visibleboolThe visiblity of signature.
annotRectSystem::Drawing::RectangleThe rect of signature.
sigSystem::SharedPtr<Aspose::Pdf::Forms::Signature>The type of the signature, could be PKCS1, PKCS7 and PKCS7Detached. Such data as signature reason, contact and location must be already present in this object (see corresponding properties).

See Also

PdfFileSignature::Sign(int32_t, System::String, System::String, System::String, System::String, bool, System::Drawing::Rectangle, System::SharedPtr<Aspose::Pdf::Forms::Signature>) method

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

void Aspose::Pdf::Facades::PdfFileSignature::Sign(int32_t page, System::String SigName, System::String SigReason, System::String SigContact, System::String SigLocation, bool visible, System::Drawing::Rectangle annotRect, System::SharedPtr<Aspose::Pdf::Forms::Signature> sig)
ParameterTypeDescription
pageint32_tThe page number on which signature is made.
SigNameSystem::StringThe name of the signature field.
SigReasonSystem::StringThe reason of signature.
SigContactSystem::StringThe contact of signature.
SigLocationSystem::StringThe location of signature.
visibleboolThe visiblity of signature.
annotRectSystem::Drawing::RectangleThe rect of signature.
sigSystem::SharedPtr<Aspose::Pdf::Forms::Signature>The type of the signature, could be PKCS1, PKCS7 and PKCS7Detached.

See Also

PdfFileSignature::Sign(int32_t, System::String, System::String, System::String, bool, System::Drawing::Rectangle) method

Make a signature on the pdf document.

void Aspose::Pdf::Facades::PdfFileSignature::Sign(int32_t page, System::String SigReason, System::String SigContact, System::String SigLocation, bool visible, System::Drawing::Rectangle annotRect)
ParameterTypeDescription
pageint32_tThe page number on which signature is made.
SigReasonSystem::StringThe reason of signature.
SigContactSystem::StringThe contact of signature.
SigLocationSystem::StringThe location of signature.
visibleboolThe visiblity of signature.
annotRectSystem::Drawing::RectangleThe rect of signature.

See Also

PdfFileSignature::Sign(int32_t, System::String, System::String, System::String, bool, System::Drawing::Rectangle, System::SharedPtr<Aspose::Pdf::Forms::Signature>) method

Sign the document with the given type signature.

void Aspose::Pdf::Facades::PdfFileSignature::Sign(int32_t page, System::String SigReason, System::String SigContact, System::String SigLocation, bool visible, System::Drawing::Rectangle annotRect, System::SharedPtr<Aspose::Pdf::Forms::Signature> sig)
ParameterTypeDescription
pageint32_tThe page number on which signature is made.
SigReasonSystem::StringThe reason of signature.
SigContactSystem::StringThe contact of signature.
SigLocationSystem::StringThe location of signature.
visibleboolThe visiblity of signature.
annotRectSystem::Drawing::RectangleThe rect of signature.
sigSystem::SharedPtr<Aspose::Pdf::Forms::Signature>The type of the signature, could be PKCS1, PKCS7 and PKCS7Detached.

See Also

PdfFileSignature::Sign(System::String, System::SharedPtr<Aspose::Pdf::Forms::Signature>) method

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.

void Aspose::Pdf::Facades::PdfFileSignature::Sign(System::String SigName, System::SharedPtr<Aspose::Pdf::Forms::Signature> sig)
ParameterTypeDescription
SigNameSystem::StringThe name of the signature field.
sigSystem::SharedPtr<Aspose::Pdf::Forms::Signature>The type of the signature, could be PKCS1 (Pkcs1Signature object), PKCS7 and PKCS7 detached (Pkcs7Signature object)

See Also

PdfFileSignature::Sign(System::String, System::String, System::String, System::String, System::SharedPtr<Aspose::Pdf::Forms::Signature>) method

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

void Aspose::Pdf::Facades::PdfFileSignature::Sign(System::String SigName, System::String SigReason, System::String SigContact, System::String SigLocation, System::SharedPtr<Aspose::Pdf::Forms::Signature> sig)
ParameterTypeDescription
SigNameSystem::StringThe name of the signature field.
SigReasonSystem::StringThe reason of signature.
SigContactSystem::StringThe contact of signature.
SigLocationSystem::StringThe location of signature.
sigSystem::SharedPtr<Aspose::Pdf::Forms::Signature>The type of the signature, could be PKCS1, PKCS7 and PKCS7Detached.

See Also