# CertificateHash

URL: https://www.caprid.com/docs/reference/typescript/caprid/relay-quic/interfaces/certificatehash/

Defined in: [relay-quic/src/index.ts:16](https://github.com/caprids/relay-sdks/blob/main/ts/packages/relay-quic/src/index.ts#L16)

A certificate hash the server's end-entity certificate must match, in the W3C WebTransport shape.

## Properties

### algorithm

```ts
algorithm: "sha-256";
```

Defined in: [relay-quic/src/index.ts:18](https://github.com/caprids/relay-sdks/blob/main/ts/packages/relay-quic/src/index.ts#L18)

The hash algorithm; only `'sha-256'` is supported.

***

### value

```ts
value: BufferSource;
```

Defined in: [relay-quic/src/index.ts:20](https://github.com/caprids/relay-sdks/blob/main/ts/packages/relay-quic/src/index.ts#L20)

The SHA-256 of the certificate's DER encoding.
