MCPcopy Index your code
hub / github.com/XTLS/REALITY / requiresClientCert

Function requiresClientCert

common.go:358–365  ·  view source on GitHub ↗

requiresClientCert reports whether the ClientAuthType requires a client certificate to be provided.

(c ClientAuthType)

Source from the content-addressed store, hash-verified

356// requiresClientCert reports whether the ClientAuthType requires a client
357// certificate to be provided.
358func requiresClientCert(c ClientAuthType) bool {
359 switch c {
360 case RequireAnyClientCert, RequireAndVerifyClientCert:
361 return true
362 default:
363 return false
364 }
365}
366
367// ClientSessionCache is a cache of ClientSessionState objects that can be used
368// by a client to resume a TLS session with a given server. ClientSessionCache

Callers 3

checkForResumptionMethod · 0.85
checkForResumptionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…