[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.ISignatureParser

ISignatureParser Interface

Defines properties and methods that allow parsing and validating an existing PDF binary signature that is stored in the /Contents property of the PDF signature dictionary.

Namespace: GrapeCity.Documents.Pdf
Assembly: DS.Documents.Pdf.dll
Syntax
public interface ISignatureParser : IDisposable
Public Interface ISignatureParser
    Inherits IDisposable

Properties

Name Description
EncryptionAlgorithm

Gets the name of the encryption algorithm used in the signature.

HashAlgorithm

Gets the name of the HASH algorithm used in the signature.

IsTcp

Gets a value indicating whether the signature is a PAdES LTV time-stamp.

SigningCertificate

Gets the X509Certificate2 object that represents the certificate used to create the signature.

SigningCertificateChain

Gets the chain of certificates used to create the signature. The first certificate in the list is the signing certificate.

SigningTime

Gets the signing time that is stored in the signature, or null if the binary signature does not contain a signing time.

Methods

Name Description
GetSignatureData()

Returns the signature data.

VerifySignatureValue()

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