Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for cipher_suites (0.28 sec)

  1. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val utf8: Challenge = challenge.withCharset(Charsets.UTF_8)
      }
    
      @Test
      fun cipherSuite() {
        var cipherSuite: CipherSuite = CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        cipherSuite = CipherSuite.forJavaName("")
        val javaName: String = cipherSuite.javaName
      }
    
      @Test
      fun connection() {
        val connection =
          object : Connection {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  2. src/crypto/tls/ticket.go

    // sessionState returns a partially filled-out [SessionState] with information
    // from the current connection.
    func (c *Conn) sessionState() *SessionState {
    	return &SessionState{
    		version:           c.vers,
    		cipherSuite:       c.cipherSuite,
    		createdAt:         uint64(c.config.time().Unix()),
    		alpnProtocol:      c.clientProtocol,
    		peerCertificates:  c.peerCertificates,
    		activeCertHandles: c.activeCertHandles,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/CipherSuite {
    	public static final field Companion Lokhttp3/CipherSuite$Companion;
    	public static final field TLS_AES_128_CCM_8_SHA256 Lokhttp3/CipherSuite;
    	public static final field TLS_AES_128_CCM_SHA256 Lokhttp3/CipherSuite;
    	public static final field TLS_AES_128_GCM_SHA256 Lokhttp3/CipherSuite;
    	public static final field TLS_AES_256_GCM_SHA384 Lokhttp3/CipherSuite;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  4. src/crypto/tls/common.go

    		t = time.Now
    	}
    	return t()
    }
    
    func (c *Config) cipherSuites() []uint16 {
    	if c.CipherSuites == nil {
    		if needFIPS() {
    			return defaultCipherSuitesFIPS
    		}
    		return defaultCipherSuites()
    	}
    	if needFIPS() {
    		cipherSuites := slices.Clone(c.CipherSuites)
    		return slices.DeleteFunc(cipherSuites, func(id uint16) bool {
    			return !slices.Contains(defaultCipherSuitesFIPS, id)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_messages_test.go

    	m.vers = uint16(rand.Intn(65536))
    	m.random = randomBytes(32, rand)
    	m.sessionId = randomBytes(rand.Intn(32), rand)
    	m.cipherSuites = make([]uint16, rand.Intn(63)+1)
    	for i := 0; i < len(m.cipherSuites); i++ {
    		cs := uint16(rand.Int31())
    		if cs == scsvRenegotiation {
    			cs += 1
    		}
    		m.cipherSuites[i] = cs
    	}
    	m.compressionMethods = randomBytes(rand.Intn(63)+1, rand)
    	if rand.Intn(10) > 5 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_messages.go

    		!readUint8LengthPrefixed(&s, &m.sessionId) {
    		return false
    	}
    
    	var cipherSuites cryptobyte.String
    	if !s.ReadUint16LengthPrefixed(&cipherSuites) {
    		return false
    	}
    	m.cipherSuites = []uint16{}
    	m.secureRenegotiationSupported = false
    	for !cipherSuites.Empty() {
    		var suite uint16
    		if !cipherSuites.ReadUint16(&suite) {
    			return false
    		}
    		if suite == scsvRenegotiation {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. pkg/config/security/security.go

    		if IsValidCipherSuite(s) {
    			if !validCiphers.InsertContains(s) {
    				ret = append(ret, s)
    			} else if log.DebugEnabled() {
    				log.Debugf("ignoring duplicated cipherSuite: %q", s)
    			}
    		} else if log.DebugEnabled() {
    			log.Debugf("ignoring unsupported cipherSuite: %q", s)
    		}
    	}
    	return ret
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. pilot/pkg/security/authn/utils/utils.go

    	}
    	ciphers := SupportedCiphers
    	if mc != nil && mc.MeshMTLS != nil && mc.MeshMTLS.CipherSuites != nil {
    		ciphers = mc.MeshMTLS.CipherSuites
    	}
    	// Set Minimum TLS version to match the default client version and allowed strong cipher suites for sidecars.
    	ctx.CommonTlsContext.TlsParams = &tls.TlsParameters{
    		CipherSuites:              ciphers,
    		TlsMinimumProtocolVersion: minTLSVersion,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 00:16:21 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. pkg/model/fips.go

    		// Therefore, we only filter this field when it is set.
    		if len(ctx.TlsParams.CipherSuites) > 0 {
    			ciphers := []string{}
    			for _, cipher := range ctx.TlsParams.CipherSuites {
    				if _, ok := fipsCipherIndex[cipher]; ok {
    					ciphers = append(ciphers, cipher)
    				}
    			}
    			ctx.TlsParams.CipherSuites = ciphers
    		}
    		// Default (unset) is P-256
    		ctx.TlsParams.EcdhCurves = nil
    		return
    	default:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client_tls13.go

    		return errors.New("tls: invalid early data for QUIC connection")
    	}
    
    	cipherSuite := cipherSuiteTLS13ByID(c.cipherSuite)
    	if cipherSuite == nil || c.resumptionSecret == nil {
    		return c.sendAlert(alertInternalError)
    	}
    
    	psk := cipherSuite.expandLabel(c.resumptionSecret, "resumption",
    		msg.nonce, cipherSuite.hash.Size())
    
    	session := c.sessionState()
    	session.secret = psk
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top