We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 444d79e commit a006a21Copy full SHA for a006a21
test/encryptedext_test.js
@@ -1,8 +1,10 @@
1
import { ExtensionType } from "jsr:@tls/enum";
2
import { EncryptedExtensions } from "../src/encryptedext.js";
3
import { assertEquals } from "jsr:@std/assert";
4
+import { Extension } from "../src/dep.js";
5
6
Deno.test("EncryptedExtension", ()=>{
7
+ //@type {Extension} extension - description
8
const extension = ExtensionType.KEY_SHARE.extension(Uint8Array.of(1,4,6))
9
const test = EncryptedExtensions.fromExtensions(extension);
10
const back = EncryptedExtensions.from(test)
0 commit comments