Expand description
rama TLS-agnostic types and utilities.
The TLS-implementation-agnostic vocabulary (protocol versions, cipher suites,
ALPN, client/server config, ClientHello, fingerprints, keylog, …) shared by
the backend crates (rama-tls-boring / rama-tls-rustls).
Learn more about rama:
- Github: https://github.com/plabayo/rama
- Book: https://ramaproxy.org/book/
Modules§
- client
- TLS implementation agnostic client types
- fingerprint
- fingerprint implementations for the network surface
- keylog
- TLS keylog facility used by every TLS implementation supported by rama (and exposed for your own).
- server
- TLS implementation agnostic server types
Structs§
- Secure
Transport - Metadata that can be added to the
Extensionsof a transport layer to signal that the transport is secure. - TlsAlpn
- ALPN protocols to offer.
- TlsKey
Log - Keylog intent (e.g.
SSLKEYLOGFILE) for the connection. - TlsSupported
Versions - Supported protocol versions, as a list (backends derive min/max as needed, preserving any GREASE entries in the wire list).
- TlsTunnel
- Requests TLS from a tunnel connector with an optional server identity.
Enums§
- Application
Protocol - The Application Layer Negotiation Protocol (ALPN) identifiers as found in the IANA registry for Tls ExtensionType values.
- Certificate
Compression Algorithm - The
CertificateCompressionAlgorithmTLS protocol enum, the algorithm used to compress the certificate. The algorithm MUST be one of the algorithms listed in the peer’s compress_certificate extension. - Cipher
Suite - The
CipherSuiteTLS protocol enum. Values in this enum are taken from the various RFCs covering TLS, and are listed by IANA. TheUnknownitem is used when processing unrecognised ordinals. - Compression
Algorithm - The
CompressionAlgorithmTLS protocol enum. Values in this enum are taken from the various RFCs covering TLS, and are listed by IANA. TheUnknownitem is used when processing unrecognised ordinals. - ECPoint
Format - The
ECPointFormatTLS protocol enum. Values in this enum are taken from the various RFCs covering TLS, and are listed by IANA. TheUnknownitem is used when processing unrecognised ordinals. - Extension
Id - The
ExtensionIdenum. Values in this enum are taken from the various RFCs covering TLS, and are listed by IANA. TheUnknownitem is used when processing unrecognised ordinals. - KeyLog
Intent - Intent for a (tls) keylogger to be used.
- Protocol
Version - The
ProtocolVersionTLS protocol enum. Values in this enum are taken from the various RFCs covering TLS, and are listed by IANA. TheUnknownitem is used when processing unrecognised ordinals. - Signature
Scheme - The
SignatureSchemeTLS protocol enum. Values in this enum are taken from the various RFCs covering TLS, and are listed by IANA. TheUnknownitem is used when processing unrecognised ordinals. - Supported
Group - The
SupportedGroupTLS protocol enum. Values in this enum are taken from the various RFCs covering TLS, and are listed by IANA. TheUnknownitem is used when processing unrecognised ordinals. - TlsTunnel
Mode - Whether a tunnel connector should use plaintext or TLS.
Functions§
- resolve_
tls_ tunnel - Resolve tunnel activation and server identity consistently across TLS backends.