- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for extKeyUsages (0.09 sec)
-
security/pkg/pki/util/generate_cert.go
keyUsage = x509.KeyUsageDigitalSignature | x509.KeyUsageKeyEncipherment } extKeyUsages := []x509.ExtKeyUsage{} if options.IsServer { extKeyUsages = append(extKeyUsages, x509.ExtKeyUsageServerAuth) } if options.IsClient { extKeyUsages = append(extKeyUsages, x509.ExtKeyUsageClientAuth) } notBefore := time.Now() if !options.NotBefore.IsZero() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 02 14:34:38 UTC 2023 - 14.2K bytes - Viewed (0) -
src/crypto/x509/parser.go
return nil, nil, errors.New("x509: invalid extended key usages") } if extKeyUsage, ok := extKeyUsageFromOID(eku); ok { extKeyUsages = append(extKeyUsages, extKeyUsage) } else { unknownUsages = append(unknownUsages, eku) } } return extKeyUsages, unknownUsages, nil } func parseCertificatePoliciesExtension(der cryptobyte.String) ([]OID, error) { var oids []OID
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 38.5K bytes - Viewed (0)