Skip to content

Commit eb01700

Browse files
committed
add extensionType
1 parent 1183fb8 commit eb01700

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tls/enum",
3-
"version": "0.8.5",
3+
"version": "0.8.6",
44
"exports": "./src/mod.ts",
55
"publish": {
66
"exclude": ["dist/"]

src/extensiontype.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export class ExtensionType extends Enum {
190190
*/
191191
static RENEGOTIATION_INFO = new ExtensionType("RENEGOTIATION_INFO", 65281);
192192

193-
static EC_POINT_FORMAT = new ExtensionType("EC_POINT_FORMAT", 11);
193+
static EC_POINT_FORMATS = new ExtensionType("EC_POINT_FORMATS", 11);
194194
static ENCRYPTED_THEN_MAC = new ExtensionType("ENCRYPTED_THEN_MAC", 22);
195195
static EXTENDED_MASTER_SECRET = new ExtensionType("EXTENDED_MASTER_SECRET", 23);
196196

type/extensiontype.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ export class ExtensionType extends Enum {
8383

8484
/** Renegotiation Info - 65281 */
8585
static RENEGOTIATION_INFO: ExtensionType;
86+
/** EC_POINT_FORMATS - 11 */
87+
static EC_POINT_FORMATS : ExtensionType;
88+
/** ENCRYPTED_THEN_MAC - 22 */
89+
static ENCRYPTED_THEN_MAC : ExtensionType;
90+
/** EXTENDED_MASTER_SECRET - 23 */
91+
static EXTENDED_MASTER_SECRET : ExtensionType;
8692

8793
/**
8894
* Check octet and return the corresponding ExtensionType.

0 commit comments

Comments
 (0)