cose-kit
Version:
**DEPRECATED:** Use [@auth0/cose](https://www.npmjs.com/package/@auth0/cose).
14 lines (13 loc) • 469 B
JavaScript
export var KeyType;
(function (KeyType) {
KeyType[KeyType["OKP"] = 1] = "OKP";
KeyType[KeyType["EC"] = 2] = "EC";
KeyType[KeyType["OCT"] = 4] = "OCT";
KeyType[KeyType["Reserved"] = 0] = "Reserved";
})(KeyType || (KeyType = {}));
export var JWKKeyType;
(function (JWKKeyType) {
JWKKeyType[JWKKeyType["OKP"] = 1] = "OKP";
JWKKeyType[JWKKeyType["EC"] = 2] = "EC";
JWKKeyType[JWKKeyType["oct"] = 4] = "oct";
})(JWKKeyType || (JWKKeyType = {}));