UNPKG

cose-kit

Version:

This is an early prototype of a RFC8152 COSE library for node.js.

15 lines (14 loc) 389 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.COSE_CURVE = exports.CURVE = void 0; const maps_js_1 = require("../util/maps.js"); exports.CURVE = new Map([ [1, 'P-256'], [2, 'P-384'], [3, 'P-521'], [4, 'X25519'], [5, 'X448'], [6, 'Ed25519'], [7, 'Ed448'], ]); exports.COSE_CURVE = (0, maps_js_1.reverseMap)(exports.CURVE);