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

Method NeedsRemoteSigner

config/config.go:438–446  ·  view source on GitHub ↗

NeedsRemoteSigner returns true if one of the profiles has a remote set

()

Source from the content-addressed store, hash-verified

436
437// NeedsRemoteSigner returns true if one of the profiles has a remote set
438func (p *Signing) NeedsRemoteSigner() bool {
439 for _, profile := range p.Profiles {
440 if profile.RemoteServer != "" {
441 return true
442 }
443 }
444
445 return p.Default.RemoteServer != ""
446}
447
448// NeedsLocalSigner returns true if one of the profiles doe not have a remote set
449func (p *Signing) NeedsLocalSigner() bool {

Callers 2

NewSignerFunction · 0.80
TestNeedLocalSignerFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestNeedLocalSignerFunction · 0.64