This release is 15 versions behind 0.4.6 — the latest version of @tls/extension. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
tls 1.3 extension data template
This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun




JSR Score
100%
Published
4 weeks ago (0.3.1)
TLS 1.3 - Extensions
This project implements the [specific section] from RFC 8446, focusing on the relevant TLS 1.3 protocol structures and processes.
Work Status
Completed Work
- 4.2.1. Supported Versions
- 4.2.2. Cookie
- 4.2.3. Signature Algorithms
- 4.2.4. Certificate Authorities
- 4.2.5. OID Filters
- 4.2.6. Post-Handshake Client Authentication
- 4.2.7. Supported Groups
- 4.2.8. Key Share
- 4.2.9. Pre-Shared Key Exchange Modes
- 4.2.10. Early Data Indication
- 4.2.11. Pre-Shared Key Extension
- 4. The "record_size_limit" Extension https://datatracker.ietf.org/doc/html/rfc8449#section-4
- 3. Server Name Indication https://datatracker.ietf.org/doc/html/rfc6066#section-3
Pending Work
- None
Example
import { ServerName } from "jsr:@tls/extension"; const serverName = ServerName.fromName("localhost"); const parseBack = ServerName.from(serverName); parseBack.hostname == "localhost
References
Donation
License
This project is licensed under the MIT License - see the LICENSE file for details.
Built and signed on
View transparency logGitHub Actions
Add Package
deno add jsr:@tls/extension
Import symbol
import * as extension from "@tls/extension";
---- OR ----
Import directly with a jsr specifier
import * as extension from "jsr:@tls/extension";
Add Package
npx jsr add @tls/extension
Import symbol
import * as extension from "@tls/extension";
Add Package
yarn dlx jsr add @tls/extension
Import symbol
import * as extension from "@tls/extension";
Add Package
pnpm dlx jsr add @tls/extension
Import symbol
import * as extension from "@tls/extension";
Add Package
bunx jsr add @tls/extension
Import symbol
import * as extension from "@tls/extension";