UNPKG

@guarani/jose

Version:

Implementation of the RFCs of the JOSE Working Group.

25 lines (24 loc) 789 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.JSON_WEB_ENCRYPTION_KEY_WRAP_ALGORITHMS_REGISTRY = void 0; const aes_1 = require("./aes"); const aes_gcm_1 = require("./aes-gcm"); const dir_1 = require("./dir"); const rsa_1 = require("./rsa"); /** * JSON Web Encryption Key Wrap Algorithms Registry. */ exports.JSON_WEB_ENCRYPTION_KEY_WRAP_ALGORITHMS_REGISTRY = { 'RSA-OAEP': rsa_1.RSA_OAEP, 'RSA-OAEP-256': rsa_1.RSA_OAEP_256, 'RSA-OAEP-384': rsa_1.RSA_OAEP_384, 'RSA-OAEP-512': rsa_1.RSA_OAEP_512, A128GCMKW: aes_gcm_1.A128GCMKW, A128KW: aes_1.A128KW, A192GCMKW: aes_gcm_1.A192GCMKW, A192KW: aes_1.A192KW, A256GCMKW: aes_gcm_1.A256GCMKW, A256KW: aes_1.A256KW, RSA1_5: rsa_1.RSA1_5, dir: dir_1.dir, };