Crypto Lib
    Preparing search index...

    Interface OpaqueConfig

    Configuration shared by client and server. Every field is optional.

    interface OpaqueConfig {
        suite?: SuiteId;
        ksf?: Ksf;
        context?: string | Uint8Array<ArrayBufferLike>;
    }
    Index
    suite?: SuiteId

    Ciphersuite. Default: "P256-SHA256".

    ksf?: Ksf

    Key stretching function. Default: scrypt with the RFC 9807 § 7 parameters (scryptKsf()). Only the client runs it.

    context?: string | Uint8Array<ArrayBufferLike>

    Shared context string bound into the handshake transcript, e.g. "myapp-v1" (RFC 9807 § 6.4.2.1). Default: empty. Not sent on the wire; at most 65535 bytes.