Versions in this module Expand all Collapse all v1 v1.0.0 Mar 25, 2026 Changes in this version + var CommonCipherSuites = map[uint16]CipherSuite + func ParseJWT(token string) (*JWTHeader, JWTPayload, error) + func ParseTLSRecord(data []byte) (map[string]any, error) + func VerifyHMAC(message, signature, key []byte) bool + type CipherSuite struct + Cipher string + ID uint16 + KeyExchange string + MAC string + Name string + func LookupCipherSuite(id uint16) (CipherSuite, bool) + type JWTHeader struct + Alg string + Typ string + type JWTPayload map[string]any + type SSLKeyLog struct + ClientRandom string + Label string + Secret string + func ParseSSLKeyLog(content string) []SSLKeyLog + type TLSHandshakeType uint8 + const HandshakeCertificate + const HandshakeClientHello + const HandshakeClientKeyExch + const HandshakeFinished + const HandshakeServerHello + const HandshakeServerHelloDone + const HandshakeServerKeyExch + func (t TLSHandshakeType) String() string + type TLSVersion uint16 + const TLS10 + const TLS11 + const TLS12 + const TLS13 + func (v TLSVersion) String() string