Skip to main content

Module extensions

Module extensions 

Source
Expand description

TLS Extension parsing and building.

Generic extension format:

uint16 extension_type;
uint16 extension_length;
opaque extension_data[extension_length];

Re-exports§

pub use key_share::KeyShareEntry;
pub use key_share::build_key_share_client;
pub use key_share::build_key_share_server;
pub use signature_algorithms::build_signature_algorithms;
pub use sni::build_sni;
pub use supported_versions::build_supported_versions_client;
pub use supported_versions::build_supported_versions_server;

Modules§

common
Common TLS extensions.
key_share
Key Share extension (type 0x0033).
signature_algorithms
Signature Algorithms extension (type 0x000D).
sni
Server Name Indication (SNI) extension (type 0x0000).
supported_versions
Supported Versions extension (type 0x002B).

Structs§

Extension
A generic TLS extension.

Functions§

build_extensions
Build a list of extensions into wire format (without the outer length prefix).
find_extension
Find an extension by type in a list.
parse_extensions
Parse a list of extensions from raw bytes.