ech-config-0.0.0: Config for TLS Encrypted Client Hello
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.TLS.ECH.Config

Description

Types for Configuration of Encrypted Client Hello.

Synopsis

Types

data ECHConfig Source #

Type for configuration of encrypted client hello.

Constructors

ECHConfig 

type ConfigId = Word8 Source #

Configuration identifier.

type ECHConfigExtensionType = Word16 Source #

Extension type.

ECH configuration list

loadECHConfigList :: FilePath -> IO [ECHConfig] Source #

Loading the wire format of ECHConfigList and decode it into ECHConfigList.

loadECHSecretKeys :: [FilePath] -> IO [(ConfigId, ByteString)] Source #

Loading secret keys stored in files whose names are "<num>.key".

loadECHSecretKeys ["0.key", "1.key"]

ECH configuration

Low level