kubernetes/pkg/controller/certificates/authority/policies.go

type SigningPolicy

type PermissiveSigningPolicy

func (p PermissiveSigningPolicy) apply(tmpl *x509.Certificate, signerNotAfter time.Time) error {}

var keyUsageDict

var extKeyUsageDict

// keyUsagesFromStrings will translate a slice of usage strings from the
// certificates API ("pkg/apis/certificates".KeyUsage) to x509.KeyUsage and
// x509.ExtKeyUsage types.
func keyUsagesFromStrings(usages []capi.KeyUsage) (x509.KeyUsage, []x509.ExtKeyUsage, error) {}

type sortedExtKeyUsage

func (s sortedExtKeyUsage) Len() int {}

func (s sortedExtKeyUsage) Swap(i, j int) {}

func (s sortedExtKeyUsage) Less(i, j int) bool {}