Aspose::Pdf::Forms::SignatureField::Sign method

SignatureField::Sign(const System::SharedPtr<Aspose::Pdf::Forms::Signature>&) method

Sign the document using this signature field.

void Aspose::Pdf::Forms::SignatureField::Sign(const System::SharedPtr<Aspose::Pdf::Forms::Signature> &signature)
ParameterTypeDescription
signatureconst System::SharedPtr<Aspose::Pdf::Forms::Signature>&Signature object, see PKCS1, PKCS7 and PKCS7Detached.

See Also

SignatureField::Sign(const System::SharedPtr<Aspose::Pdf::Forms::Signature>&, const System::SharedPtr<System::IO::Stream>&, const System::String&) method

Signs the document using this signature field.

void Aspose::Pdf::Forms::SignatureField::Sign(const System::SharedPtr<Aspose::Pdf::Forms::Signature> &signature, const System::SharedPtr<System::IO::Stream> &pfx, const System::String &pass)
ParameterTypeDescription
signatureconst System::SharedPtr<Aspose::Pdf::Forms::Signature>&Signature object, see PKCS1, PKCS7, PKCS7Detached.
pfxconst System::SharedPtr<System::IO::Stream>&Stream with certificate.
passconst System::String&Password to access private in the pfx .

See Also