mtls

package
v0.0.0-...-5510b13 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMinimalX509CertFromKeyring

func NewMinimalX509CertFromKeyring(keyring types.PeerKeyring) (tls.Certificate, error)

Generates a minimal certificate (that wouldn't be considered valid outside this telemetry networking protocol) from a PeerKeyring.

func PubKeyFromCert

func PubKeyFromCert(cert *x509.Certificate) (pk types.PeerPublicKey, err error)

func VerifyCertMatchesPubKey

func VerifyCertMatchesPubKey(publicKey [32]byte) func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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