crypto

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

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(
	subjAltNames []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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL