Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/refraction-networking/utls
/ types & classes
Types & classes
248 in github.com/refraction-networking/utls
⨍
Functions
1,354
◇
Types & classes
248
↓ 46 callers
TypeAlias
CurveID
CurveID is the type of a TLS identifier for a key exchange mechanism. See https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-param
common.go:147
↓ 15 callers
TypeAlias
SignatureScheme
go:generate stringer -linecomment -type=SignatureScheme,CurveID,ClientAuthType -output=common_string.go SignatureScheme identifies a signature algorit
common.go:396
↓ 6 callers
TypeAlias
recordType
TLS record types.
common.go:74
↓ 4 callers
TypeAlias
AlertError
An AlertError is a TLS alert. When using a QUIC transport, QUICConn methods will return an error which wraps AlertError rather than sending a TLS ale
alert.go:13
↓ 4 callers
TypeAlias
alert
alert.go:19
↓ 3 callers
TypeAlias
ByteCount
A ByteCount in QUIC
internal/quicvarint/protocol/protocol.go:101
↓ 3 callers
TypeAlias
CertCompressionAlgo
https://tools.ietf.org/html/draft-ietf-tls-certificate-compression-04
u_common.go:127
↓ 2 callers
TypeAlias
KeyShares
u_public.go:642
↓ 2 callers
TypeAlias
keyShares
u_public.go:643
↓ 1 callers
TypeAlias
ActiveConnectionIDLimit
u_quic_transport_parameters.go:208
↓ 1 callers
TypeAlias
ClientAuthType
ClientAuthType declares the policy the server will follow for TLS Client Authentication.
common.go:337
↓ 1 callers
TypeAlias
InitialMaxData
u_quic_transport_parameters.go:127
↓ 1 callers
TypeAlias
InitialMaxStreamDataBidiLocal
u_quic_transport_parameters.go:137
↓ 1 callers
TypeAlias
InitialMaxStreamDataBidiRemote
u_quic_transport_parameters.go:147
↓ 1 callers
TypeAlias
InitialMaxStreamDataUni
u_quic_transport_parameters.go:157
↓ 1 callers
TypeAlias
InitialMaxStreamsBidi
u_quic_transport_parameters.go:167
↓ 1 callers
TypeAlias
InitialMaxStreamsUni
u_quic_transport_parameters.go:177
↓ 1 callers
TypeAlias
InitialSourceConnectionID
u_quic_transport_parameters.go:218
↓ 1 callers
TypeAlias
MaxAckDelay
u_quic_transport_parameters.go:187
↓ 1 callers
TypeAlias
MaxDatagramFrameSize
u_quic_transport_parameters.go:284
↓ 1 callers
TypeAlias
MaxIdleTimeout
u_quic_transport_parameters.go:107
↓ 1 callers
TypeAlias
PskIdentities
u_public.go:667
↓ 1 callers
TypeAlias
QUICEncryptionLevel
QUICEncryptionLevel represents a QUIC encryption level used to transmit handshake messages.
quic.go:15
↓ 1 callers
TypeAlias
echExtType
ech.go:495
↓ 1 callers
Struct
finishedHash
A finishedHash calculates the hash of a set of handshake messages suitable for including in a Finished message.
prf.go:172
↓ 1 callers
FuncType
marshalingFunction
The marshalingFunction type is an adapter to allow the use of ordinary functions as cryptobyte.MarshalingValue.
handshake_messages.go:18
↓ 1 callers
TypeAlias
opensslInput
handshake_client_test.go:61
↓ 1 callers
TypeAlias
pskIdentities
u_public.go:668
↓ 1 callers
FuncType
readerFunc
func([]byte) (int, error)
tls_test.go:319
TypeAlias
AEADID
internal/hpke/hpke.go:154
Struct
ALPNExtension
ALPNExtension implements application_layer_protocol_negotiation (16)
u_tls_extensions.go:609
Struct
ApplicationSettingsExtension
ApplicationSettingsExtension embeds applicationSettingsExtension to implement the TLS ALPS extension on codepoint 17513
u_tls_extensions.go:760
Struct
ApplicationSettingsExtensionNew
ApplicationSettingsExtensionNew embeds applicationSettingsExtension to implement the TLS ALPS extension on codepoint 17613 More information can be fou
u_tls_extensions.go:799
Struct
Certificate
A Certificate is a chain of one or more certificates, leaf first.
common.go:1602
Struct
CertificateRequestInfo
CertificateRequestInfo contains information from a server's CertificateRequest message, which is used to demand a certificate and proof of control fro
common.go:493
Struct
CertificateRequestMsgTLS13
type EcdheParameters interface { ecdheParameters }
u_public.go:189
Struct
CertificateVerificationError
CertificateVerificationError is returned when certificate verification fails during the handshake.
common.go:1754
Struct
CipherSuite
CipherSuite is a TLS cipher suite. Note that most functions in this package accept and expose cipher suite IDs instead of this type.
cipher_suites.go:29
Struct
CipherSuitesJSONUnmarshaler
u_clienthello_json.go:32
TypeAlias
ClientHelloBuildStatus
u_conn.go:23
Struct
ClientHelloID
u_common.go:140
Struct
ClientHelloInfo
ClientHelloInfo contains information from a ClientHello message in order to guide application logic in the GetCertificate and GetConfigForClient callb
common.go:424
Struct
ClientHelloSpec
u_common.go:184
Struct
ClientHelloSpecJSONUnmarshaler
u_clienthello_json.go:14
Interface
ClientSessionCache
ClientSessionCache is a cache of ClientSessionState objects that can be used by a client to resume a TLS session with a given server. ClientSessionCac
common.go:380
Struct
ClientSessionCache
examples/tls-resumption/main.go:12
Struct
ClientSessionState
ClientSessionState contains the state needed by a client to resume a previous TLS session.
ticket.go:399
Struct
CompressionMethodsJSONUnmarshaler
u_clienthello_json.go:62
Struct
Config
A Config structure is used to configure a TLS client or server. After one has been passed to a TLS function it must not be modified. A Config may be r
common.go:551
Struct
Conn
A Conn represents a secured connection. It implements the net.Conn interface.
conn.go:27
Struct
ConnectionState
ConnectionState records basic TLS details about the connection.
common.go:239
Struct
CookieExtension
CookieExtension implements cookie (44). MUST NOT be part of initial ClientHello
u_tls_extensions.go:1535
Struct
Dialer
Dialer dials TLS connections given a configuration and a Dialer for the underlying connection.
tls.go:177
Struct
DisableActiveMigration
u_quic_transport_parameters.go:197
Struct
ECHRejectionError
ECHRejectionError is the error type returned when ECH is rejected by a remote server. If the server offered a ECHConfigList to use for retries, the Re
ech.go:484
TypeAlias
ECN
internal/quicvarint/protocol/protocol.go:42
Struct
EarlySecret
internal/tls13/tls13.go:69
Interface
EncryptedClientHelloExtension
u_ech.go:25
Struct
EncryptedClientHelloKey
EncryptedClientHelloKey holds a private key that is associated with a specific ECH config known to a client.
common.go:921
Struct
ExporterMasterSecret
internal/tls13/tls13.go:147
Struct
ExtendedMasterSecretExtension
ExtendedMasterSecretExtension implements extended_master_secret (23) Was named as ExtendedMasterSecretExtension, renamed due to crypto/tls implemente
u_tls_extensions.go:922
Struct
FakeChannelIDExtension
* FAKE EXTENSIONS */
u_tls_extensions.go:1707
Struct
FakeDelegatedCredentialsExtension
https://datatracker.ietf.org/doc/html/draft-ietf-tls-subcerts-15#section-4.1.1
u_tls_extensions.go:1873
Struct
FakePreSharedKeyExtension
FakePreSharedKeyExtension is an extension used to set the PSK extension in the ClientHello. It does not compute binders based on ClientHello, but use
u_pre_shared_key.go:324
Struct
FakeQUICTransportParameter
u_quic_transport_parameters.go:305
Struct
FakeRecordSizeLimitExtension
FakeRecordSizeLimitExtension implements record_size_limit (28) but with no support.
u_tls_extensions.go:1745
Struct
FakeTokenBindingExtension
https://tools.ietf.org/html/rfc8472#section-2
u_tls_extensions.go:1797
Struct
Fingerprinter
Fingerprinter is a struct largely for holding options for the FingerprintClientHello func
u_fingerprinter.go:8
Struct
FinishedHash
A FinishedHash calculates the hash of a set of handshake messages suitable for including in a Finished message.
u_public.go:551
Struct
GREASEEncryptedClientHelloExtension
u_ech.go:46
Struct
GREASEQUICBit
u_quic_transport_parameters.go:294
Struct
GREASETransportParameter
u_quic_transport_parameters.go:64
Struct
GenericExtension
GenericExtension allows to include in ClientHello arbitrary unsupported extensions. It is not defined in TLS RFCs nor by IANA. If a server echoes this
u_tls_extensions.go:871
Struct
HPKESymmetricCipherSuite
RFC 9180
u_hpke.go:12
Struct
HandshakeSecret
internal/tls13/tls13.go:91
Interface
ISessionTicketExtension
u_session_ticket.go:5
Interface
Initializable
u_common.go:817
TypeAlias
KDFID
internal/hpke/hpke.go:173
TypeAlias
KemID
internal/hpke/hpke.go:57
Struct
KemPrivateKey
Deprecated: Use KeySharePrivateKeys instead. This type is no longer used. Will be removed in the future.
u_public.go:869
Struct
KeyShare
TLS 1.3 Key Share. See RFC 8446, Section 4.2.8.
u_public.go:629
Struct
KeyShareExtension
KeyShareExtension implements key_share (51) and is for TLS 1.3 only.
u_tls_extensions.go:1226
Struct
KeySharePrivateKeys
u_public.go:896
Struct
KeySharesParameters
Deprecated: Use KeySharePrivateKeys instead. This type is not used and will be removed in the future. KeySharesParameters serves as a in-memory storag
u_alias.go:21
TypeAlias
LoadSessionTrackerState
Tracking the state of calling conn.loadSession
u_session_controller.go:11
Struct
MasterSecret
internal/tls13/tls13.go:116
TypeAlias
MaxUDPPayloadSize
u_quic_transport_parameters.go:117
Struct
NPNExtension
NPNExtension implements next_protocol_negotiation (Not IANA assigned)
u_tls_extensions.go:1592
TypeAlias
PRNGSeed
PRNGSeed is a PRNG seed.
u_prng.go:31
Struct
PSKKeyExchangeModesExtension
PSKKeyExchangeModesExtension implements psk_key_exchange_modes (45).
u_tls_extensions.go:1374
TypeAlias
PacketType
The PacketType is the Long Header Type
internal/quicvarint/protocol/protocol.go:14
TypeAlias
PaddingTransportParameter
u_quic_transport_parameters.go:274
Struct
PreSharedKeyCommon
u_pre_shared_key.go:13
Interface
PreSharedKeyExtension
The lifecycle of a PreSharedKeyExtension: Creation Phase: - The extension is created. Write Phase: - [writeToUConn() called]: > - During this phas
u_pre_shared_key.go:71
Struct
PskIdentity
TLS 1.3 PSK Identity. Can be a Session Ticket, or a reference to a saved session. See RFC 8446, Section 4.2.11.
u_public.go:662
Struct
PubCipherSuite
A CipherSuite is a specific combination of key agreement, cipher and MAC function. All cipher suites currently assume RSA key agreement.
u_public.go:499
Struct
PubCipherSuiteTLS13
u_public.go:235
Struct
PubClientHandshakeState
ClientHandshakeState includes both TLS 1.3-only and TLS 1.2-only states, only one of them will be used, depending on negotiated version. ClientHandsh
u_public.go:25
Struct
PubClientHelloMsg
u_public.go:355
Struct
PubServerHelloMsg
u_public.go:268
next →
1–100 of 248, ranked by callers