- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 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) -
pkg/test/csrctrl/authority/policies.go
var keyUsage x509.KeyUsage var unrecognized []capi.KeyUsage extKeyUsages := make(map[x509.ExtKeyUsage]struct{}) for _, usage := range usages { if val, ok := keyUsageDict[usage]; ok { keyUsage |= val } else if val, ok := extKeyUsageDict[usage]; ok { extKeyUsages[val] = struct{}{} } else { unrecognized = append(unrecognized, usage) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 03 17:06:22 UTC 2022 - 4.5K bytes - Viewed (0) -
pkg/controller/certificates/authority/policies.go
var keyUsage x509.KeyUsage var unrecognized []capi.KeyUsage extKeyUsages := make(map[x509.ExtKeyUsage]struct{}) for _, usage := range usages { if val, ok := keyUsageDict[usage]; ok { keyUsage |= val } else if val, ok := extKeyUsageDict[usage]; ok { extKeyUsages[val] = struct{}{} } else { unrecognized = append(unrecognized, usage) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 5.7K 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)