Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for certPools (0.19 sec)

  1. internal/event/target/nats.go

    		ClusterID          string `json:"clusterID"`
    		Async              bool   `json:"async"`
    		MaxPubAcksInflight int    `json:"maxPubAcksInflight"`
    	} `json:"streaming"`
    
    	RootCAs *x509.CertPool `json:"-"`
    }
    
    // Validate NATSArgs fields
    func (n NATSArgs) Validate() error {
    	if !n.Enable {
    		return nil
    	}
    
    	if n.Address.IsEmpty() {
    		return errors.New("empty address")
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. internal/kms/config.go

    		if err != nil {
    			return nil, err
    		}
    
    		key, err := kms.ParseAPIKey(env.Get(EnvKMSAPIKey, ""))
    		if err != nil {
    			return nil, err
    		}
    
    		var rootCAs *x509.CertPool
    		if opts != nil && opts.CADir != "" {
    			rootCAs, err = certs.GetRootCAs(opts.CADir)
    			if err != nil {
    				return nil, err
    			}
    		}
    
    		client, err := kms.NewClient(&kms.Config{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 14:31:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. cmd/globals.go

    	globalStorageClass storageclass.Config
    
    	globalAuthNPlugin *idplugin.AuthNPlugin
    
    	// CA root certificates, a nil value means system certs pool will be used
    	globalRootCAs *x509.CertPool
    
    	// IsSSL indicates if the server is configured with SSL.
    	globalIsTLS bool
    
    	globalTLSCerts *certs.Manager
    
    	globalHTTPServer        *xhttp.Server
    	globalTCPOptions        xhttp.TCPOptions
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. api/go1.18.txt

    pkg bytes, func Title //deprecated
    pkg crypto/tls, method (*Conn) NetConn() net.Conn
    pkg crypto/tls, type Config struct, PreferServerCipherSuites //deprecated
    pkg crypto/x509, method (*CertPool) Subjects //deprecated
    pkg debug/buildinfo, func Read(io.ReaderAt) (*debug.BuildInfo, error)
    pkg debug/buildinfo, func ReadFile(string) (*debug.BuildInfo, error)
    pkg debug/buildinfo, type BuildInfo = debug.BuildInfo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go

    	options := DefaultVerifyOptions()
    	options.Roots = getRootCertPool(t)
    	return options
    }
    
    func getRootCertPool(t *testing.T) *x509.CertPool {
    	return getRootCertPoolFor(t, rootCACert)
    }
    
    func getRootCertPoolFor(t *testing.T, certs ...string) *x509.CertPool {
    	pool := x509.NewCertPool()
    	for _, cert := range certs {
    		pool.AddCert(getCert(t, cert))
    	}
    	return pool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 23:23:03 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. api/go1.7.txt

    pkg crypto/tls, type Config struct, DynamicRecordSizingDisabled bool
    pkg crypto/tls, type Config struct, Renegotiation RenegotiationSupport
    pkg crypto/tls, type RenegotiationSupport int
    pkg crypto/x509, func SystemCertPool() (*CertPool, error)
    pkg crypto/x509, type SystemRootsError struct, Err error
    pkg debug/dwarf, method (*Data) Ranges(*Entry) ([][2]uint64, error)
    pkg debug/dwarf, method (*Reader) SeekPC(uint64) (*Entry, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  7. internal/config/notify/parse.go

    			Key:   target.MqttQueueLimit,
    			Value: "0",
    		},
    	}
    )
    
    // GetNotifyMQTT - returns a map of registered notification 'mqtt' targets
    func GetNotifyMQTT(mqttKVS map[string]config.KVS, rootCAs *x509.CertPool) (map[string]target.MQTTArgs, error) {
    	mqttTargets := make(map[string]target.MQTTArgs)
    	for k, kv := range config.Merge(mqttKVS, target.EnvMQTTEnable, DefaultMQTTKVS) {
    		enableEnv := target.EnvMQTTEnable
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  8. src/crypto/x509/verify.go

    	// anchors, but can be used to form a chain from the leaf certificate to a
    	// root certificate.
    	Intermediates *CertPool
    	// Roots is the set of trusted root certificates the leaf certificate needs
    	// to chain up to. If nil, the system roots or the platform verifier are used.
    	Roots *CertPool
    
    	// CurrentTime is used to check the validity of all certificates in the
    	// chain. If zero, the current time is used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    		}
    		ts := httptest.NewUnstartedServer(h)
    		ts.TLS = &tls.Config{
    			Certificates: []tls.Certificate{cert},
    		}
    		ts.StartTLS()
    		return ts
    	}
    }
    
    func localhostCertPool(t *testing.T) *x509.CertPool {
    	localhostPool := x509.NewCertPool()
    
    	if !localhostPool.AppendCertsFromPEM(localhostCert) {
    		t.Errorf("error setting up localhostCert pool")
    	}
    	return localhostPool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  10. src/crypto/rsa/rsa_test.go

    		GenerateMultiPrimeKey(rand.Reader, 3, i)
    		GenerateMultiPrimeKey(rand.Reader, 4, i)
    		GenerateMultiPrimeKey(rand.Reader, 5, i)
    	}
    }
    
    func TestGnuTLSKey(t *testing.T) {
    	// This is a key generated by `certtool --generate-privkey --bits 128`.
    	// It's such that de ≢ 1 mod φ(n), but is congruent mod the order of
    	// the group.
    	priv := parseKey(testingKey(`-----BEGIN RSA TESTING KEY-----
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:55:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top