MCPcopy
hub / github.com/caddyserver/caddy / IntermediateKey

Method IntermediateKey

modules/caddypki/ca.go:209–213  ·  view source on GitHub ↗

IntermediateKey returns the CA's intermediate private key.

()

Source from the content-addressed store, hash-verified

207
208// IntermediateKey returns the CA's intermediate private key.
209func (ca CA) IntermediateKey() crypto.Signer {
210 ca.mu.RLock()
211 defer ca.mu.RUnlock()
212 return ca.interKey
213}
214
215// NewAuthority returns a new Smallstep-powered signing authority for this CA.
216// Note that we receive *CA (a pointer) in this method to ensure the closure within it, which

Callers 1

NewAuthorityMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected