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.
Inheritance Hierarchy

Namespace: Aspose.Pdf.Forms
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public sealed class PKCS7 : Signature

The PKCS7 type exposes the following members.

Constructors
  NameDescription
Public methodPKCS7
Inititalizes new instance of the PKCS7 class.
Public methodPKCS7(Stream, String)
Inititalizes new instance of the PKCS7 class.
Public methodPKCS7(String, String)
Inititalizes new instance of the PKCS7 class.
Properties
  NameDescription
Public propertyAuthority
The name of the person or authority signing the document.
(Inherited from Signature.)
Public propertyByteRange
An array of pairs of integers (starting byte offset, length in bytes) that shall describe the exact byte range for the digest calculation.
(Inherited from Signature.)
Public propertyContactInfo
Information provided by the signer to enable a recipient to contact the signer to verify the signature, e.g. a phone number.
(Inherited from Signature.)
Public propertyCustomAppearance
Gets/sets the custom appearance.
(Inherited from Signature.)
Public propertyDate
The time of signing.
(Inherited from Signature.)
Public propertyLocation
The CPU host name or physical location of the signing.
(Inherited from Signature.)
Public propertyReason
The reason for the signing, such as (I agree…).
(Inherited from Signature.)
Public propertyShowProperties
Force to show/hide signature properties. In case ShowProperties is true signature field has predefined format of appearance (strings to represent): ------------------------------------------- Digitally signed by {certificate subject} Date: {signature.Date} Reason: {signature.Reason} Location: {signature.Location} ------------------------------------------- where {X} is placeholder for X value. Also signature can have image, in this case listed strings are placed over image. ShowProperties is true by default.
(Inherited from Signature.)
Public propertyTimestampSettings
Gets/sets timestamp settings.
(Inherited from Signature.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodVerify
Verify the document regarding this signature and return true if document is valid or otherwise false.
(Inherited from Signature.)
See Also