pub struct ClientHelloInfo {
pub legacy_version: u16,
pub cipher_suites: Vec<u16>,
pub extensions: Vec<u16>,
pub supported_groups: Vec<u16>,
pub ec_point_formats: Vec<u8>,
pub alpn: Vec<Vec<u8>>,
pub signature_algorithms: Vec<u16>,
pub supported_versions: Vec<u16>,
pub ja3: String,
pub ja4: String,
pub sni: Option<Vec<u8>>,
}Expand description
Parsed TLS ClientHello metadata + computed fingerprints.
Fields§
§legacy_version: u16TLS legacy version field.
cipher_suites: Vec<u16>Cipher suites, in client order.
extensions: Vec<u16>TLS extension type ids, in client order.
supported_groups: Vec<u16>Supported elliptic-curve / named groups.
ec_point_formats: Vec<u8>EC point formats.
alpn: Vec<Vec<u8>>ALPN protocols, in client order (raw wire bytes).
signature_algorithms: Vec<u16>Signature algorithms, in client order.
supported_versions: Vec<u16>TLS versions from the supported_versions extension (0x002b).
ja3: StringComputed JA3 string.
ja4: StringComputed JA4 string.
sni: Option<Vec<u8>>SNI hostname, if present (raw wire bytes).
Trait Implementations§
Source§impl Clone for ClientHelloInfo
impl Clone for ClientHelloInfo
Source§impl Debug for ClientHelloInfo
impl Debug for ClientHelloInfo
Source§impl<'de> Deserialize<'de> for ClientHelloInfo
impl<'de> Deserialize<'de> for ClientHelloInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClientHelloInfo
impl RefUnwindSafe for ClientHelloInfo
impl Send for ClientHelloInfo
impl Sync for ClientHelloInfo
impl Unpin for ClientHelloInfo
impl UnsafeUnpin for ClientHelloInfo
impl UnwindSafe for ClientHelloInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more