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§
Source§impl 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§
Source§impl From<&ClientHelloPayload> for Ja3
impl From<&ClientHelloPayload> for Ja3
Source§fn from(chp: &ClientHelloPayload) -> Ja3
fn from(chp: &ClientHelloPayload) -> Ja3
Converts to this type from the input type.
impl Eq for Ja3
impl StructuralPartialEq for Ja3
Auto Trait Implementations§
impl Freeze for Ja3
impl RefUnwindSafe for Ja3
impl Send for Ja3
impl Sync for Ja3
impl Unpin for Ja3
impl UnwindSafe for Ja3
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