Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 31 of 31 for rootTask (0.09 sec)

  1. src/crypto/tls/example_test.go

    	roots := x509.NewCertPool()
    	ok := roots.AppendCertsFromPEM([]byte(rootPEM))
    	if !ok {
    		panic("failed to parse root certificate")
    	}
    
    	conn, err := tls.Dial("tcp", "mail.google.com:443", &tls.Config{
    		RootCAs: roots,
    	})
    	if err != nil {
    		panic("failed to connect: " + err.Error())
    	}
    	conn.Close()
    }
    
    func ExampleConfig_keyLogWriter() {
    	// Debugging TLS applications by decrypting a network traffic capture.
    
    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