type github.com/refraction-networking/utls.Config
59 uses
github.com/refraction-networking/utls (current package)
common.go#L477: config *Config
common.go#L551: type Config struct {
common.go#L625: GetConfigForClient func(*ClientHelloInfo) (*Config, error)
common.go#L958: func (c *Config) ticketKeyFromBytes(b [32]byte) (key ticketKey) {
common.go#L976: func (c *Config) Clone() *Config {
common.go#L982: return &Config{
common.go#L1032: func (c *Config) initLegacySessionTicketKeyRLocked() {
common.go#L1069: func (c *Config) ticketKeys(configForClient *Config) []ticketKey {
common.go#L1137: func (c *Config) SetSessionTicketKeys(keys [][32]byte) {
common.go#L1152: func (c *Config) rand() io.Reader {
common.go#L1160: func (c *Config) time() time.Time {
common.go#L1168: func (c *Config) cipherSuites() []uint16 {
common.go#L1202: func (c *Config) supportedVersions(isClient bool) []uint16 {
common.go#L1235: func (c *Config) maxSupportedVersion(isClient bool) uint16 {
common.go#L1257: func (c *Config) curvePreferences(version uint16) []CurveID {
common.go#L1277: func (c *Config) supportsCurve(version uint16, curve CurveID) bool {
common.go#L1288: func (c *Config) mutualVersion(isClient bool, peerVersions []uint16) (uint16, bool) {
common.go#L1313: func (c *Config) getCertificate(clientHello *ClientHelloInfo) (*Certificate, error) {
common.go#L1375: config = &Config{}
common.go#L1556: func (c *Config) BuildNameToCertificate() {
common.go#L1583: func (c *Config) writeKeyLog(label string, clientRandom, secret []byte) error {
common.go#L1724: var emptyConfig Config
common.go#L1726: func defaultConfig() *Config {
conn.go#L43: config *Config // configuration passed to constructor
handshake_server.go#L159: var configForClient *Config
handshake_server.go#L350: func supportsECDHE(c *Config, version uint16, supportedCurves []CurveID, supportedPoints []uint8) bool {
key_agreement.go#L27: generateServerKeyExchange(*Config, *Certificate, *clientHelloMsg, *serverHelloMsg) (*serverKeyExchangeMsg, error)
key_agreement.go#L28: processClientKeyExchange(*Config, *Certificate, *clientKeyExchangeMsg, uint16) ([]byte, error)
key_agreement.go#L34: processServerKeyExchange(*Config, *clientHelloMsg, *serverHelloMsg, *x509.Certificate, *serverKeyExchangeMsg) error
key_agreement.go#L35: generateClientKeyExchange(*Config, *clientHelloMsg, *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error)
key_agreement.go#L45: func (ka rsaKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) {
key_agreement.go#L49: func (ka rsaKeyAgreement) processClientKeyExchange(config *Config, cert *Certificate, ckx *clientKeyExchangeMsg, version uint16) ([]byte, error) {
key_agreement.go#L77: func (ka rsaKeyAgreement) processServerKeyExchange(config *Config, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, skx *serverKeyExchangeMsg) error {
key_agreement.go#L81: func (ka rsaKeyAgreement) generateClientKeyExchange(config *Config, clientHello *clientHelloMsg, cert *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error) {
key_agreement.go#L169: func (ka *ecdheKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) {
key_agreement.go#L258: func (ka *ecdheKeyAgreement) processClientKeyExchange(config *Config, cert *Certificate, ckx *clientKeyExchangeMsg, version uint16) ([]byte, error) {
key_agreement.go#L275: func (ka *ecdheKeyAgreement) processServerKeyExchange(config *Config, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, skx *serverKeyExchangeMsg) error {
key_agreement.go#L360: func (ka *ecdheKeyAgreement) generateClientKeyExchange(config *Config, clientHello *clientHelloMsg, cert *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error) {
quic.go#L51: TLSConfig *Config
ticket.go#L311: func (c *Config) EncryptTicket(cs ConnectionState, ss *SessionState) ([]byte, error) {
ticket.go#L320: func (c *Config) encryptTicket(state []byte, ticketKeys []ticketKey) ([]byte, error) {
ticket.go#L352: func (c *Config) DecryptTicket(identity []byte, cs ConnectionState) (*SessionState, error) {
ticket.go#L365: func (c *Config) decryptTicket(encrypted []byte, ticketKeys []ticketKey) []byte {
tls.go#L34: func Server(conn net.Conn, config *Config) *Conn {
tls.go#L47: func Client(conn net.Conn, config *Config) *Conn {
tls.go#L60: config *Config
tls.go#L77: func NewListener(inner net.Listener, config *Config) net.Listener {
tls.go#L88: func Listen(network, laddr string, config *Config) (net.Listener, error) {
tls.go#L117: func DialWithDialer(dialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
tls.go#L121: func dial(ctx context.Context, netDialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
tls.go#L171: func Dial(network, addr string, config *Config) (*Conn, error) {
tls.go#L187: Config *Config
u_conn.go#L64: func UClient(conn net.Conn, config *Config, clientHelloID ClientHelloID) *UConn {
u_conn.go#L66: config = &Config{}
u_conn.go#L768: tlsConn := &Conn{conn: tcpConn, config: &Config{}, isClient: isClient}
u_public.go#L825: config := &Config{}
github.com/gotd/td/mtproxy/faketls
client_hello.go#L38: config := &utls.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. |