Skip to main content
Home

@tls/def@0.5.3
Built and signed on GitHub Actions

TLS 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
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
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

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@tls/def

Import symbol

import * as def from "@tls/def";
or

Import directly with a jsr specifier

import * as def from "jsr:@tls/def";

Add Package

pnpm i jsr:@tls/def
or (using pnpm 10.8 or older)
pnpm dlx jsr add @tls/def

Import symbol

import * as def from "@tls/def";

Add Package

yarn add jsr:@tls/def
or (using Yarn 4.8 or older)
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";