MCPcopy Create free account
hub / github.com/celzero/firestack / GetClientCertificate

Method GetClientCertificate

intra/doh/client_auth.go:54–86  ·  view source on GitHub ↗

GetClientCertificate returns the client certificate chain as a tls.Certificate. Returns an empty Certificate on failure, permitting the handshake to continue without authentication. Implements tls.Config GetClientCertificate().

(
	info *tls.CertificateRequestInfo)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

WFunction · 0.92
GetClientCertificateMethod · 0.65

Tested by

no test coverage detected