Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bifurcation/mint
/ types & classes
Types & classes
167 in github.com/bifurcation/mint
⨍
Functions
581
◇
Types & classes
167
↓ 13 callers
TypeAlias
RecordType
enum {...} ContentType;
common.go:22
↓ 6 callers
TypeAlias
CrypticString
syntax/success_test.go:28
↓ 5 callers
TypeAlias
ExtensionType
enum {...} ExtensionType
common.go:114
↓ 4 callers
TypeAlias
Alert
alert.go:9
↓ 3 callers
TypeAlias
CipherSuite
uint8 CipherSuite[2];
common.go:59
↓ 3 callers
TypeAlias
HandshakeType
enum {...} HandshakeType;
common.go:32
↓ 3 callers
TypeAlias
ServerNameExtension
struct { NameType name_type; select (name_type) { case host_name: HostName; } name; } ServerName; enum { host_name(0), (255) } NameType; opaque Host
extensions.go:137
↓ 2 callers
TypeAlias
DecryptError
record-layer.go:19
↓ 2 callers
TypeAlias
Direction
record-layer.go:25
↓ 2 callers
TypeAlias
ExtensionType
syntax/tls_test.go:13
↓ 2 callers
TypeAlias
NamedGroup
enum {...} NamedGroup
common.go:131
↓ 2 callers
TypeAlias
SignatureScheme
enum {...} SignatureScheme
common.go:92
↓ 1 callers
TypeAlias
CipherSuite
syntax/tls_test.go:20
↓ 1 callers
TypeAlias
Epoch
Epochs for DTLS (also used for key phase labelling)
common.go:238
↓ 1 callers
TypeAlias
responder
bin/mint-server-https/main.go:31
FuncType
AEADFactory
func(key []byte) (cipher.AEAD, error)
crypto.go:30
Struct
ALPNExtension
opaque ProtocolName<1..2^8-1>; struct { ProtocolName protocol_name_list<2..2^16-1> } ProtocolNameList;
extensions.go:514
Interface
AppExtensionHandler
state-machine.go:43
Struct
Certificate
conn.go:16
Struct
CertificateBody
handshake-messages.go:276
Struct
CertificateEntry
opaque ASN1Cert<1..2^24-1>; struct { ASN1Cert cert_data; Extension extensions<0..2^16-1> } CertificateEntry; struct { opaque certificate_request_con
handshake-messages.go:271
Struct
CertificateRequestBody
struct { opaque certificate_request_context<0..2^8-1>; Extension extensions<2..2^16-1>; } CertificateRequest;
handshake-messages.go:382
Struct
CertificateVerifyBody
struct { SignatureScheme algorithm; opaque signature<0..2^16-1>; } CertificateVerify;
handshake-messages.go:337
Struct
CipherSuiteParams
crypto.go:32
Struct
ClientHello
syntax/tls_test.go:22
Struct
ClientHelloBody
struct { ProtocolVersion legacy_version = 0x0303; /* TLS v1.2 */ Random random; opaque legacy_session_id<0..32>; CipherSuite cipher_suites<2..2^16-2>;
handshake-messages.go:27
Struct
Config
Config is the struct used to pass configuration settings to a TLS client or server instance. The settings for client and server are pretty different,
conn.go:68
Struct
Conn
Conn implements the net.Conn interface, as with "crypto/tls" * Read, Write, and Close are provided locally * LocalAddr, RemoteAddr, and Set*Deadline a
conn.go:263
Struct
ConnectionOptions
ConnectionOptions objects represent per-connection settings for a client initiating a connection
state-machine.go:50
Struct
ConnectionParameters
ConnectionParameters objects represent the parameters negotiated for a connection.
state-machine.go:57
Struct
ConnectionState
conn.go:250
Struct
CookieExtension
struct { opaque cookie<1..2^16-1>; } Cookie;
extensions.go:612
Interface
CookieHandler
A CookieHandler can be used to give the application more fine-grained control over Cookies. Generate receives the Conn as an argument, so the CookieHa
conn.go:41
Interface
CookieProtector
CookieProtector is used to create and verify a cookie
cookie-protector.go:15
Struct
DefaultCookieProtector
The DefaultCookieProtector is a simple implementation for the CookieProtector.
cookie-protector.go:26
Struct
DefaultRecordLayer
record-layer.go:85
Struct
DtlsAck
dtls.go:28
Struct
EarlyDataExtension
struct { } EarlyDataIndication;
extensions.go:475
Struct
EncryptedExtensionsBody
struct { Extension extensions<0..2^16-1>; } EncryptedExtensions; Marshal() and Unmarshal() are handled by ExtensionList
handshake-messages.go:244
Struct
EndOfEarlyDataBody
struct {} EndOfEarlyData;
handshake-messages.go:469
Struct
ErrorReadWriter
handshake-layer_test.go:10
Struct
Extension
struct { ExtensionType extension_type; opaque extension_data<0..2^16-1>; } Extension;
extensions.go:19
Struct
Extension
syntax/tls_test.go:14
Interface
ExtensionBody
extensions.go:9
TypeAlias
ExtensionList
extensions.go:32
Struct
FinishedBody
struct { opaque verify_data[verify_data_length]; } Finished; verifyDataLen is not a field in the TLS struct, but we add it here so that calling code
handshake-messages.go:210
Interface
HandshakeAction
Marker interface for actions that an implementation should take based on state transitions.
state-machine.go:10
Struct
HandshakeContext
Working state for the handshake.
state-machine.go:71
Struct
HandshakeLayer
handshake-layer.go:120
Struct
HandshakeMessage
struct { HandshakeType msg_type; /* handshake type */ uint24 length; /* bytes in message */ select (HandshakeType) { ... } body; } Hand
handshake-layer.go:31
Interface
HandshakeMessageBody
handshake-messages.go:13
Interface
HandshakeState
state-machine.go:38
Struct
KeySet
crypto.go:604
Struct
KeyShareClientHelloInner
extensions.go:212
Struct
KeyShareEntry
struct { NamedGroup group; opaque key_exchange<1..2^16-1>; } KeyShareEntry; struct { select (Handshake.msg_type) { case client_hello: KeyShareEntry c
extensions.go:197
Struct
KeyShareExtension
extensions.go:206
Struct
KeyShareHelloRetryInner
extensions.go:215
Struct
KeyShareServerHelloInner
extensions.go:218
Struct
KeyUpdateBody
enum { update_not_requested(0), update_requested(1), (255) } KeyUpdateRequest; struct { KeyUpdateRequest request_update; } KeyUpdate;
handshake-messages.go:452
TypeAlias
KeyUpdateRequest
enum { update_not_requested(0), update_requested(1), (255) } KeyUpdateRequest;
common.go:160
Struct
Listener
A listener implements a network listener (net.Listener) for TLS connections.
tls.go:29
Interface
Marshaler
Marshaler is the interface implemented by types that have a defined TLS encoding.
syntax/encode.go:22
Struct
NewSessionTicketBody
struct { uint32 ticket_lifetime; uint32 ticket_age_add; opaque ticket_nonce<1..255>; opaque ticket<1..2^16-1>; Extension extensions<0..2^16-2>; } N
handshake-messages.go:406
Struct
NoEofReader
record-layer_test.go:339
Struct
PSKBinderEntry
extensions.go:367
Struct
PSKIdentity
struct { opaque identity<1..2^16-1>; uint32 obfuscated_ticket_age; } PskIdentity; opaque PskBinderEntry<32..255>; struct { select (Handshake.msg_typ
extensions.go:362
TypeAlias
PSKKeyExchangeMode
enum {...} PskKeyExchangeMode;
common.go:150
Struct
PSKKeyExchangeModesExtension
enum { psk_ke(0), psk_dhe_ke(1), (255) } PskKeyExchangeMode; struct { PskKeyExchangeMode ke_modes<1..255>; } PskKeyExchangeModes;
extensions.go:456
TypeAlias
PSKMapCache
conn.go:50
Struct
PreSharedKey
conn.go:21
Interface
PreSharedKeyCache
conn.go:32
Struct
PreSharedKeyExtension
extensions.go:371
TypeAlias
ProtocolVersion
syntax/tls_test.go:11
Struct
QueueHandshakeMessage
state-machine.go:12
TypeAlias
Random
syntax/tls_test.go:19
Interface
RecordLayer
record-layer.go:71
Interface
RecordLayerFactory
record-layer.go:67
Struct
RekeyIn
state-machine.go:20
Struct
RekeyOut
state-machine.go:25
Struct
ResetOut
state-machine.go:30
Struct
SendEarlyData
state-machine.go:18
Struct
SendQueuedHandshake
state-machine.go:16
Struct
SentHandshakeFragment
dtls.go:20
Struct
ServerHello
syntax/tls_test.go:31
Struct
ServerHelloBody
struct { ProtocolVersion legacy_version = 0x0303; /* TLS v1.2 */ Random random; opaque legacy_session_id_echo<0..32>; CipherSuite cipher_suite; uin
handshake-messages.go:176
Struct
SignatureAlgorithmsExtension
struct { SignatureScheme supported_signature_algorithms<2..2^16-2>; } SignatureSchemeList
extensions.go:328
TypeAlias
State
common.go:167
Struct
StorePSK
state-machine.go:34
Struct
SupportedGroupsExtension
struct { NamedGroup named_group_list<2..2^16-1>; } NamedGroupList;
extensions.go:309
Struct
SupportedVersionsClientHelloInner
extensions.go:561
Struct
SupportedVersionsExtension
struct { ProtocolVersion versions<2..254>; } SupportedVersions;
extensions.go:556
Struct
SupportedVersionsServerHelloInner
extensions.go:565
Struct
TLSPlaintext
struct { ContentType type; ProtocolVersion record_version [0301 for CH, 0303 for others] uint16 length; opaque fragment[TLSPlaintext.length]; } TLSPla
record-layer.go:38
Struct
TicketEarlyDataInfoExtension
struct { uint32 max_early_data_size; } TicketEarlyDataInfo;
extensions.go:493
Struct
TimeoutError
tls.go:79
Interface
Unmarshaler
Unmarshaler is the interface implemented by types that can unmarshal a TLS description of themselves. Note that unlike the JSON unmarshaler interface
syntax/decode.go:24
Interface
Validator
Allow types to mark themselves as valid for TLS to marshal/unmarshal
syntax/tags.go:11
Struct
alpnExtensionInner
extensions.go:522
Struct
arrayDecoder
syntax/decode.go:215
Struct
arrayEncoder
syntax/encode.go:201
next →
1–100 of 167, ranked by callers