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 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.