[][src]Struct ja3::Ja3

pub struct Ja3 { /* fields omitted */ }

A JA3 hash builder. This provides options about how to extract a JA3 hash from a TLS handshake.

Implementations

impl Ja3[src]

pub fn new<S: AsRef<OsStr>>(pcap_path: S) -> Self[src]

Creates a new Ja3 object.

It will extract JA3 hashes from the packet capture located at pcap_path or the network interface named pcap_path, depending on whether the consumer calls process_pcap or process_live.

pub fn any_port<'a>(&'a mut self) -> &'a mut Self[src]

Change the hasher behavior to scan for TLS handshakes occuring on any TCP port. By default we only fingerprint handshakes on TCP 443.

pub fn process_pcap(&self) -> Result<Vec<Ja3Hash>, Error>[src]

Scans the provided packet capture for TLS handshakes and returns JA3 hashes for any found.

Trait Implementations

impl Debug for Ja3[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.