Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 179 for x509 (0.04 sec)

  1. src/net/http/httptest/server.go

    	}
    	if len(s.TLS.Certificates) == 0 {
    		s.TLS.Certificates = []tls.Certificate{cert}
    	}
    	s.certificate, err = x509.ParseCertificate(s.TLS.Certificates[0].Certificate[0])
    	if err != nil {
    		panic(fmt.Sprintf("httptest: NewTLSServer: %v", err))
    	}
    	certpool := x509.NewCertPool()
    	certpool.AddCert(s.certificate)
    	s.client.Transport = &http.Transport{
    		TLSClientConfig: &tls.Config{
    			RootCAs: certpool,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/componentconfigs/kubelet_windows.go

    	cfg.ResolverConfig = ptr.To("")
    	mutateStringField("staticPodPath", &cfg.StaticPodPath)
    	mutateStringField("authentication.x509.clientCAFile", &cfg.Authentication.X509.ClientCAFile)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-discovery/app/cmd.go

    		"File containing the x509 Server CA Certificate")
    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.TLSOptions.CertFile, "tlsCertFile", "",
    		"File containing the x509 Server Certificate")
    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.TLSOptions.KeyFile, "tlsKeyFile", "",
    		"File containing the x509 private key matching --tlsCertFile")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/crypto/tls/ticket.go

    	secret            []byte // master secret for TLS 1.2, or the PSK for TLS 1.3
    	extMasterSecret   bool
    	peerCertificates  []*x509.Certificate
    	activeCertHandles []*activeCert
    	ocspResponse      []byte
    	scts              [][]byte
    	verifiedChains    [][]*x509.Certificate
    	alpnProtocol      string // only set if EarlyData is true
    
    	// Client-side TLS 1.3-only fields.
    	useBy  uint64 // seconds since UNIX epoch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istio/ca.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package istio
    
    import (
    	"context"
    	"crypto/tls"
    	"crypto/x509"
    	"fmt"
    	"sync"
    	"time"
    
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/credentials"
    	"google.golang.org/grpc/metadata"
    	authenticationv1 "k8s.io/api/authentication/v1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. src/crypto/tls/tls.go

    // OpenSSL ecparam generates SEC1 EC private keys for ECDSA. We try all three.
    func parsePrivateKey(der []byte) (crypto.PrivateKey, error) {
    	if key, err := x509.ParsePKCS1PrivateKey(der); err == nil {
    		return key, nil
    	}
    	if key, err := x509.ParsePKCS8PrivateKey(der); err == nil {
    		switch key := key.(type) {
    		case *rsa.PrivateKey, *ecdsa.PrivateKey, ed25519.PrivateKey:
    			return key, nil
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/crypto/x509/boring.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto
    
    package x509
    
    import (
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/internal/boring/fipstls"
    	"crypto/rsa"
    )
    
    // boringAllowCert reports whether c is allowed to be used
    // in a certificate chain by the current fipstls enforcement setting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 993 bytes
    - Viewed (0)
  8. src/crypto/x509/x509_test.go

    		want string
    	}{
    		{MD5WithRSA, "x509: cannot verify signature: insecure algorithm MD5-RSA"},
    		{SHA1WithRSA, "x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)"},
    		{ECDSAWithSHA1, "x509: cannot verify signature: insecure algorithm ECDSA-SHA1 (temporarily override with GODEBUG=x509sha1=1)"},
    		{MD2WithRSA, "x509: cannot verify signature: insecure algorithm 1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/helpers.go

    func KubeletConfigurationPathRefs(kc *KubeletConfiguration) []*string {
    	paths := []*string{}
    	paths = append(paths, &kc.StaticPodPath)
    	paths = append(paths, &kc.Authentication.X509.ClientCAFile)
    	paths = append(paths, &kc.TLSCertFile)
    	paths = append(paths, &kc.TLSPrivateKeyFile)
    	paths = append(paths, &kc.ResolverConfig)
    	paths = append(paths, &kc.VolumePluginDir)
    	paths = append(paths, &kc.PodLogsDir)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go

    func (c *ConfigMapCAController) VerifyOptions() (x509.VerifyOptions, bool) {
    	uncastObj := c.caBundle.Load()
    	if uncastObj == nil {
    		// This can happen if we've been unable load data from the apiserver for some reason.
    		// In this case, we should not accept any connections on the basis of this ca bundle.
    		return x509.VerifyOptions{}, false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top