MCPcopy
hub / github.com/kubeedge/kubeedge / GenPrivateKey

Method GenPrivateKey

pkg/security/certs/types.go:44–44  ·  view source on GitHub ↗

GenPrivateKey create a private key

()

Source from the content-addressed store, hash-verified

42type Handler interface {
43 // GenPrivateKey create a private key
44 GenPrivateKey() (PrivateKeyWrap, error)
45
46 // CreateCSR create a certificate request, returns a pem block.
47 CreateCSR(sub pkix.Name, pkw PrivateKeyWrap, alt *certutil.AltNames) (*pem.Block, error)

Callers 6

createCAToSecretFunction · 0.65
createCertsToSecretFunction · 0.65
TestVerifyCertFunction · 0.65
TestSignX509CertsFunction · 0.65
GetEdgeCertMethod · 0.65
genFakeCertsFunction · 0.65

Calls

no outgoing calls

Tested by 3

TestVerifyCertFunction · 0.52
TestSignX509CertsFunction · 0.52
genFakeCertsFunction · 0.52