Help us shape the future of Go! Take the 2026 Go Developer Survey

ja3

package
v1.12.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2025 License: GPL-2.0, BSD-3-Clause Imports: 6 Imported by: 0

README

Documentation

Index

Constants

View Source
const (
	LengthErr        string = "length check %v failed"
	ContentTypeErr   string = "content type not matching"
	VersionErr       string = "version check %v failed"
	HandshakeTypeErr string = "handshake type not matching"
	SNITypeErr       string = "SNI type not supported"
)

Error types

View Source
const (

	// GREASE values
	// The bitmask covers all GREASE values
	GreaseBitmask uint16 = 0x0F0F
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientHello

type ClientHello struct {
	Version             uint16
	CipherSuites        []uint16
	Extensions          []uint16
	EllipticCurves      []uint16
	EllipticCurvePF     []uint8
	Versions            []uint16
	SignatureAlgorithms []uint16
	ServerName          string
	// contains filtered or unexported fields
}

func Compute

func Compute(payload []byte) (*ClientHello, error)

func (*ClientHello) Equals

func (j *ClientHello) Equals(another *ClientHello, ignoreExtensionsSequence bool) bool

func (*ClientHello) Hash

func (j *ClientHello) Hash() string

func (*ClientHello) String

func (j *ClientHello) String() string

type ParseError

type ParseError struct {
	// contains filtered or unexported fields
}

ParseError can be encountered while parsing a segment

func (*ParseError) Error

func (e *ParseError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL