Aspose::Pdf::Forms::ExternalSignature class

ExternalSignature class

Creates a detached PKCS#7Detached signature using a X509Certificate2. It supports usb smartcards, tokens without exportable private keys.

class ExternalSignature : public Aspose::Pdf::Forms::Signature

Methods

MethodDescription
ExternalSignature(System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2>)Creates a detached PKCS#7Detached signature using a X509Certificate2. It supports usb smartcards, tokens without exportable private keys.
ExternalSignature(System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2>, bool)Creates a detached PKCS#7Detached signature using a X509Certificate2. It supports usb smartcards, tokens without exportable private keys.
ExternalSignature(System::String, bool)Creates a PKCS#7 (detached) signature using a X509Certificate2 as base64 string.
get_Authority() constThe name of the person or authority signing the document.
get_ByteRange() constAn array of pairs of integers (starting byte offset, length in bytes) that shall describe the exact byte range for the digest calculation.
get_Certificate() constThe certificate with the private key.
get_ContactInfo() constInformation provided by the signer to enable a recipient to contact the signer to verify the signature, e.g. a phone number.
get_CustomAppearance() constGets/sets the custom appearance.
get_CustomSignHash() constThe delegate for custom sign the document hash (Beta).
get_Date() constThe time of signing.
get_Location() constThe CPU host name or physical location of the signing.
get_OcspSettings() constGets/sets ocsp settings.
get_Reason() constThe reason for the signing, such as (I agree, Pip B.).
get_ShowProperties() constForce to show/hide signature properties.
get_TimestampSettings() constGets/sets timestamp settings.
get_UseLtv() constGets/sets ltv validation flag.
set_Authority(System::String)The name of the person or authority signing the document.
set_ContactInfo(System::String)Information provided by the signer to enable a recipient to contact the signer to verify the signature, e.g. a phone number.
set_CustomAppearance(System::SharedPtr<SignatureCustomAppearance>)Gets/sets the custom appearance.
set_CustomSignHash(SignHash)The delegate for custom sign the document hash (Beta).
set_Date(System::DateTime)The time of signing.
set_Location(System::String)The CPU host name or physical location of the signing.
set_OcspSettings(System::SharedPtr<Aspose::Pdf::OcspSettings>)Gets/sets ocsp settings.
set_Reason(System::String)The reason for the signing, such as (I agree, Pip B.).
set_ShowProperties(bool)Force to show/hide signature properties.
set_TimestampSettings(System::SharedPtr<Aspose::Pdf::TimestampSettings>)Gets/sets timestamp settings.
set_UseLtv(bool)Gets/sets ltv validation flag.
Signature()Inititalizes new instance of the Signature class.
Signature(System::String, System::String)Inititalizes new instance of the Signature class.
Signature(System::SharedPtr<System::IO::Stream>, System::String)Inititalizes new instance of the Signature class.
Verify()Verify the document regarding this signature and return true if document is valid or otherwise false.

See Also