- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for EncodeCertBundlePEM (0.16 sec)
-
cmd/kubeadm/app/util/pkiutil/pki_helpers.go
func EncodeCertPEM(cert *x509.Certificate) []byte { block := pem.Block{ Type: CertificateBlockType, Bytes: cert.Raw, } return pem.EncodeToMemory(&block) } // EncodeCertBundlePEM returns PEM-endcoded certificate bundle func EncodeCertBundlePEM(certs []*x509.Certificate) ([]byte, error) { buf := bytes.Buffer{} block := pem.Block{ Type: CertificateBlockType, } for _, cert := range certs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 25.5K bytes - Viewed (0)