Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 106 for cipher_suites (0.17 sec)

  1. src/crypto/tls/prf.go

    	keyMaterial = keyMaterial[ivLen:]
    	serverIV = keyMaterial[:ivLen]
    	return
    }
    
    func newFinishedHash(version uint16, cipherSuite *cipherSuite) finishedHash {
    	var buffer []byte
    	if version >= VersionTLS12 {
    		buffer = []byte{}
    	}
    
    	prf, hash := prfAndHashForVersion(version, cipherSuite)
    	if hash != 0 {
    		return finishedHash{hash.New(), hash.New(), nil, nil, buffer, version, prf}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 16:29:49 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. internal/http/transports.go

    	if dialContext == nil {
    		dialContext = DialContextWithLookupHost(s.LookupHost, NewInternodeDialContext(s.DialTimeout, s.TCPOptions))
    	}
    
    	tlsClientConfig := tls.Config{
    		RootCAs:            s.RootCAs,
    		CipherSuites:       s.CipherSuites,
    		CurvePreferences:   s.CurvePreferences,
    		ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    	}
    
    	// For more details about various values used here refer
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/secure_serving.go

    	}
    	if s.MinTLSVersion > 0 {
    		tlsConfig.MinVersion = s.MinTLSVersion
    	}
    	if len(s.CipherSuites) > 0 {
    		tlsConfig.CipherSuites = s.CipherSuites
    		insecureCiphers := flag.InsecureTLSCiphers()
    		for i := 0; i < len(s.CipherSuites); i++ {
    			for cipherName, cipherID := range insecureCiphers {
    				if s.CipherSuites[i] == cipherID {
    					klog.Warningf("Use of insecure cipher '%s' detected.", cipherName)
    				}
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            Regex(
              """secureConnectEnd: Handshake\{tlsVersion=TLS_1_[23] cipherSuite=TLS_.* peerCertificates=\[CN=localhost] localCertificates=\[]\}""",
            ),
          )
          .assertLogMatch(Regex("""connectEnd: h2"""))
          .assertLogMatch(
            Regex("""connectionAcquired: Connection\{${url.host}:\d+, proxy=DIRECT hostAddress=${url.host}/.+ cipherSuite=.+ protocol=h2\}"""),
          )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. pilot/pkg/security/authn/utils/utils_test.go

    			expectedMTLSCipherSuites: SupportedCiphers,
    		},
    		{
    			name: "Configure 1 MTLS cipher suite",
    			mesh: meshconfig.MeshConfig{
    				MeshMTLS: &meshconfig.MeshConfig_TLSConfig{
    					CipherSuites: []string{"ECDHE-RSA-AES256-GCM-SHA384"},
    				},
    			},
    			expectedMTLSCipherSuites: []string{"ECDHE-RSA-AES256-GCM-SHA384"},
    		},
    	}
    	for i := range tests {
    		tt := &tests[i]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 10 20:24:43 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/crypto/tls/conn_test.go

    	config := testConfig.Clone()
    	config.MaxVersion = VersionTLS12
    	config.CipherSuites = []uint16{TLS_RSA_WITH_RC4_128_SHA}
    	runDynamicRecordSizingTest(t, config)
    }
    
    func TestDynamicRecordSizingWithCBC(t *testing.T) {
    	config := testConfig.Clone()
    	config.MaxVersion = VersionTLS12
    	config.CipherSuites = []uint16{TLS_RSA_WITH_AES_256_CBC_SHA}
    	runDynamicRecordSizingTest(t, config)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:35:01 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  7. tests/fuzz/testdata/FuzzConfigValidation2/fuzz_config_validation2.dict

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 07 17:07:53 UTC 2021
    - 2K bytes
    - Viewed (0)
  8. internal/crypto/sse.go

    // body of a single-part PUT request.
    func EncryptSinglePart(r io.Reader, key ObjectKey) io.Reader {
    	r, err := sio.EncryptReader(r, sio.Config{MinVersion: sio.Version20, Key: key[:], CipherSuites: fips.DARECiphers()})
    	if err != nil {
    		logger.CriticalIf(context.Background(), errors.New("Unable to encrypt io.Reader using object key"))
    	}
    	return r
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  9. pilot/cmd/pilot-discovery/app/options.go

    }
    
    // secureTLSCipherNames returns a list of secure cipher suite names implemented by crypto/tls.
    func secureTLSCipherNames() []string {
    	cipherKeys := sets.New[string]()
    	for _, cipher := range tls.CipherSuites() {
    		cipherKeys.Insert(cipher.Name)
    	}
    	return sets.SortedList(cipherKeys)
    }
    
    func validateFlags(serverArgs *bootstrap.PilotArgs) error {
    	if serverArgs == nil {
    		return nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

    @file:JvmName("Internal")
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import java.nio.charset.Charset
    import javax.net.ssl.SSLSocket
    import okhttp3.Cache
    import okhttp3.CipherSuite
    import okhttp3.ConnectionListener
    import okhttp3.ConnectionPool
    import okhttp3.ConnectionSpec
    import okhttp3.Cookie
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.MediaType
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top