UNPKG

ts-mls

Version:

[![CI](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml/badge.svg)](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [![npm version](https://badge.fury.io/js/ts-mls.svg)](https://badge.fury.io/js/ts-mls) [![Coverage Status](https://co

17 lines (16 loc) 846 B
import { Capabilities } from "./capabilities"; import { CredentialTypeName } from "./credentialType"; import { CiphersuiteName } from "./crypto/ciphersuite"; import { Extension } from "./extension"; export declare const greaseValues: number[]; export type GreaseConfig = { probabilityPerGreaseValue: number; }; export declare const defaultGreaseConfig: { probabilityPerGreaseValue: number; }; export declare function grease(greaseConfig: GreaseConfig): number[]; export declare function greaseCiphersuites(greaseConfig: GreaseConfig): CiphersuiteName[]; export declare function greaseCredentials(greaseConfig: GreaseConfig): CredentialTypeName[]; export declare function greaseExtensions(greaseConfig: GreaseConfig): Extension[]; export declare function greaseCapabilities(config: GreaseConfig, capabilities: Capabilities): Capabilities;