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
- v5.0.1+incompatible
- Published
- Oct 16, 2017
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 12 minutes ago –
Tools for package owners.