package
3.19.0
Repository: https://github.com/protonmail/proton-bridge.git
Documentation: pkg.go.dev

# Functions

CreateTransportWithDialer creates an http.Transport that uses the given dialer to make TLS connections.
NewBasicTLSDialer returns a new BasicTLSDialer.
NewPinningTLSDialer constructs a new dialer which only returns TCP connections to servers which present known certificates.
NewProxyTLSDialer constructs a dialer which provides a proxy-managing layer on top of an underlying dialer.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
TLSReportURI is the address where TLS reports should be sent.

# Variables

No description provided by the author
No description provided by the author
ErrTLSMismatch indicates that no TLS fingerprint match could be found.
TrustedAPIPins contains trusted public keys of the protonmail API and proxies.

# Structs

BasicTLSDialer implements TLSDialer.
PinningTLSDialer wraps a TLSDialer to check fingerprints after connecting and to report errors if the fingerprint check fails.
ProxyTLSDialer wraps a TLSDialer to switch to a proxy if the initial dial fails.
No description provided by the author
No description provided by the author

# Interfaces

PinChecker is used to check TLS keys of connections.
Reporter is used to report TLS issues.
No description provided by the author