Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 124 for ServerName (0.15 sec)

  1. src/net/smtp/smtp.go

    	c, err := Dial(addr)
    	if err != nil {
    		return err
    	}
    	defer c.Close()
    	if err = c.hello(); err != nil {
    		return err
    	}
    	if ok, _ := c.Extension("STARTTLS"); ok {
    		config := &tls.Config{ServerName: c.serverName}
    		if testHookStartTLS != nil {
    			testHookStartTLS(config)
    		}
    		if err = c.StartTLS(config); err != nil {
    			return err
    		}
    	}
    	if a != nil && c.ext != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. pkg/test/echo/server/forwarder/config.go

    }
    
    func newTLSConfig(c *Config) (*tls.Config, error) {
    	r := c.Request
    	tlsConfig := &tls.Config{
    		GetClientCertificate: c.getClientCertificate,
    		NextProtos:           r.GetAlpn().GetValue(),
    		ServerName:           r.ServerName,
    		MinVersion:           tls.VersionTLS12,
    	}
    	if r.CaCertFile != "" {
    		certData, err := os.ReadFile(r.CaCertFile)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. src/net/smtp/smtp_test.go

    			// (We don't know that the server is the real server.)
    			authName: "servername",
    			server:   &ServerInfo{Name: "servername", Auth: []string{"PLAIN"}},
    			err:      "unencrypted connection",
    		},
    		{
    			authName: "servername",
    			server:   &ServerInfo{Name: "servername", Auth: []string{"CRAM-MD5"}},
    			err:      "unencrypted connection",
    		},
    		{
    			authName: "servername",
    			server:   &ServerInfo{Name: "attacker", TLS: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

        private String userName;
        private String userDisplayName;
        private String logonScript;
        private String profilePath;
        private String homeDirectory;
        private String homeDrive;
        private String serverName;
        private String domainName;
        private SID userSid;
        private SID groupSid;
        private SID[] groupSids;
        private SID[] resourceGroupSids;
        private SID[] extraSids;
        private int userAccountControl;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  5. pkg/kubelet/util/util_windows.go

    	// so using `url` like we do on unix gives us unclear benefits - see https://github.com/kubernetes/kubernetes/issues/78628
    	// So we just construct the path from scratch.
    	// Format: \\ServerName\pipe\PipeName
    	// Where where ServerName is either the name of a remote computer or a period, to specify the local computer.
    	// We only consider PipeName as regular windows path, while the pipe path components are fixed, hence we use constants.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/crypto/tls/tls.go

    	}
    	hostname := addr[:colonPos]
    
    	if config == nil {
    		config = defaultConfig()
    	}
    	// If no ServerName is set, infer the ServerName
    	// from the hostname we're connecting to.
    	if config.ServerName == "" {
    		// Make a copy to avoid polluting argument or default.
    		c := config.Clone()
    		c.ServerName = hostname
    		config = c
    	}
    
    	conn := Client(rawConn, config)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/crypto/tls/bogo_shim_test.go

    			}
    
    			if *expectSessionMiss && cs.DidResume {
    				log.Fatal("unexpected session resumption")
    			}
    
    			if *expectedServerName != "" && cs.ServerName != *expectedServerName {
    				log.Fatalf("unexpected server name: got %q, want %q", cs.ServerName, *expectedServerName)
    			}
    		}
    
    		if *expectedCurve != "" {
    			expectedCurveID, err := strconv.Atoi(*expectedCurve)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_messages_test.go

    			cs += 1
    		}
    		m.cipherSuites[i] = cs
    	}
    	m.compressionMethods = randomBytes(rand.Intn(63)+1, rand)
    	if rand.Intn(10) > 5 {
    		m.serverName = randomString(rand.Intn(255), rand)
    		for strings.HasSuffix(m.serverName, ".") {
    			m.serverName = m.serverName[:len(m.serverName)-1]
    		}
    	}
    	m.ocspStapling = rand.Intn(10) > 5
    	m.supportedPoints = randomBytes(rand.Intn(5)+1, rand)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_messages.go

    				return false
    			}
    			for !nameList.Empty() {
    				var nameType uint8
    				var serverName cryptobyte.String
    				if !nameList.ReadUint8(&nameType) ||
    					!nameList.ReadUint16LengthPrefixed(&serverName) ||
    					serverName.Empty() {
    					return false
    				}
    				if nameType != 0 {
    					continue
    				}
    				if len(m.serverName) != 0 {
    					// Multiple names of the same name_type are prohibited.
    					return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. src/crypto/tls/example_test.go

    		// replacing. This will not disable VerifyConnection.
    		InsecureSkipVerify: true,
    		VerifyConnection: func(cs tls.ConnectionState) error {
    			opts := x509.VerifyOptions{
    				DNSName:       cs.ServerName,
    				Intermediates: x509.NewCertPool(),
    			}
    			for _, cert := range cs.PeerCertificates[1:] {
    				opts.Intermediates.AddCert(cert)
    			}
    			_, err := cs.PeerCertificates[0].Verify(opts)
    			return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top