Skip to content

RelayNodeTrustOptions

Defined in: relay-sdks/ts/src/node.ts:55

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.

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

Defined in: relay-sdks/ts/src/node.ts:57

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


serverCertificateHashes?: readonly RelayCertificateHash[];

Defined in: relay-sdks/ts/src/node.ts:59

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