@guarani/jose
Version:
Implementation of the RFCs of the JOSE Working Group.
26 lines (25 loc) • 719 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.JSON_WEB_SIGNATURE_ALGORITHMS_REGISTRY = void 0;
const ecdsa_1 = require("./ecdsa");
const hmac_1 = require("./hmac");
const none_1 = require("./none");
const rsassa_1 = require("./rsassa");
/**
* JSON Web Signature Algorithms Registry.
*/
exports.JSON_WEB_SIGNATURE_ALGORITHMS_REGISTRY = {
ES256: ecdsa_1.ES256,
ES384: ecdsa_1.ES384,
ES512: ecdsa_1.ES512,
HS256: hmac_1.HS256,
HS384: hmac_1.HS384,
HS512: hmac_1.HS512,
none: none_1.none,
PS256: rsassa_1.PS256,
PS384: rsassa_1.PS384,
PS512: rsassa_1.PS512,
RS256: rsassa_1.RS256,
RS384: rsassa_1.RS384,
RS512: rsassa_1.RS512,
};