[]
Represents a digital signature in a PDF.
public class Signature : PdfDictWrapper, IPdfDict
Gets the information provided by the signer to enable a recipient to contact the signer to verify the signature (for example, a phone number).
public string ContactInfo { get; }
Gets the signature value.
public byte[] Contents { get; }
Gets the GcPdfDocument owning this object.
public GcPdfDocument Doc { get; }
Gets the name of the preferred signature handler to use when validating this signature.
public string Filter { get; }
Gets the CPU host name or physical location of the signing.
public string Location { get; }
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.
public string Name { get; }
Gets the reason for the signing, such as "I agree...".
public string Reason { get; }
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).
public PdfDateTime? SigningTime { get; }
Gets a name that describes the encoding of the signature value and key information in the signature dictionary.
public string SubFilter { get; }
Gets the signature type, if present, shall be "Sig" for a signature dictionary or "DocTimeStamp" for a time-stamp signature dictionary.
public string Type { get; }
Creates an ISignatureParser object that can be used to parse a binary signature.
public ISignatureParser CreateParser()
The ISignatureParser object.
Verifies the signature.
[Obsolete("Use VerifySignatureValue() instead")]
public bool VerifySignature()
True if the signature was verified successfully, false otherwise.
Verifies the signature by checking that embedded data digest corresponds to the calculated one.
public bool VerifySignatureValue()
true if signature is correct and corresponds to the signed data.