MCPcopy
hub / github.com/caddyserver/certmagic / SelectCertificate

Method SelectCertificate

config.go:1352–1352  ·  view source on GitHub ↗
(*tls.ClientHelloInfo, []Certificate)

Source from the content-addressed store, hash-verified

1350// CertificateSelector is a type which can select a certificate to use given multiple choices.
1351type CertificateSelector interface {
1352 SelectCertificate(*tls.ClientHelloInfo, []Certificate) (Certificate, error)
1353}
1354
1355// OCSPConfig configures how OCSP is handled.

Callers 1

selectCertMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected