Skip to main content

Module client

Module client 

Available on crate feature boring only.
Expand description

TLS (Boring) client support for Rama.

Structs§

AutoTlsStream
A stream which can be either a secure or a plain stream.
BoringAlps
Application-Layer Protocol Settings (ALPS).
BoringCertCompression
Certificate compression algorithms to advertise.
BoringCipherSuites
Cipher suites to offer, in order (may include GREASE / unknown values).
BoringDelegatedCredentials
Delegated credential signature schemes.
BoringEncryptedClientHello
Whether to GREASE the Encrypted ClientHello (ECH) extension.
BoringExtensionOrder
ClientHello extension ordering.
BoringGrease
Whether GREASE values are injected into the ClientHello.
BoringMaxVersion
Maximum TLS version boring negotiates, overriding the max derived from the supported-versions list.
BoringMinVersion
Minimum TLS version boring negotiates, overriding the min derived from the supported-versions list.
BoringOcspStapling
Whether to request OCSP stapling (status_request).
BoringRecordSizeLimit
record_size_limit extension value.
BoringServerVerifyCertStore
Custom X509Store used to verify the server certificate (overrides the default OS trust store, unless verification is disabled).
BoringSignatureSchemes
Signature schemes to advertise, in order.
BoringSignedCertTimestamps
Whether to request signed certificate timestamps (SCT).
BoringSupportedGroups
Supported groups (named curves), in order.
BoringTlsConnectorConfig
Gather all the TLS extensions supported by boringssl
BoringTlsStream
A wrapper around an underlying raw stream which implements the SSL protocol.
ConnectorConfigClientAuth
ConnectorKindAuto
A connector which can be used to establish a connection to a server in function of the Request, meaning either it will be a seucre connector or it will be a plain connector.
ConnectorKindSecure
A connector which can only be used to establish a secure connection, regardless of the scheme of the request URI.
ConnectorKindTunnel
A connector which can be used to use this connector to support secure https tunnel connections.
EmulateTlsProfileLayer
EmulateTlsProfileService
TlsConnector
A connector which can be used to establish a connection to a server.
TlsConnectorData
/// The resolved native boringssl config consumed by super::TlsConnector.
TlsConnectorLayer
A Layer which wraps the given service with a TlsConnector.

Enums§

TlsConnectError

Traits§

BoringClientConfigExt
Boring-specific setters for TlsClientConfig.

Functions§

tls_connect