Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
Srabutdotcom/tls13-defTLS 1.3 Definition, in so we can create tls1.3 record and handshake easily. All handshake including clientHello and serverHello are available.
This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun




JSR Score
100%
Published
a year ago (0.5.3)
tls13def
tls13def is a collection of tls1.3 definitions
Usage
import { ClientHello, ServerHello } from 'mod.js'; //create ClientHello message const clientHello = ClientHello.default('smpt.hello.mail') //create record of clientHello const recordCH = TLSPlainText.handshake(clientHello) //create ServerHello message const serverHello = ServerHello.new(sessionId, cipher, serverShareExtension); //create record of serverHello const recordSH = TLSPlainText.handshake(serverHello)
Contributing
Contributions to improve the library are welcome. Please open an issue or pull request on the GitHub repository.
Donation
License
This project is licensed under the MIT License - see the LICENSE file for details.
Built and signed on
GitHub Actions
Add Package
deno add jsr:@tls/def
Import symbol
import * as def from "@tls/def";
Import directly with a jsr specifier
import * as def from "jsr:@tls/def";
Add Package
pnpm i jsr:@tls/def
pnpm dlx jsr add @tls/def
Import symbol
import * as def from "@tls/def";
Add Package
yarn add jsr:@tls/def
yarn dlx jsr add @tls/def
Import symbol
import * as def from "@tls/def";
Add Package
vlt install jsr:@tls/def
Import symbol
import * as def from "@tls/def";
Add Package
npx jsr add @tls/def
Import symbol
import * as def from "@tls/def";
Add Package
bunx jsr add @tls/def
Import symbol
import * as def from "@tls/def";