Expand description
Collection of TLS related code fragments that end up popping up everywhere where quic is used. Aggregated here to avoid bugs due to conflicting implementations of the same functionality.
Structs§
- Quic
Client Certificate - Skip
Client Verification - Implementation of
ClientCertVerifier
that ignores the server certificate. Yet still checks the TLS signatures. - Skip
Server Verification - Implementation of
ServerCertVerifier
that ignores the server certificate. Yet still checks the TLS signatures. This is useful for turbine (where server verification is not feasible) and for tests Logic mostly copied from rustls examples.
Functions§
- crypto_
provider - get_
pubkey_ from_ tls_ certificate - new_
dummy_ x509_ certificate - socket_
addr_ to_ quic_ server_ name - Translate a SocketAddr into a valid SNI for the purposes of QUIC connection
- tls_
client_ config_ builder - tls_
server_ config_ builder