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

Interface CertificateSelector

config.go:1351–1353  ·  view source on GitHub ↗

CertificateSelector is a type which can select a certificate to use given multiple choices.

Source from the content-addressed store, hash-verified

1349
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.
1356type OCSPConfig struct {

Callers 1

selectCertMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…