- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CreateCertificate (0.07 sec)
-
cmd/test-utils_test.go
} else { template.DNSNames = append(template.DNSNames, h) } } template.IsCA = true template.KeyUsage |= x509.KeyUsageCertSign derBytes, err := x509.CreateCertificate(crand.Reader, &template, &template, publicKey(priv), priv) if err != nil { return nil, nil, fmt.Errorf("Failed to create certificate: %w", err) } certOut := bytes.NewBuffer([]byte{})
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0)