# PdfLongTermValidationEvidence

DER-encoded validation material to append for one verified PDF signature.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfLongTermValidationEvidence.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfLongTermValidationEvidence.cs#L14)

**Modifiers**

sealed

DER-encoded validation material to append for one verified PDF signature.

## Inheritance

- object
- PdfLongTermValidationEvidence

## Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [PdfLongTermValidationEnrichmentResult.Evidence](/api/pdf/officeimo-pdf-pdflongtermvalidationenrichmentresult/#property-evidence)

### Accepted by parameters 3

- Method [PdfLongTermValidationEnricher.Enrich](/api/pdf/officeimo-pdf-pdflongtermvalidationenricher/#method-enrich-byte-officeimo-pdf-pdflongtermvalidationevidence-officeimo-pdf-ipdfsignaturecryptographyprovider-officeimo-pdf-pdfloadoptions) parameter `evidence`
- Method [PdfLongTermValidationEnricher.EnrichAsync](/api/pdf/officeimo-pdf-pdflongtermvalidationenricher/#method-enrichasync-byte-officeimo-pdf-pdflongtermvalidationevidence-officeimo-pdf-ipdfsignaturecryptographyprovider-func-officeimo-pdf-pdfsignaturevalidationresult-system-threading-cancellationtoken-system-threading-tasks-task-officeimo-pdf-pdflongtermvalidationevidence-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `evidence`
- Method [PdfLongTermValidationEnricher.EnrichAsync](/api/pdf/officeimo-pdf-pdflongtermvalidationenricher/#method-enrichasync-byte-officeimo-pdf-pdflongtermvalidationevidence-officeimo-pdf-ipdfsignaturecryptographyprovider-func-officeimo-pdf-pdfsignaturevalidationresult-system-threading-cancellationtoken-system-threading-tasks-task-officeimo-pdf-pdflongtermvalidationevidence-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `fetchEvidence`

Filter members 

Show inherited

## Constructors

`public PdfLongTermValidationEvidence(int signatureObjectNumber, IEnumerable<byte[]>? certificates = null, IEnumerable<byte[]>? ocspResponses = null, IEnumerable<byte[]>? certificateRevocationLists = null)` [#](#constructor-ctor-int32-collections-generic-ienumerable-system-byte-collections-generic-ienumerable-system-byte-collections-generic-ienumerable-system-byte)

[PdfLongTermValidationEvidence.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfLongTermValidationEvidence.cs#L14)

Creates validation evidence for a signature value object.

Parameters

**signatureObjectNumber int required**

Object number of the signature dictionary to enrich.

**certificates System.Collections.Generic.IEnumerable<byte[]>? = null optional**

DER-encoded X.509 certificates used during validation.

**ocspResponses System.Collections.Generic.IEnumerable<byte[]>? = null optional**

DER-encoded OCSPResponse values used during validation.

**certificateRevocationLists System.Collections.Generic.IEnumerable<byte[]>? = null optional**

DER-encoded X.509 CRLs used during validation.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int SignatureObjectNumber { get; }` [#](#property-signatureobjectnumber)

[PdfLongTermValidationEvidence.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfLongTermValidationEvidence.cs#L33)

Object number of the signature dictionary to enrich.

`public IReadOnlyList<byte[]> Certificates { get; }` [#](#property-certificates)

[PdfLongTermValidationEvidence.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfLongTermValidationEvidence.cs#L36)

DER-encoded X.509 certificates used during validation.

`public IReadOnlyList<byte[]> OcspResponses { get; }` [#](#property-ocspresponses)

[PdfLongTermValidationEvidence.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfLongTermValidationEvidence.cs#L39)

DER-encoded OCSPResponse values used during validation.

`public IReadOnlyList<byte[]> CertificateRevocationLists { get; }` [#](#property-certificaterevocationlists)

[PdfLongTermValidationEvidence.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfLongTermValidationEvidence.cs#L42)

DER-encoded X.509 CRLs used during validation.

`public bool HasRevocationEvidence { get; }` [#](#property-hasrevocationevidence)

[PdfLongTermValidationEvidence.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfLongTermValidationEvidence.cs#L45)

True when OCSP or CRL status material is present.

<!-- PowerForge markdown artifact sha256:75EB74117E3C09F895B5434C29F4B1533111FEB3EFB2C6531DCBF6BD97566D7D -->
