Aspose::Pdf::Forms::PKCS7::PKCS7 constructor

PKCS7::PKCS7() constructor

Initializes new instance of the PKCS7 class.

Aspose::Pdf::Forms::PKCS7::PKCS7()

See Also

PKCS7::PKCS7(const System::SharedPtr<Aspose::Pdf::TimestampSettings>&) constructor

Inititalizes new instance of the PKCS7 class.

Aspose::Pdf::Forms::PKCS7::PKCS7(const System::SharedPtr<Aspose::Pdf::TimestampSettings> &timestampSettings)
ParameterTypeDescription
timestampSettingsconst System::SharedPtr<Aspose::Pdf::TimestampSettings>&The timestamp settings for the signature.

Remarks

The timestamp settings are used to create the timestamp signature without the need to provide a certificate. You can set the timestamp for a document as a separate signature.

See Also

PKCS7::PKCS7(const System::SharedPtr<System::IO::Stream>&, const System::String&) constructor

Initializes new instance of the PKCS7 class.

Aspose::Pdf::Forms::PKCS7::PKCS7(const System::SharedPtr<System::IO::Stream> &pfx, const System::String &password)
ParameterTypeDescription
pfxconst System::SharedPtr<System::IO::Stream>&Stream with certificate data organized as pfx.
passwordconst System::String&Password to get access to the private key in the certificate.

See Also

PKCS7::PKCS7(const System::String&, const System::String&) constructor

Initializes new instance of the PKCS7 class.

Aspose::Pdf::Forms::PKCS7::PKCS7(const System::String &pfx, const System::String &password)
ParameterTypeDescription
pfxconst System::String&Pfx file which contains certificate for signing.
passwordconst System::String&Password for certificate.

Remarks

Password to get access to the private key in the certificate.

See Also