MCPcopy
hub / github.com/fabiolb/fabio / Issuer

Interface Issuer

cert/source.go:27–31  ·  view source on GitHub ↗

Issuer is the interface implemented by sources that can issue certificates on-demand.

Source from the content-addressed store, hash-verified

25// Issuer is the interface implemented by sources that can issue certificates
26// on-demand.
27type Issuer interface {
28 // Issue issues a new certificate for the given common name. Issue must
29 // return a certificate or an error, never (nil, nil).
30 Issue(commonName string) (*tls.Certificate, error)
31}
32
33// NewSource generates a cert source from the config options.
34func NewSource(cfg config.CertSource) (Source, error) {

Callers 1

TLSConfigFunction · 0.65

Implementers 1

VaultPKISourcecert/vault_pki_source.go

Calls

no outgoing calls

Tested by

no test coverage detected