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 NewClientKeyPair ¶
func NewServerKeyPair ¶
func NewServerKeyPair(ca *KeyPair, commonName, svcName, svcNamespace, dnsDomain string, ips, hostnames []string) (*KeyPair, error)
Source Files ¶
triple.go
- Version
- v6.0.0+incompatible
- Published
- Dec 7, 2017
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 31 minutes ago –
Tools for package owners.