Pdf | |
The PdfSignatureValidationResult type exposes the following members.
| Name | Description | |
|---|---|---|
| Certificate | The certificate that made the signature, or null when it cannot be read. | |
| CertificateChain | The certificates the signature carries, the signer's first. | |
| ContactInfo | The contact information the signature gives, or null. | |
| CoversWholeDocument | True when the signature covers the whole file. False when content was added after the signature - a later signature, a form fill, an added page - which leaves this signature intact but means the document as it is now is not exactly what was signed. | |
| IsDocumentModified | True when the content the signature covers was changed after signing. | |
| IsTimeStamped | True when the signature carries a time stamp and the time stamp is valid. | |
| IsTrusted | True when the signer's certificate chains to a trusted root: one in the system's trusted store, or one of the certificates passed to ValidateSignatures(PdfDigitalCertificatesCollection). | |
| IsValid | True when the signature matches the bytes it covers: it is cryptographically intact and the signed content has not been changed since. | |
| IsValidAtSigningTime | True when the signer's certificate was valid at the time the document was signed. | |
| IsValidNow | True when the signer's certificate is valid now. | |
| Location | The location the signature gives, or null. | |
| Messages | Why any of the checks above failed or needs attention; empty when every check passed. | |
| Reason | The reason for signing the signature gives, or null. | |
| RevocationStatus | Whether the signer's certificate is revoked, when that was checked. | |
| SignatureName | The name of the signature field. | |
| SignerName | The signer's name: the name the signature gives, or else the common name of its certificate. | |
| SigningTime | The signing time the signature declares, in local time, or null when it declares none. It is the signer's own claim; TimeStampTime is the one a time-stamp authority vouches for. | |
| Status | The overall outcome of the checks below. | |
| TimeStampTime | The time from the signature's time stamp, in local time, or null when it has none. |
Status sums the checks up; the other members say what each check found. A signature can be intact (IsValid) and still not be one to rely on - for example when its certificate does not chain to a root you trust (IsTrusted), or when content was added to the document after it (CoversWholeDocument).