Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CipherSuiteName (0.15 sec)

  1. src/crypto/tls/tls_test.go

    		}
    
    		if got := CipherSuiteName(c.id); got != cc.Name {
    			t.Errorf("%#04x: unexpected CipherSuiteName: got %q, expected %q", c.id, got, cc.Name)
    		}
    	}
    
    	if got := CipherSuiteName(0xabc); got != "0x0ABC" {
    		t.Errorf("unexpected fallback CipherSuiteName: got %q, expected 0x0ABC", got)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  2. src/crypto/tls/cipher_suites.go

    	}
    }
    
    // CipherSuiteName returns the standard name for the passed cipher suite ID
    // (e.g. "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"), or a fallback representation
    // of the ID value if the cipher suite is not implemented by this package.
    func CipherSuiteName(id uint16) string {
    	for _, c := range CipherSuites() {
    		if c.ID == id {
    			return c.Name
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"CipherSuite", Type, 14},
    		{"CipherSuite.ID", Field, 14},
    		{"CipherSuite.Insecure", Field, 14},
    		{"CipherSuite.Name", Field, 14},
    		{"CipherSuite.SupportedVersions", Field, 14},
    		{"CipherSuiteName", Func, 14},
    		{"CipherSuites", Func, 14},
    		{"Client", Func, 0},
    		{"ClientAuthType", Type, 0},
    		{"ClientHelloInfo", Type, 4},
    		{"ClientHelloInfo.CipherSuites", Field, 4},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top