MCPcopy Create free account

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

Types & classes108 in github.com/XTLS/REALITY

↓ 8 callersTypeAliasSignatureScheme
go:generate stringer -linecomment -type=SignatureScheme,CurveID,ClientAuthType -output=common_string.go SignatureScheme identifies a signature algorit
common.go:389
↓ 8 callersTypeAliasrecordType
TLS record types.
common.go:74
↓ 5 callersTypeAliasCurveID
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:145
↓ 5 callersTypeAliasalert
alert.go:19
↓ 2 callersTypeAliasAlertError
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
↓ 1 callersTypeAliasClientAuthType
ClientAuthType declares the policy the server will follow for TLS Client Authentication.
common.go:330
↓ 1 callersTypeAliasQUICEncryptionLevel
QUICEncryptionLevel represents a QUIC encryption level used to transmit handshake messages.
quic.go:15
↓ 1 callersTypeAliasechExtType
ech.go:518
↓ 1 callersStructfinishedHash
A finishedHash calculates the hash of a set of handshake messages suitable for including in a Finished message.
prf.go:172
↓ 1 callersFuncTypemarshalingFunction
The marshalingFunction type is an adapter to allow the use of ordinary functions as cryptobyte.MarshalingValue.
handshake_messages.go:18
TypeAliasAEADID
hpke/hpye.go:159
StructCCSDetectConn
record_detect.go:139
StructCertificate
A Certificate is a chain of one or more certificates, leaf first.
common.go:1589
StructCertificateRequestInfo
CertificateRequestInfo contains information from a server's CertificateRequest message, which is used to demand a certificate and proof of control fro
common.go:486
StructCertificateVerificationError
CertificateVerificationError is returned when certificate verification fails during the handshake.
common.go:1757
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:27
StructClientHelloInfo
ClientHelloInfo contains information from a ClientHello message in order to guide application logic in the GetCertificate and GetConfigForClient callb
common.go:417
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:373
StructClientSessionState
ClientSessionState contains the state needed by a client to resume a previous TLS session.
ticket.go:403
InterfaceCloseWriteConn
tls.go:59
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:550
StructConn
A Conn represents a secured connection. It implements the net.Conn interface.
conn.go:27
StructConnectionState
ConnectionState records basic TLS details about the connection.
common.go:235
StructDialer
Dialer dials TLS connections given a configuration and a Dialer for the underlying connection.
tls.go:650
StructECHRejectionError
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:507
StructEarlySecret
tls13/tls13.go:70
StructEchCipher
ech.go:31
StructEchConfig
ech.go:41
StructEncryptedClientHelloKey
EncryptedClientHelloKey holds a private key that is associated with a specific ECH config known to a client.
common.go:911
StructExporterMasterSecret
tls13/tls13.go:148
StructHandshakeSecret
tls13/tls13.go:92
TypeAliasKDFID
hpke/hpye.go:178
TypeAliasKemID
hpke/hpye.go:57
StructLimitFallback
common.go:540
StructMasterSecret
tls13/tls13.go:117
StructMirrorConn
tls.go:64
StructPostHandshakeRecordDetectConn
record_detect.go:104
StructQUICConfig
A QUICConfig configures a [QUICConn].
quic.go:50
StructQUICConn
A QUICConn represents a connection which uses a QUIC implementation as the underlying transport as described in RFC 9001. Methods of QUICConn are not
quic.go:43
StructQUICEvent
A QUICEvent is an event occurring on a QUIC connection. The type of event is specified by the Kind field. The contents of the other fields are kind-s
quic.go:126
TypeAliasQUICEventKind
A QUICEventKind is a type of operation on a QUIC connection.
quic.go:62
StructQUICSessionTicketOptions
quic.go:295
StructRatelimitedConn
tls.go:104
StructRecipient
hpke/hpye.go:147
StructRecordHeaderError
RecordHeaderError is returned when a TLS record header is invalid.
conn.go:600
TypeAliasRenegotiationSupport
RenegotiationSupport enumerates the different levels of support for TLS renegotiation. TLS renegotiation is the act of performing subsequent handshake
common.go:525
StructSender
hpke/hpye.go:143
StructSessionState
A SessionState is a resumable session.
ticket.go:21
Interfaceaead
cipher_suites.go:437
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:844
InterfacebinaryMarshaler
handshake_server_tls13.go:570
InterfacecbcMode
cbcMode is an interface for block ciphers using cipher block chaining.
conn.go:340
StructcertificateMsg
handshake_messages.go:1379
StructcertificateMsgTLS13
handshake_messages.go:1449
StructcertificateRequestMsg
handshake_messages.go:1704
StructcertificateRequestMsgTLS13
handshake_messages.go:1235
StructcertificateStatusMsg
handshake_messages.go:1613
StructcertificateVerifyMsg
handshake_messages.go:1838
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:32
StructclientHandshakeStateTLS13
handshake_client_tls13.go:24
StructclientHelloMsg
handshake_messages.go:71
StructclientKeyExchangeMsg
handshake_messages.go:1655
InterfaceconstantTimeHash
cipher_suites.go:570
Structcontext
hpke/hpye.go:129
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:577
StructdhKEM
dhKEM implements the KEM specified in RFC 9180, Section 4.1.
hpke/hpye.go:49
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:159
StructechClientContext
handshake_client.go:247
StructechConfigErr
ech.go:59
StructechExtension
ech.go:36
StructechServerContext
handshake_server_tls13.go:41
StructencryptedExtensionsMsg
handshake_messages.go:1003
StructendOfEarlyDataMsg
handshake_messages.go:1111
StructfinishedMsg
handshake_messages.go:1683
StructhalfConn
A halfConn represents one direction of the record layer connection, either sending or receiving.
conn.go:173
InterfacehandshakeMessage
common.go:1620
InterfacehandshakeMessageWithOriginalBytes
common.go:1625
StructhelloRequestMsg
handshake_messages.go:1913
StructhkdfKDF
hpke/hpye.go:25
InterfacekeyAgreement
A keyAgreement implements the client and server side of a TLS 1.0–1.2 key agreement protocol by generating and processing key exchange messages.
key_agreement.go:22
StructkeyShare
TLS 1.3 Key Share. See RFC 8446, Section 4.2.8.
common.go:164
StructkeySharePrivateKeys
key_schedule.go:53
StructkeyUpdateMsg
handshake_messages.go:1123
Structlistener
A listener implements a network listener (net.Listener) for TLS connections.
tls.go:502
StructlruSessionCache
lruSessionCache is a ClientSessionCache implementation that uses an LRU caching strategy.
common.go:1636
StructlruSessionCacheEntry
common.go:1644
StructnewSessionTicketMsg
handshake_messages.go:1873
StructnewSessionTicketMsgTLS13
handshake_messages.go:1160
StructpermanentError
conn.go:194
StructprefixNonceAEAD
prefixNonceAEAD wraps an AEAD and prefixes a fixed portion of the nonce to each call.
cipher_suites.go:453
FuncTypeprfFunc
func(secret []byte, label string, seed []byte, keyLen int) []byte
prf.go:21
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:177
StructquicState
quic.go:143
StructrawExtension
ech.go:255
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:44
StructserverHandshakeState
serverHandshakeState contains details of a server handshake in progress. It's discarded once the handshake has completed.
handshake_server.go:27
StructserverHandshakeStateTLS13
handshake_server_tls13.go:53
StructserverHelloDoneMsg
handshake_messages.go:1643
next →1–100 of 108, ranked by callers