Aspose::Pdf::Forms::PKCS7 class

PKCS7 class

Represents the PKCS#7 object that conform to the PKCS#7 specification in Internet RFC 2315, PKCS #7: Cryptographic Message Syntax, Version 1.5. The SHA1 digest of the document’s byte range is encapsulated in the PKCS#7 SignedData field.

class PKCS7 : public Aspose::Pdf::Forms::Signature

Methods

MethodDescription
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_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.
PKCS7()Inititalizes new instance of the PKCS7 class.
PKCS7(System::String, System::String)Inititalizes new instance of the PKCS7 class.
PKCS7(System::SharedPtr<System::IO::Stream>, System::String)Inititalizes new instance of the PKCS7 class.
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