Documentation
¶
Overview ¶
Package tls provides TLS configuration utilities for client connections. It supports standard TLS, mutual TLS (mTLS), and attested TLS (aTLS).
Index ¶
Constants ¶
View Source
const AttestationReportSize = 0x4A0
Variables ¶
View Source
var ( ErrFailedToLoadClientCertKey = errors.New("failed to load client certificate and key") ErrFailedToLoadRootCA = errors.New("failed to load root ca file") )
Functions ¶
This section is empty.
Types ¶
type Result ¶
Result contains the result of TLS configuration.
func LoadATLSConfig ¶
LoadATLSConfig configures Attested TLS. Parameters are passed individually to avoid circular dependencies with the clients package.
func LoadBasicConfig ¶
LoadBasicConfig loads standard TLS configuration (TLS/mTLS).
Click to show internal directories.
Click to hide internal directories.