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

Method IntermediateCertificateChain

modules/caddypki/ca.go:202–206  ·  view source on GitHub ↗

IntermediateCertificateChain returns the CA's intermediate certificate chain.

()

Source from the content-addressed store, hash-verified

200// IntermediateCertificateChain returns the CA's intermediate
201// certificate chain.
202func (ca CA) IntermediateCertificateChain() []*x509.Certificate {
203 ca.mu.RLock()
204 defer ca.mu.RUnlock()
205 return ca.interChain
206}
207
208// IntermediateKey returns the CA's intermediate private key.
209func (ca CA) IntermediateKey() crypto.Signer {

Callers 4

NewAuthorityMethod · 0.95
rootAndIntermediatePEMFunction · 0.80
ProvisionMethod · 0.80
IssueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected