sign

package
v0.0.53 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateEcdsaSigningKey added in v0.0.10

func GenerateEcdsaSigningKey() (private, public string)

Types

type CertFields

type CertFields struct {
	CertName     string
	Organisation []string
	CommonName   string // org + signature algo, leaf: domain
	San          []string
	SanIps       []net.IP
	Role         CertRole
	CaCertName   string
}

func (*CertFields) GenerateEcdsaCert

func (fields *CertFields) GenerateEcdsaCert()

type CertRole

type CertRole int
const (
	CA CertRole = iota
	Server
	Client
)

Jump to

Keyboard shortcuts

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