Documentation
¶
Index ¶
Constants ¶
View Source
const ( HTTP2SettingHeaderTableSize uint16 = 0x1 HTTP2SettingEnablePush uint16 = 0x2 HTTP2SettingMaxConcurrentStreams uint16 = 0x3 HTTP2SettingInitialWindowSize uint16 = 0x4 HTTP2SettingMaxFrameSize uint16 = 0x5 HTTP2SettingMaxHeaderListSize uint16 = 0x6 )
HTTP/2 setting IDs
View Source
const ( Chrome143HeaderTableSize uint32 = 65536 Chrome143EnablePush uint32 = 0 Chrome143InitialWindowSize uint32 = 6291456 Chrome143MaxHeaderListSize uint32 = 262144 Chrome143WindowUpdateSize uint32 = 15663105 )
Chrome 143 HTTP/2 settings
View Source
const ( Firefox146HeaderTableSize uint32 = 65536 Firefox146EnablePush uint32 = 0 Firefox146InitialWindowSize uint32 = 131072 Firefox146MaxFrameSize uint32 = 16384 Firefox146WindowUpdateSize uint32 = 12517377 )
Firefox 146 HTTP/2 settings
View Source
const ( Safari261EnablePush uint32 = 0 Safari261MaxConcurrentStreams uint32 = 100 Safari261InitialWindowSize uint32 = 2097152 Safari261NoRFC7540Priorities uint32 = 1 Safari261WindowUpdateSize uint32 = 10420225 )
Safari 26.1 HTTP/2 settings
View Source
const ( FFDHE2048 tls.CurveID = 256 FFDHE3072 tls.CurveID = 257 )
Firefox ffdhe groups (Finite Field Diffie-Hellman Ephemeral)
View Source
const HTTP2SettingNoRFC7540Priorities uint16 = 0x9
HTTP/2 setting ID for NO_RFC7540_PRIORITIES (Safari-specific)
Variables ¶
View Source
var CipherSuiteNameToID = map[string]uint16{ "TLS_AES_128_GCM_SHA256": tls.TLS_AES_128_GCM_SHA256, "TLS_AES_256_GCM_SHA384": tls.TLS_AES_256_GCM_SHA384, "TLS_CHACHA20_POLY1305_SHA256": tls.TLS_CHACHA20_POLY1305_SHA256, "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256": tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256": tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384": tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384": tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256": tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256": tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA": tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA": tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, "TLS_RSA_WITH_AES_128_GCM_SHA256": tls.TLS_RSA_WITH_AES_128_GCM_SHA256, "TLS_RSA_WITH_AES_256_GCM_SHA384": tls.TLS_RSA_WITH_AES_256_GCM_SHA384, "TLS_RSA_WITH_AES_128_CBC_SHA": tls.TLS_RSA_WITH_AES_128_CBC_SHA, "TLS_RSA_WITH_AES_256_CBC_SHA": tls.TLS_RSA_WITH_AES_256_CBC_SHA, }
CipherSuiteNameToID maps TLS cipher suite names to their numeric IDs.
View Source
var CurveIDToName = map[tls.CurveID]string{ tls.CurveP256: "P-256", tls.CurveP384: "P-384", tls.CurveP521: "P-521", tls.X25519: "X25519", tls.X25519MLKEM768: "X25519MLKEM768", }
CurveIDToName maps curve IDs to their names.
View Source
var CurveNameToID = map[string]tls.CurveID{ "P-256": tls.CurveP256, "P-384": tls.CurveP384, "P-521": tls.CurveP521, "X25519": tls.X25519, "X25519MLKEM768": tls.X25519MLKEM768, }
CurveNameToID maps curve names to their IDs.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.