cert

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateStruct

type CreateStruct struct {
	Type     string   `json:"type" example:"client_cert"`
	URIs     []string `json:"uris" example:"uri1,uri2"`
	DNSNames []string `json:"dnsnames" example:"dns1,dns2"`
	IPs      []string `json:"ips" example:"ip1,ip2"`
	TTL      string   `json:"ttl" example:"1h"`
}

type Manager

type Manager interface {
	Create(client, server bool, uris []string, ips []net.IP, dns []string, ttl time.Duration) (cert []byte, key []byte, err error)
	GetCAPEM() string
}

Jump to

Keyboard shortcuts

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