Uses of Record Class
io.github.mahmoudimus.quic.tls.ExtensionSpec
Packages that use ExtensionSpec
Package
Description
A TLS 1.3 handshake (RFC 8446) for QUIC (RFC 9001), client and server, ported from rustls with
quinn's session interface.
-
Uses of ExtensionSpec in io.github.mahmoudimus.quic.tls
Methods in io.github.mahmoudimus.quic.tls that return ExtensionSpecModifier and TypeMethodDescriptionstatic ExtensionSpecProfileExtensions.alpn()application_layer_protocol_negotiationwith the context's protocols; left out when there are none.static ExtensionSpecProfileExtensions.applicationSettings(String... protocols) application_settings(ALPS) forprotocols, Chrome's codepoint.static ExtensionSpecProfileExtensions.compressCertificate(int... algorithms) compress_certificate(RFC 8879) offeringalgorithmsin order.static ExtensionSpecProfileExtensions.delegatedCredentials(int... schemes) delegated_credentials(RFC 9345) accepting credentials signed withschemes, in order.static ExtensionSpecProfileExtensions.ecPointFormats()ec_point_formatsoffering only the uncompressed format.static ExtensionSpecProfileExtensions.extendedMasterSecret()extended_master_secret(RFC 7627), empty.static ExtensionSpecProfileExtensions.greaseEch(int... payloadLengths) A GREASEencrypted_client_hello(RFC 9849 section 6.2), as BoringSSL sends one when it has no ECHConfig: an outer ClientHello extension for HKDF-SHA256 and AES-128-GCM, a random config id, a random 32-byteencand a random payload of one ofpayloadLengths.static ExtensionSpecProfileExtensions.greaseFirst()The first GREASE extension, with an empty body, as BoringSSL sends it.static ExtensionSpecProfileExtensions.greaseLast()The last GREASE extension, with a one-byte body of zero, as BoringSSL sends it.static ExtensionSpecProfileExtensions.keyShare(int... groups) key_sharewith a share for each ofgroups: the GREASE group's is one zero byte, the others are the context's public keys.static ExtensionSpecProfileExtensions.nssGreaseEch()A GREASEencrypted_client_helloas NSS (Firefox) sends one when it has no ECHConfig (tls13_MaybeGreaseEch): an outer ClientHello extension for HKDF-SHA256 and, at random, AES-128-GCM or ChaCha20-Poly1305, a random config id and 32-byteenc, and a random payload as long as the ClientHelloInner NSS would have encrypted.ExtensionSpec.pin()Returns this extension, in a place that shuffling does not change.static ExtensionSpecProfileExtensions.pskKeyExchangeModes()psk_key_exchange_modesoffering onlypsk_dhe_ke.static ExtensionSpecProfileExtensions.recordSizeLimit(int limit) record_size_limit(RFC 8449) announcinglimit.static ExtensionSpecProfileExtensions.renegotiationInfo()renegotiation_info(RFC 5746) of an initial handshake: an empty renegotiated_connection.static ExtensionSpecProfileExtensions.serverName()server_namewith the context's host name; left out when there is none.static ExtensionSpecProfileExtensions.sessionTicket()session_ticket(RFC 5077), empty: no ticket to resume with.static ExtensionSpecProfileExtensions.sessionTicketUnlessResuming()session_ticket(RFC 5077), empty, left out of a hello that resumes a TLS 1.3 session, as NSS (Firefox) leaves it out.static ExtensionSpecProfileExtensions.signatureAlgorithms(int... schemes) signature_algorithms:schemesin order.static ExtensionSpecProfileExtensions.signedCertificateTimestamp()signed_certificate_timestamp, empty.static ExtensionSpecProfileExtensions.statusRequest()status_requestfor OCSP, with no responder ids and no extensions.static ExtensionSpecProfileExtensions.supplied(int type) An extension whose body the connection makes itself (HelloContext.supplied()), such as QUIC'squic_transport_parameters; left out when the connection supplies none.static ExtensionSpecProfileExtensions.supportedGroups(int... groups) supported_groups:groupsin order.static ExtensionSpecProfileExtensions.supportedVersions(int... versions) supported_versions:versionsin order.static ExtensionSpecProfileExtensions.trustAnchors(String... hexIds) trust_anchorsnaminghexIds, each a hex-encoded trust anchor ID.Constructor parameters in io.github.mahmoudimus.quic.tls with type arguments of type ExtensionSpecModifierConstructorDescriptionClientHelloProfile(String name, int[] cipherSuites, List<ExtensionSpec> extensions, boolean shuffleExtensions, int sessionIdLength)