Documentation ¶
Overview ¶
crypto provides common cryptographic functions used by the Coordinator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCert ¶
func GenerateCert( dnsNames []string, commonName string, privk *ecdsa.PrivateKey, parentCertificate *x509.Certificate, parentPrivateKey *ecdsa.PrivateKey, ) (*x509.Certificate, *ecdsa.PrivateKey, error)
GenerateCert creates a new certificate with the given parameters. If privk is nil, a new private key is generated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.