Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for KeyLogWriter (0.21 sec)

  1. src/crypto/tls/example_test.go

    		panic("failed to connect: " + err.Error())
    	}
    	conn.Close()
    }
    
    func ExampleConfig_keyLogWriter() {
    	// Debugging TLS applications by decrypting a network traffic capture.
    
    	// WARNING: Use of KeyLogWriter compromises security and should only be
    	// used for debugging.
    
    	// Dummy test HTTP server for the example with insecure random so output is
    	// reproducible.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_test.go

    	fast         = flag.Bool("fast", false, "impose a quick, possibly flaky timeout on recorded tests")
    	keyFile      = flag.String("keylog", "", "destination file for KeyLogWriter")
    	bogoMode     = flag.Bool("bogo-mode", false, "Enabled bogo shim mode, ignore everything else")
    	bogoFilter   = flag.String("bogo-filter", "", "BoGo test filter")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. src/crypto/tls/common.go

    	Renegotiation RenegotiationSupport
    
    	// KeyLogWriter optionally specifies a destination for TLS master secrets
    	// in NSS key log format that can be used to allow external programs
    	// such as Wireshark to decrypt TLS connections.
    	// See https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format.
    	// Use of KeyLogWriter compromises security and should only be
    	// used for debugging.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  4. api/go1.8.txt

    pkg crypto/tls, type Config struct, GetConfigForClient func(*ClientHelloInfo) (*Config, error)
    pkg crypto/tls, type Config struct, KeyLogWriter io.Writer
    pkg crypto/tls, type Config struct, VerifyPeerCertificate func([][]uint8, [][]*x509.Certificate) error
    pkg crypto/tls, type SignatureScheme uint16
    pkg crypto/x509, const NameMismatch = 5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_test.go

    }
    
    func TestKeyLogTLS12(t *testing.T) {
    	var serverBuf, clientBuf bytes.Buffer
    
    	clientConfig := testConfig.Clone()
    	clientConfig.KeyLogWriter = &clientBuf
    	clientConfig.MaxVersion = VersionTLS12
    
    	serverConfig := testConfig.Clone()
    	serverConfig.KeyLogWriter = &serverBuf
    	serverConfig.MaxVersion = VersionTLS12
    
    	c, s := localPipe(t)
    	done := make(chan bool)
    
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. src/crypto/tls/tls_test.go

    		case "RootCAs", "ClientCAs":
    			f.Set(reflect.ValueOf(x509.NewCertPool()))
    		case "ClientSessionCache":
    			f.Set(reflect.ValueOf(NewLRUClientSessionCache(10)))
    		case "KeyLogWriter":
    			f.Set(reflect.ValueOf(io.Writer(os.Stdout)))
    		case "NextProtos":
    			f.Set(reflect.ValueOf([]string{"a", "b"}))
    		case "ServerName":
    			f.Set(reflect.ValueOf("b"))
    		case "ClientAuth":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Config.GetCertificate", Field, 4},
    		{"Config.GetClientCertificate", Field, 8},
    		{"Config.GetConfigForClient", Field, 8},
    		{"Config.InsecureSkipVerify", Field, 0},
    		{"Config.KeyLogWriter", Field, 8},
    		{"Config.MaxVersion", Field, 2},
    		{"Config.MinVersion", Field, 2},
    		{"Config.NameToCertificate", Field, 0},
    		{"Config.NextProtos", Field, 0},
    		{"Config.PreferServerCipherSuites", Field, 1},
    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