Documentation
¶
Overview ¶
Package transportsecurity provides reloadable mutual TLS for HTTP connections.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source reads tls.crt, tls.key, and ca.crt from one directory revision.
func (*Source) ServerConfig ¶
ServerConfig permits anonymous probes; authenticated handlers must call VerifyClient.
func (*Source) VerifyClient ¶
func (s *Source) VerifyClient(state *tls.ConnectionState) error
VerifyClient checks current trust and identity even on an existing connection.
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport replaces connection pools when identity or active trust changes.
func NewTransport ¶
NewTransport copies base; callers retain ownership of the original transport.
func (*Transport) CloseIdleConnections ¶
func (t *Transport) CloseIdleConnections()
CloseIdleConnections closes the active pool without changing trust.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package issuance creates identities and bounded CA transition certificates.
|
Package issuance creates identities and bounded CA transition certificates. |
|
Package tlstest creates temporary certificate revisions for transport tests.
|
Package tlstest creates temporary certificate revisions for transport tests. |
Click to show internal directories.
Click to hide internal directories.