[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Security.Signature

Signature Class

Represents a digital signature in a PDF.

Implements
Namespace: GrapeCity.Documents.Pdf.Security
Assembly: DS.Documents.Pdf.dll
Syntax
public class Signature : PdfDictWrapper, IPdfDict
Public Class Signature
    Inherits PdfDictWrapper
    Implements IPdfDict

Properties

Name Description
ContactInfo

Gets the information provided by the signer to enable a recipient to contact the signer to verify the signature (for example, a phone number).

Contents

Gets the signature value.

Doc

Gets the GcPdfDocument owning this object.

Filter

Gets the name of the preferred signature handler to use when validating this signature.

Location

Gets the CPU host name or physical location of the signing.

Name

Gets the name of the person or authority signing the document. This value should be used only when it is not possible to extract the name from the signature; for example, from the certificate of the signer.

Reason

Gets the reason for the signing, such as "I agree...".

SigningTime

Gets the time of signing. Depending on the signature handler, this may be a normal unverified computer time or a time generated in a verifiable way from a secure time server. This value should be used only when the time of signing is not available in the signature; for example, a time stamp can be embedded in a PKCS#7 binary data object (see PDF specification for more details).

SubFilter

Gets a name that describes the encoding of the signature value and key information in the signature dictionary.

Type

Gets the signature type, if present, shall be "Sig" for a signature dictionary or "DocTimeStamp" for a time-stamp signature dictionary.

Methods

Name Description
CreateParser()

Creates an ISignatureParser object that can be used to parse a binary signature.

VerifySignature()

Verifies the signature.

VerifySignatureValue()

Verifies the signature by checking that embedded data digest corresponds to the calculated one.

Extension Methods