Module tls_extension_simulation

Source
Expand description

TLS Extension Simulation for RFC 7250 Raw Public Keys TLS Extension Simulation for RFC 7250 Raw Public Keys

Since rustls 0.23.x doesn’t expose APIs for custom TLS extensions, this module simulates the RFC 7250 certificate type negotiation through alternative mechanisms that work within rustls constraints.

Structs§

ExtensionAwareTlsSession
Wrapper for TlsSession that integrates with TlsExtensionHooks
Rfc7250ClientConfig
Wrapper for ClientConfig that simulates RFC 7250 extension behavior
Rfc7250QuicClientConfig
Enhanced QUIC client config with RFC 7250 support
Rfc7250QuicServerConfig
Enhanced QUIC server config with RFC 7250 support
Rfc7250ServerConfig
Wrapper for ServerConfig that simulates RFC 7250 extension behavior
SimulatedExtensionContext
Simulated TLS extension context for certificate type negotiation

Traits§

TlsExtensionHooks
Trait for hooking into TLS handshake events

Functions§

create_connection_id
Create a connection identifier for simulation purposes
should_use_raw_public_key
Helper to determine if we should use Raw Public Key based on negotiation