mtls

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(caCertPool *x509.CertPool) auth.Auth

New creates a new mTLS authenticator

Types

type MTLSAuth

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

MTLSAuth implements mTLS authentication

func (*MTLSAuth) VerifyConn

func (m *MTLSAuth) VerifyConn(ctx context.Context, conn *quic.Conn) (bool, error)

VerifyConn verifies a QUIC connection using mTLS

Jump to

Keyboard shortcuts

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