# CertificateRevocationEvidence

DER-encoded certificates, OCSP responses and CRLs gathered for certificate validation.

Class 

`OfficeIMO.Security`

**Namespace**

`OfficeIMO.Security`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[CertificateRevocationContracts.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/CertificateRevocationContracts.cs#L36)

**Modifiers**

sealed

DER-encoded certificates, OCSP responses and CRLs gathered for certificate validation.

## Inheritance

- object
- CertificateRevocationEvidence

## Usage

Explore 2 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 2

- Property [CertificateRevocationEvidence.Empty](/api/core/officeimo-security-certificaterevocationevidence/#property-empty)
- Method [ICertificateRevocationFetcher.FetchAsync](/api/core/officeimo-security-icertificaterevocationfetcher/#method-fetchasync-security-cryptography-x509certificates-x509certificate2-security-cryptography-x509certificates-x509certificate2-threading-cancellationtoken)

Filter members 

Show inherited

## Constructors

`public CertificateRevocationEvidence(IEnumerable<byte[]>? certificates = null, IEnumerable<byte[]>? ocspResponses = null, IEnumerable<byte[]>? certificateRevocationLists = null, IEnumerable<SecurityFinding>? findings = null)` [#](#member-9565a7b4308da96175282247)

[CertificateRevocationContracts.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/CertificateRevocationContracts.cs#L36)

Creates revocation evidence. Values are copied.

Parameters

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

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

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

**findings System.Collections.Generic.IEnumerable<OfficeIMO.Security.SecurityFinding>? = null optional**

## 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 static CertificateRevocationEvidence Empty { get; }` [#](#property-empty)

[CertificateRevocationContracts.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/CertificateRevocationContracts.cs#L48)

Empty evidence without findings.

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

[CertificateRevocationContracts.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/CertificateRevocationContracts.cs#L51)

DER-encoded certificates, such as the issuer path used for the request.

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

[CertificateRevocationContracts.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/CertificateRevocationContracts.cs#L54)

DER-encoded OCSPResponse values.

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

[CertificateRevocationContracts.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/CertificateRevocationContracts.cs#L57)

DER-encoded X.509 CRLs.

`public IReadOnlyList<SecurityFinding> Findings { get; }` [#](#property-findings)

[CertificateRevocationContracts.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Security/CertificateRevocationContracts.cs#L60)

Why a source could not be used, such as a refused address, a timeout or an oversized response.

<!-- PowerForge markdown artifact sha256:519DFB578ECC07C37706F5B549A82FA952C5B7A8A147BFAED857D27FC4C0992B -->
