Struct ja3_rustls::Ja3
source · [−]pub struct Ja3 {
pub version: u16,
pub ciphers: Vec<u16>,
pub extensions: Vec<u16>,
pub curves: Vec<u16>,
pub point_formats: Vec<u8>,
}
Expand description
JA3, as explained in [https://github.com/salesforce/ja3]
Fields
version: u16
SSLVersion
ciphers: Vec<u16>
Cipher
extensions: Vec<u16>
SSLExtension
curves: Vec<u16>
EllipticCurve
point_formats: Vec<u8>
EllipticCurvePointFormat
Implementations
sourceimpl Ja3
impl Ja3
pub fn version_to_typed(&self) -> ProtocolVersion
pub fn ciphers_as_typed(&self) -> impl Iterator<Item = CipherSuite> + '_
sourcepub fn ciphers_regreasing_as_typed(
&self
) -> impl Iterator<Item = CipherSuite> + '_
pub fn ciphers_regreasing_as_typed(
&self
) -> impl Iterator<Item = CipherSuite> + '_
ciphers_as_typed
with existing GREASE values rewritten as newly generated ones. It
is based on an insecure RNG unless the rand
crate feature is activated.
pub fn extensions_as_typed(&self) -> impl Iterator<Item = ExtensionType> + '_
sourcepub fn extensions_regreasing_as_typed(
&self
) -> impl Iterator<Item = ExtensionType> + '_
pub fn extensions_regreasing_as_typed(
&self
) -> impl Iterator<Item = ExtensionType> + '_
extensions_as_typed
with existing GREASE values rewritten as newly generated ones. It
is based on an insecure RNG unless the rand
crate feature is activated.
pub fn curves_as_typed(&self) -> impl Iterator<Item = NamedGroup> + '_
sourcepub fn curves_regreasing_as_typed(
&self
) -> impl Iterator<Item = NamedGroup> + '_
pub fn curves_regreasing_as_typed(
&self
) -> impl Iterator<Item = NamedGroup> + '_
curves_as_typed
with existing GREASE values rewritten as newly generated ones. It
is based on an insecure RNG unless the rand
crate feature is activated.
pub fn point_formats_as_typed(&self) -> impl Iterator<Item = ECPointFormat> + '_
Trait Implementations
sourceimpl From<&ClientHelloPayload> for Ja3
impl From<&ClientHelloPayload> for Ja3
sourcefn from(chp: &ClientHelloPayload) -> Ja3
fn from(chp: &ClientHelloPayload) -> Ja3
Converts to this type from the input type.
impl Eq for Ja3
impl StructuralEq for Ja3
impl StructuralPartialEq for Ja3
Auto Trait Implementations
impl RefUnwindSafe for Ja3
impl Send for Ja3
impl Sync for Ja3
impl Unpin for Ja3
impl UnwindSafe for Ja3
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more