Skip to main content

TlsProfileValidate

Trait TlsProfileValidate 

Source
pub trait TlsProfileValidate {
    // Required method
    fn validate_static(
        &self,
        expected_ja3: &str,
        expected_ja4: &str,
    ) -> TlsValidationReport;
}
Expand description

Extension trait that adds validate_static() to TlsProfile.

Required Methods§

Source

fn validate_static( &self, expected_ja3: &str, expected_ja4: &str, ) -> TlsValidationReport

Validate this profile against known reference hashes (no network required).

§Example
use stygian_browser::tls::CHROME_131;
use stygian_browser::tls_validation::{TlsProfileValidate, CHROME_131_JA3};

let report = CHROME_131.validate_static(CHROME_131_JA3, "");
let _ = report.is_ok(); // diff may exist across capture dates

Implementors§