client-gok8s.io/client-go/util/cert/triple Index | Files

package triple

import "k8s.io/client-go/util/cert/triple"

Package triple generates key-certificate pairs for the triple (CA, Server, Client).

Index

Types

type KeyPair

type KeyPair struct {
	Key  *rsa.PrivateKey
	Cert *x509.Certificate
}

func NewCA

func NewCA(name string) (*KeyPair, error)

func NewClientKeyPair

func NewClientKeyPair(ca *KeyPair, commonName string, organizations []string) (*KeyPair, error)

func NewServerKeyPair

func NewServerKeyPair(ca *KeyPair, commonName, svcName, svcNamespace, dnsDomain string, ips, hostnames []string) (*KeyPair, error)

Source Files

triple.go

Version
v5.0.1+incompatible
Published
Oct 16, 2017
Platform
js/wasm
Imports
5 packages
Last checked
12 minutes ago

Tools for package owners.