[]
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.
public interface ISignatureParser : IDisposable
Gets the name of the encryption algorithm used in the signature.
string EncryptionAlgorithm { get; }
Gets the name of the HASH algorithm used in the signature.
string HashAlgorithm { get; }
Gets a value indicating whether the signature is a PAdES LTV time-stamp.
bool IsTcp { get; }
Gets the System.Security.Cryptography.X509Certificates.X509Certificate2 object that represents the certificate used to create the signature.
X509Certificate2 SigningCertificate { get; }
Gets the chain of certificates used to create the signature. The first certificate in the list is the signing certificate.
IList<X509Certificate2> SigningCertificateChain { get; }
Gets the signing time that is stored in the signature, or null if the binary signature does not contain a signing time.
DateTime? SigningTime { get; }
Returns the signature data.
byte[] GetSignatureData()
The signature data.
Verifies the signature by checking that embedded data digest corresponds to the calculated one.
bool VerifySignatureValue()
true if the signature is correct and corresponds to the signed data, false otherwise.