MCPcopy Create free account
hub / github.com/cloudflare/cfssl / SetRemoteCAs

Method SetRemoteCAs

config/config.go:430–435  ·  view source on GitHub ↗

SetRemoteCAs updates the properties to set remote CAs for TLS remote requests

(remoteCAs *x509.CertPool)

Source from the content-addressed store, hash-verified

428// SetRemoteCAs updates the properties to set remote CAs for TLS
429// remote requests
430func (p *Signing) SetRemoteCAs(remoteCAs *x509.CertPool) {
431 for _, profile := range p.Profiles {
432 profile.RemoteCAs = remoteCAs
433 }
434 p.Default.RemoteCAs = remoteCAs
435}
436
437// NeedsRemoteSigner returns true if one of the profiles has a remote set
438func (p *Signing) NeedsRemoteSigner() bool {

Callers 3

SetRemoteCAsFromFileMethod · 0.95
remoteTLSInfoFunction · 0.80
remoteTLSSignFunction · 0.80

Calls

no outgoing calls

Tested by 2

remoteTLSInfoFunction · 0.64
remoteTLSSignFunction · 0.64