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
76%
Published
11 hours ago (0.4.6)
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
MIT
Built and signed on
View transparency logGitHub Actions
Add Package
deno add jsr:@tls/def
Import symbol
import * as mod from "@tls/def";
---- OR ----
Import directly with a jsr specifier
import * as mod from "jsr:@tls/def";
Add Package
npx jsr add @tls/def
Import symbol
import * as mod from "@tls/def";
Add Package
yarn dlx jsr add @tls/def
Import symbol
import * as mod from "@tls/def";
Add Package
pnpm dlx jsr add @tls/def
Import symbol
import * as mod from "@tls/def";
Add Package
bunx jsr add @tls/def
Import symbol
import * as mod from "@tls/def";