# RelayNodeTrustOptions

URL: https://www.caprid.com/docs/reference/typescript/caprid/relay/node/interfaces/relaynodetrustoptions/

Defined in: [relay-sdks/ts/src/node.ts:55](https://github.com/caprids/relay-sdks/blob/main/ts/src/node.ts#L55)

What a Node connection trusts, passed to `@caprid/relay-quic`'s `nativeQuicTransport`. With neither option, the
platform's root certificates. Declared here, not imported, so these declarations need no `@caprid/relay-quic` installed.

## Properties

### ca?

```ts
ca?: 
  | string
  | Uint8Array<ArrayBufferLike>
  | readonly (string | Uint8Array<ArrayBufferLike>)[];
```

Defined in: [relay-sdks/ts/src/node.ts:57](https://github.com/caprids/relay-sdks/blob/main/ts/src/node.ts#L57)

Extra trust anchors, PEM encoded, added to the platform's roots: one string or buffer may hold several.

***

### serverCertificateHashes?

```ts
serverCertificateHashes?: readonly RelayCertificateHash[];
```

Defined in: [relay-sdks/ts/src/node.ts:59](https://github.com/caprids/relay-sdks/blob/main/ts/src/node.ts#L59)

Accept exactly the end-entity certificates with these hashes instead of validating a chain.
