client-go: Index | Files

package triple

import ""

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


Package Files


type KeyPair Uses

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

func NewCA Uses

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

func NewClientKeyPair Uses

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

func NewServerKeyPair Uses

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

Package triple imports 5 packages (graph) and is imported by 7 packages. Updated 2018-09-02. Refresh now. Tools for package owners.