MCPcopy
hub / github.com/caddyserver/certmagic / GenerateKey

Method GenerateKey

certmagic.go:367–367  ·  view source on GitHub ↗

GenerateKey generates a private key. The returned PrivateKey must be able to expose its associated public key.

()

Source from the content-addressed store, hash-verified

365 // PrivateKey must be able to expose its associated
366 // public key.
367 GenerateKey() (crypto.PrivateKey, error)
368}
369
370// IssuerPolicy is a type that enumerates how to

Callers 7

newAccountMethod · 0.65
GenerateKeyMethod · 0.65
obtainCertMethod · 0.65
renewCertMethod · 0.65
mustIssueTestCertificateFunction · 0.65

Implementers 1

Calls

no outgoing calls

Tested by 3

mustIssueTestCertificateFunction · 0.52