- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for serverAuth (0.45 sec)
-
src/crypto/x509/name_constraints_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 22:40:21 UTC 2024 - 45.2K bytes - Viewed (0) -
cmd/kubeadm/app/util/certs/util.go
func AssertCertificateHasServerAuthUsage(t *testing.T, cert *x509.Certificate) { for i := range cert.ExtKeyUsage { if cert.ExtKeyUsage[i] == x509.ExtKeyUsageServerAuth { return } } t.Error("cert is not a ServerAuth") } // AssertCertificateHasDNSNames is a utility function for kubeadm testing that asserts if a given certificate has // the expected DNSNames
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 9.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist.go
// server cert: https://github.com/etcd-io/etcd/issues/9785#issuecomment-396715692 // Once the upstream issue is resolved, this should be returned to only allowing // ServerAuth usage. Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth}, }, }, configMutators: []configMutatorsFunc{ makeAltNamesMutator(pkiutil.GetEtcdAltNames),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15.8K bytes - Viewed (0) -
src/crypto/x509/verify_test.go
intermediates: []string{startComIntermediate}, roots: []string{startComRoot}, currentTime: 1302726541, // The StartCom root is not trusted by Windows when the default // ServerAuth EKU is requested. systemSkip: true, expectedChains: [][]string{ {"dnssec-exp", "StartCom Class 1", "StartCom Certification Authority"}, }, }, { name: "dnssec-exp/AnyEKU",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 110.2K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/pki_helpers.go
csr, err := NewCSR(*config, key) if err != nil { return nil, nil, errors.Wrap(err, "unable to generate CSR") } return csr, key, nil } // HasServerAuth returns true if the given certificate is a ServerAuth func HasServerAuth(cert *x509.Certificate) bool { for i := range cert.ExtKeyUsage { if cert.ExtKeyUsage[i] == x509.ExtKeyUsageServerAuth { return true } } return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 25.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go
EXTFILE="${EXTFILE}authorityKeyIdentifier=keyid,issuer\n" && \ EXTFILE="${EXTFILE}basicConstraints=CA:FALSE\n" && \ EXTFILE="${EXTFILE}subjectAltName=email:copy\n" && \ EXTFILE="${EXTFILE}extendedKeyUsage=serverAuth\n" && \ openssl x509 -req -days 36500 \ -in ./server.csr \ -extfile <(printf "${EXTFILE}") \ -CA ./root.crt \ -CAkey ./root.key \ -set_serial 7 \ -sha256 \
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 23:23:03 UTC 2024 - 36.9K bytes - Viewed (0) -
src/crypto/x509/x509.go
KeyUsageDecipherOnly ) // RFC 5280, 4.2.1.12 Extended Key Usage // // anyExtendedKeyUsage OBJECT IDENTIFIER ::= { id-ce-extKeyUsage 0 } // // id-kp OBJECT IDENTIFIER ::= { id-pkix 3 } // // id-kp-serverAuth OBJECT IDENTIFIER ::= { id-kp 1 } // id-kp-clientAuth OBJECT IDENTIFIER ::= { id-kp 2 } // id-kp-codeSigning OBJECT IDENTIFIER ::= { id-kp 3 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:20:15 UTC 2024 - 82K bytes - Viewed (0)