MCPcopy Create free account

hub / github.com/XTLS/Go / types & classes

Types & classes69 in github.com/XTLS/Go

↓ 8 callersTypeAliasSignatureScheme
go:generate stringer -type=SignatureScheme,CurveID,ClientAuthType -output=common_string.go SignatureScheme identifies a signature algorithm supported
common.go:369
↓ 4 callersTypeAliasrecordType
TLS record types.
common.go:49
↓ 3 callersTypeAliasCurveID
CurveID is the type of a TLS identifier for an elliptic curve. See https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-8
common.go:115
↓ 3 callersTypeAliasalert
alert.go:9
↓ 1 callersTypeAliasClientAuthType
ClientAuthType declares the policy the server will follow for TLS Client Authentication.
common.go:291
↓ 1 callersFuncTypemarshalingFunction
The marshalingFunction type is an adapter to allow the use of ordinary functions as cryptobyte.MarshalingValue.
handshake_messages.go:16
StructCertificate
A Certificate is a chain of one or more certificates, leaf first.
common.go:1346
StructCertificateRequestInfo
CertificateRequestInfo contains information from a server's CertificateRequest message, which is used to demand a certificate and proof of control fro
common.go:459
StructCipherSuite
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:26
StructClientHelloInfo
ClientHelloInfo contains information from a ClientHello message in order to guide application logic in the GetCertificate and GetConfigForClient callb
common.go:397
InterfaceClientSessionCache
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:353
StructClientSessionState
ClientSessionState contains the state needed by clients to resume TLS sessions.
common.go:330
StructConfig
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:517
StructConn
A Conn represents a secured connection. It implements the net.Conn interface.
conn.go:31
StructConnectionState
ConnectionState records basic TLS details about the connection.
common.go:215
StructDialer
Dialer dials TLS connections given a configuration and a Dialer for the underlying connection.
tls.go:176
StructRecordHeaderError
RecordHeaderError is returned when a TLS record header is invalid.
conn.go:584
TypeAliasRenegotiationSupport
RenegotiationSupport enumerates the different levels of support for TLS renegotiation. TLS renegotiation is the act of performing subsequent handshake
common.go:498
Interfaceaead
cipher_suites.go:433
StructatLeastReader
atLeastReader reads from R, stopping with EOF once at least N bytes have been read. It is different from an io.LimitedReader in that it doesn't cut sh
conn.go:877
InterfacebinaryMarshaler
handshake_server_tls13.go:327
InterfacecbcMode
cbcMode is an interface for block ciphers using cipher block chaining.
conn.go:351
StructcertificateMsg
handshake_messages.go:1214
StructcertificateMsgTLS13
handshake_messages.go:1291
StructcertificateRequestMsg
handshake_messages.go:1578
StructcertificateRequestMsgTLS13
handshake_messages.go:1064
StructcertificateStatusMsg
handshake_messages.go:1467
StructcertificateVerifyMsg
handshake_messages.go:1720
StructcipherSuite
A cipherSuite is a TLS 1.0–1.2 cipher suite, and defines the key exchange mechanism, as well as the cipher+MAC pair or the AEAD.
cipher_suites.go:134
StructcipherSuiteTLS13
A cipherSuiteTLS13 defines only the pair of the AEAD algorithm and hash algorithm to be used with HKDF. See RFC 8446, Appendix B.4.
cipher_suites.go:193
StructclientHandshakeState
handshake_client.go:26
StructclientHandshakeStateTLS13
handshake_client_tls13.go:19
StructclientHelloMsg
handshake_messages.go:69
StructclientKeyExchangeMsg
handshake_messages.go:1516
InterfaceconstantTimeHash
cipher_suites.go:554
StructcthWrapper
cthWrapper wraps any hash.Hash that implements ConstantTimeSum, and replaces with that all calls to Sum. It's used to obtain a ConstantTimeSum-based H
cipher_suites.go:561
StructecdheKeyAgreement
ecdheKeyAgreement implements a TLS key agreement where the server generates an ephemeral EC public/private key pair and signs it. The pre-master secre
key_agreement.go:157
InterfaceecdheParameters
ecdheParameters implements Diffie-Hellman with either NIST curves or X25519, according to RFC 8446, Section 4.2.8.2.
key_schedule.go:106
StructencryptedExtensionsMsg
handshake_messages.go:853
StructendOfEarlyDataMsg
handshake_messages.go:927
StructfinishedHash
A finishedHash calculates the hash of a set of handshake messages suitable for including in a Finished message.
prf.go:159
StructfinishedMsg
handshake_messages.go:1550
StructhalfConn
A halfConn represents one direction of the record layer connection, either sending or receiving.
conn.go:189
InterfacehandshakeMessage
common.go:1377
StructhelloRequestMsg
handshake_messages.go:1811
InterfacekeyAgreement
a keyAgreement implements the client and server side of a TLS key agreement protocol by generating and processing key exchange messages.
key_agreement.go:20
StructkeyShare
TLS 1.3 Key Share. See RFC 8446, Section 4.2.8.
common.go:125
StructkeyUpdateMsg
handshake_messages.go:939
Structlistener
A listener implements a network listener (net.Listener) for TLS connections.
tls.go:58
StructlruSessionCache
lruSessionCache is a ClientSessionCache implementation that uses an LRU caching strategy.
common.go:1384
StructlruSessionCacheEntry
common.go:1392
StructnewSessionTicketMsg
handshake_messages.go:1762
StructnewSessionTicketMsgTLS13
handshake_messages.go:983
StructnistParameters
key_schedule.go:152
StructpermanentError
conn.go:206
StructprefixNonceAEAD
prefixNonceAEAD wraps an AEAD and prefixes a fixed portion of the nonce to each call.
cipher_suites.go:449
StructpskIdentity
TLS 1.3 PSK Identity. Can be a Session Ticket, or a reference to a saved session. See RFC 8446, Section 4.2.11.
common.go:138
StructrsaKeyAgreement
rsaKeyAgreement implements the standard TLS key agreement where the client encrypts the pre-master secret to the server's public key.
key_agreement.go:42
StructserverHandshakeState
serverHandshakeState contains details of a server handshake in progress. It's discarded once the handshake has completed.
handshake_server.go:25
StructserverHandshakeStateTLS13
handshake_server_tls13.go:26
StructserverHelloDoneMsg
handshake_messages.go:1504
StructserverHelloMsg
handshake_messages.go:597
StructserverKeyExchangeMsg
handshake_messages.go:1437
StructsessionState
sessionState contains the information that is serialized into a session ticket in order to later resume a connection.
ticket.go:22
StructsessionStateTLS13
sessionStateTLS13 is the content of a TLS 1.3 session ticket. Its first version (revision = 0) doesn't carry any of the information needed for 0-RTT v
ticket.go:80
StructticketKey
ticketKey is the internal representation of a session ticket key.
common.go:754
StructtimeoutError
tls.go:100
Structx25519Parameters
key_schedule.go:180
StructxorNonceAEAD
xoredNonceAEAD wraps an AEAD by XORing in a fixed pattern to the nonce before each call.
cipher_suites.go:471