Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 96 for handshakes (0.17 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

            "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=");
    
        @Override public Response intercept(Chain chain) throws IOException {
          for (Certificate certificate : chain.connection().handshake().peerCertificates()) {
            String pin = CertificatePinner.pin(certificate);
            if (denylist.contains(pin)) {
              throw new IOException("Denylisted peer certificate: " + pin);
            }
          }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * client presents a certificate that is [trusted][TrustManager] the handshake will
       * proceed normally. The connection will also proceed normally if the client presents no
       * certificate at all! But if the client presents an untrusted certificate the handshake
       * will fail and no connection will be established.
       */
      fun requestClientAuth() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_server_tls13.go

    	transcript      hash.Hash
    	clientFinished  []byte
    }
    
    func (hs *serverHandshakeStateTLS13) handshake() error {
    	c := hs.c
    
    	if needFIPS() {
    		return errors.New("tls: internal error: TLS 1.3 reached in FIPS mode")
    	}
    
    	// For an overview of the TLS 1.3 handshake, see RFC 8446, Section 2.
    	if err := hs.processClientHello(); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. src/crypto/tls/alert.go

    	alertDecryptionFailed:             "decryption failed",
    	alertRecordOverflow:               "record overflow",
    	alertDecompressionFailure:         "decompression failure",
    	alertHandshakeFailure:             "handshake failure",
    	alertBadCertificate:               "bad certificate",
    	alertUnsupportedCertificate:       "unsupported certificate",
    	alertCertificateRevoked:           "revoked certificate",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. okhttp/api/okhttp.api

    	public fun toString ()Ljava/lang/String;
    }
    
    public final class okhttp3/Handshake$Companion {
    	public final fun -deprecated_get (Ljavax/net/ssl/SSLSession;)Lokhttp3/Handshake;
    	public final fun get (Ljavax/net/ssl/SSLSession;)Lokhttp3/Handshake;
    	public final fun get (Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List;Ljava/util/List;)Lokhttp3/Handshake;
    }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  6. docs/de/docs/deployment/https.md

    <img src="/img/deployment/https/https01.svg">
    
    ### TLS-Handshake-Start
    
    Der Browser kommuniziert dann mit dieser IP-Adresse über **Port 443** (den HTTPS-Port).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:16:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/crypto/tls/auth.go

    	"crypto"
    	"crypto/ecdsa"
    	"crypto/ed25519"
    	"crypto/elliptic"
    	"crypto/rsa"
    	"errors"
    	"fmt"
    	"hash"
    	"io"
    )
    
    // verifyHandshakeSignature verifies a signature against pre-hashed
    // (if required) handshake contents.
    func verifyHandshakeSignature(sigType uint8, pubkey crypto.PublicKey, hashFunc crypto.Hash, signed, sig []byte) error {
    	switch sigType {
    	case signatureECDSA:
    		pubKey, ok := pubkey.(*ecdsa.PublicKey)
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          // No cached response.
          if (cacheResponse == null) {
            return CacheStrategy(request, null)
          }
    
          // Drop the cached response if it's missing a required handshake.
          if (request.isHttps && cacheResponse.handshake == null) {
            return CacheStrategy(request, null)
          }
    
          // If this response shouldn't have been stored, it should never be used as a response source.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheTest.kt

        val cipherSuite = response1.handshake!!.cipherSuite
        val localCerts = response1.handshake!!.localCertificates
        val serverCerts = response1.handshake!!.peerCertificates
        val peerPrincipal = response1.handshake!!.peerPrincipal
        val localPrincipal = response1.handshake!!.localPrincipal
        val response2 = client.newCall(request).execute() // Cached!
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  10. src/crypto/tls/key_schedule_test.go

    	type args struct {
    		secret     []byte
    		label      string
    		transcript hash.Hash
    	}
    	tests := []struct {
    		name string
    		args args
    		want []byte
    	}{
    		{
    			`derive secret for handshake "tls13 derived"`,
    			args{
    				parseVector(`PRK (32 octets):  33 ad 0a 1c 60 7e c0 3b 09 e6 cd 98 93 68 0c e2
    				10 ad f3 00 aa 1f 26 60 e1 b2 2e 10 f1 70 f9 2a`),
    				"derived",
    				nil,
    			},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top