type crypto/tls.Config
69 uses
crypto/tls (current package)
common.go#L492: config *Config
common.go#L566: type Config struct {
common.go#L643: GetConfigForClient func(*ClientHelloInfo) (*Config, error)
common.go#L971: func (c *Config) ticketKeyFromBytes(b [32]byte) (key ticketKey) {
common.go#L996: func (c *Config) Clone() *Config {
common.go#L1002: return &Config{
common.go#L1046: func (c *Config) initLegacySessionTicketKeyRLocked() {
common.go#L1083: func (c *Config) ticketKeys(configForClient *Config) []ticketKey {
common.go#L1152: func (c *Config) SetSessionTicketKeys(keys [][32]byte) {
common.go#L1167: func (c *Config) rand() io.Reader {
common.go#L1175: func (c *Config) time() time.Time {
common.go#L1183: func (c *Config) cipherSuites(aesGCMPreferred bool) []uint16 {
common.go#L1203: func (c *Config) supportedCipherSuites() []uint16 {
common.go#L1223: func (c *Config) supportedVersions(isClient bool) []uint16 {
common.go#L1248: func (c *Config) maxSupportedVersion(isClient bool) uint16 {
common.go#L1270: func (c *Config) curvePreferences(version uint16) []CurveID {
common.go#L1288: func (c *Config) supportsCurve(version uint16, curve CurveID) bool {
common.go#L1294: func (c *Config) mutualVersion(isClient bool, peerVersions []uint16) (uint16, bool) {
common.go#L1317: func (c *Config) getCertificate(clientHello *ClientHelloInfo) (*Certificate, error) {
common.go#L1379: config = &Config{}
common.go#L1564: func (c *Config) BuildNameToCertificate() {
common.go#L1591: func (c *Config) writeKeyLog(label string, clientRandom, secret []byte) error {
common.go#L1737: var emptyConfig Config
common.go#L1739: func defaultConfig() *Config {
conn.go#L44: config *Config // configuration passed to constructor
handshake_server.go#L165: var configForClient *Config
handshake_server.go#L365: func supportsECDHE(c *Config, version uint16, supportedCurves []CurveID, supportedPoints []uint8) (bool, error) {
key_agreement.go#L28: generateServerKeyExchange(*Config, *Certificate, *clientHelloMsg, *serverHelloMsg) (*serverKeyExchangeMsg, error)
key_agreement.go#L29: processClientKeyExchange(*Config, *Certificate, *clientKeyExchangeMsg, uint16) ([]byte, error)
key_agreement.go#L35: processServerKeyExchange(*Config, *clientHelloMsg, *serverHelloMsg, *x509.Certificate, *serverKeyExchangeMsg) error
key_agreement.go#L36: generateClientKeyExchange(*Config, *clientHelloMsg, *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error)
key_agreement.go#L46: func (ka rsaKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) {
key_agreement.go#L50: func (ka rsaKeyAgreement) processClientKeyExchange(config *Config, cert *Certificate, ckx *clientKeyExchangeMsg, version uint16) ([]byte, error) {
key_agreement.go#L78: func (ka rsaKeyAgreement) processServerKeyExchange(config *Config, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, skx *serverKeyExchangeMsg) error {
key_agreement.go#L82: func (ka rsaKeyAgreement) generateClientKeyExchange(config *Config, clientHello *clientHelloMsg, cert *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error) {
key_agreement.go#L158: func (ka *ecdheKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) {
key_agreement.go#L254: func (ka *ecdheKeyAgreement) processClientKeyExchange(config *Config, cert *Certificate, ckx *clientKeyExchangeMsg, version uint16) ([]byte, error) {
key_agreement.go#L271: func (ka *ecdheKeyAgreement) processServerKeyExchange(config *Config, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, skx *serverKeyExchangeMsg) error {
key_agreement.go#L371: func (ka *ecdheKeyAgreement) generateClientKeyExchange(config *Config, clientHello *clientHelloMsg, cert *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error) {
quic.go#L51: TLSConfig *Config
ticket.go#L316: func (c *Config) EncryptTicket(cs ConnectionState, ss *SessionState) ([]byte, error) {
ticket.go#L325: func (c *Config) encryptTicket(state []byte, ticketKeys []ticketKey) ([]byte, error) {
ticket.go#L357: func (c *Config) DecryptTicket(identity []byte, cs ConnectionState) (*SessionState, error) {
ticket.go#L370: func (c *Config) decryptTicket(encrypted []byte, ticketKeys []ticketKey) []byte {
tls.go#L46: func Server(conn net.Conn, config *Config) *Conn {
tls.go#L59: func Client(conn net.Conn, config *Config) *Conn {
tls.go#L72: config *Config
tls.go#L89: func NewListener(inner net.Listener, config *Config) net.Listener {
tls.go#L100: func Listen(network, laddr string, config *Config) (net.Listener, error) {
tls.go#L129: func DialWithDialer(dialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
tls.go#L133: func dial(ctx context.Context, netDialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
tls.go#L183: func Dial(network, addr string, config *Config) (*Conn, error) {
tls.go#L199: Config *Config
net/http
h2_bundle.go#L4248: s.TLSConfig = new(tls.Config)
h2_bundle.go#L7365: DialTLSContext func(ctx context.Context, network, addr string, cfg *tls.Config) (net.Conn, error)
h2_bundle.go#L7375: DialTLS func(network, addr string, cfg *tls.Config) (net.Conn, error)
h2_bundle.go#L7379: TLSClientConfig *tls.Config
h2_bundle.go#L7537: t1.TLSClientConfig = new(tls.Config)
h2_bundle.go#L8030: func (t *http2Transport) newTLSConfig(host string) *tls.Config {
h2_bundle.go#L8031: cfg := new(tls.Config)
h2_bundle.go#L8044: func (t *http2Transport) dialTLS(ctx context.Context, network, addr string, tlsCfg *tls.Config) (net.Conn, error) {
h2_bundle.go#L10725: func (t *http2Transport) dialTLSWithContext(ctx context.Context, network, addr string, cfg *tls.Config) (*tls.Conn, error) {
server.go#L2984: TLSConfig *tls.Config
transport.go#L182: TLSClientConfig *tls.Config
transport.go#L3234: func cloneTLSConfig(cfg *tls.Config) *tls.Config {
transport.go#L3236: return &tls.Config{}
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |