tls_api

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

README

k8spacket - tls-api

Parser of TLS packets involved in the handshake process (ClientHello and ServerHello currently)

See usage here: https://github.com/k8spacket/plugins/blob/master/tls-parser/metrics/metrics.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTLSPayload

func ParseTLSPayload(payload []byte) interface{}

Types

type ClientHelloTLSRecord

type ClientHelloTLSRecord struct {
	RecordLayer        model.RecordLayer
	HandshakeProtocol  model.HandshakeProtocol
	Session            model.Session
	Ciphers            model.Ciphers
	CompressionMethods model.CompressionMethods
	Extensions         model.Extensions
}

type ServerHelloTLSRecord

type ServerHelloTLSRecord struct {
	RecordLayer        model.RecordLayer
	HandshakeProtocol  model.HandshakeProtocol
	Session            model.Session
	CipherSuite        model.CipherSuite
	CompressionMethods model.CompressionMethods
	Extensions         model.Extensions
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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