type github.com/refraction-networking/utls.Conn
86 uses
github.com/refraction-networking/utls (current package)
conn.go#L27: type Conn struct {
conn.go#L134: func (c *Conn) LocalAddr() net.Addr {
conn.go#L139: func (c *Conn) RemoteAddr() net.Addr {
conn.go#L146: func (c *Conn) SetDeadline(t time.Time) error {
conn.go#L152: func (c *Conn) SetReadDeadline(t time.Time) error {
conn.go#L159: func (c *Conn) SetWriteDeadline(t time.Time) error {
conn.go#L166: func (c *Conn) NetConn() net.Conn {
conn.go#L584: func (c *Conn) newRecordHeaderError(conn net.Conn, msg string) (err RecordHeaderError) {
conn.go#L591: func (c *Conn) readRecord() error {
conn.go#L595: func (c *Conn) readChangeCipherSpec() error {
conn.go#L613: func (c *Conn) readRecordOrCCS(expectChangeCipherSpec bool) error {
conn.go#L789: func (c *Conn) retryReadRecord(expectChangeCipherSpec bool) error {
conn.go#L823: func (c *Conn) readFromUntil(r io.Reader, n int) error {
conn.go#L837: func (c *Conn) sendAlertLocked(err alert) error {
conn.go#L860: func (c *Conn) sendAlert(err alert) error {
conn.go#L896: func (c *Conn) maxPayloadSizeForWrite(typ recordType) int {
conn.go#L943: func (c *Conn) write(data []byte) (int, error) {
conn.go#L954: func (c *Conn) flush() (int, error) {
conn.go#L975: func (c *Conn) writeRecordLocked(typ recordType, data []byte) (int, error) {
conn.go#L1049: func (c *Conn) writeHandshakeRecord(msg handshakeMessage, transcript transcriptHash) (int, error) {
conn.go#L1066: func (c *Conn) writeChangeCipherRecord() error {
conn.go#L1074: func (c *Conn) readHandshakeBytes(n int) error {
conn.go#L1089: func (c *Conn) readHandshake(transcript transcriptHash) (any, error) {
conn.go#L1118: func (c *Conn) unmarshalHandshakeMessage(data []byte, transcript transcriptHash) (handshakeMessage, error) {
conn.go#L1206: func (c *Conn) Write(b []byte) (int, error) {
conn.go#L1263: func (c *Conn) handleRenegotiation() error {
conn.go#L1309: func (c *Conn) handlePostHandshakeMessage() error {
conn.go#L1338: func (c *Conn) handleKeyUpdate(keyUpdate *keyUpdateMsg) error {
conn.go#L1381: func (c *Conn) Read(b []byte) (int, error) {
conn.go#L1425: func (c *Conn) Close() error {
conn.go#L1465: func (c *Conn) CloseWrite() error {
conn.go#L1473: func (c *Conn) closeNotify() error {
conn.go#L1501: func (c *Conn) Handshake() error {
conn.go#L1515: func (c *Conn) HandshakeContext(ctx context.Context) error {
conn.go#L1521: func (c *Conn) handshakeContext(ctx context.Context) (ret error) {
conn.go#L1622: func (c *Conn) ConnectionState() ConnectionState {
conn.go#L1630: func (c *Conn) connectionStateLocked() ConnectionState {
conn.go#L1678: func (c *Conn) OCSPResponse() []byte {
conn.go#L1688: func (c *Conn) VerifyHostname(host string) error {
ech.go#L559: func (c *Conn) processECHClientHello(outer *clientHelloMsg) (*clientHelloMsg, *echServerContext, error) {
handshake_client.go#L33: c *Conn
handshake_client.go#L48: func (c *Conn) makeClientHello() (*clientHelloMsg, *keySharePrivateKeys, *echClientContext, error) {
handshake_client.go#L270: func (c *Conn) clientHandshake(ctx context.Context) (err error) {
handshake_client.go#L396: func (c *Conn) loadSession(hello *clientHelloMsg) (
handshake_client.go#L559: func (c *Conn) pickTLSVersion(serverHello *serverHelloMsg) error {
handshake_client.go#L1122: func (c *Conn) verifyServerCertificate(certificates [][]byte) error {
handshake_client.go#L1314: func (c *Conn) getClientCertificate(cri *CertificateRequestInfo) (*Certificate, error) {
handshake_client.go#L1332: func (c *Conn) clientSessionCacheKey() string {
handshake_client_tls13.go#L27: c *Conn
handshake_client_tls13.go#L1029: func (c *Conn) handleNewSessionTicket(msg *newSessionTicketMsgTLS13) error {
handshake_server.go#L27: c *Conn
handshake_server.go#L43: func (c *Conn) serverHandshake(ctx context.Context) error {
handshake_server.go#L136: func (c *Conn) readClientHello(ctx context.Context) (*clientHelloMsg, *echServerContext, error) {
handshake_server.go#L908: func (c *Conn) processCertsFromClient(certificate Certificate) error {
handshake_server.go#L990: func clientHelloInfo(ctx context.Context, c *Conn, clientHello *clientHelloMsg) *ClientHelloInfo {
handshake_server_tls13.go#L46: c *Conn
handshake_server_tls13.go#L980: func (c *Conn) sendSessionTicket(earlyData bool, extra [][]byte) error {
quic.go#L44: conn *Conn
quic.go#L187: func newQUICConn(conn *Conn, config *QUICConfig) *QUICConn {
quic.go#L375: func (c *Conn) quicReadHandshakeBytes(n int) error {
quic.go#L384: func (c *Conn) quicSetReadSecret(level QUICEncryptionLevel, suite uint16, secret []byte) {
quic.go#L393: func (c *Conn) quicSetWriteSecret(level QUICEncryptionLevel, suite uint16, secret []byte) {
quic.go#L402: func (c *Conn) quicWriteCryptoData(level QUICEncryptionLevel, data []byte) {
quic.go#L417: func (c *Conn) quicResumeSession(session *SessionState) error {
quic.go#L431: func (c *Conn) quicStoreSession(session *SessionState) {
quic.go#L438: func (c *Conn) quicSetTransportParameters(params []byte) {
quic.go#L445: func (c *Conn) quicGetTransportParameters() ([]byte, error) {
quic.go#L459: func (c *Conn) quicHandshakeComplete() {
quic.go#L465: func (c *Conn) quicRejectedEarlyData() {
quic.go#L476: func (c *Conn) quicWaitForSignal() error {
ticket.go#L293: func (c *Conn) sessionState() *SessionState {
tls.go#L34: func Server(conn net.Conn, config *Config) *Conn {
tls.go#L35: c := &Conn{
tls.go#L47: func Client(conn net.Conn, config *Config) *Conn {
tls.go#L48: c := &Conn{
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) {
u_conn.go#L30: *Conn
u_conn.go#L68: tlsConn := Conn{conn: conn, config: config, isClient: true}
u_conn.go#L767: func MakeConnWithCompleteHandshake(tcpConn net.Conn, version uint16, cipherSuite uint16, masterSecret []byte, clientRandom []byte, serverRandom []byte, isClient bool) *Conn {
u_conn.go#L768: tlsConn := &Conn{conn: tcpConn, config: &Config{}, isClient: isClient}
u_conn.go#L826: func (c *Conn) utlsHandshakeMessageType(msgType byte) (handshakeMessage, error) {
u_conn.go#L842: func (c *Conn) utlsConnectionStateLocked(state *ConnectionState) {
u_handshake_client.go#L170: func (c *Conn) makeClientHelloForApplyPreset() (*clientHelloMsg, *keySharePrivateKeys, *echClientContext, error) {
u_public.go#L26: C *Conn
 |
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. |