UNPKG

@am92/kms

Version:
24 lines (23 loc) 780 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PUBLIC_KEY_EXPORT_OPTIONS = exports.PRIVATE_KEY_EXPORT_OPTIONS = exports.MASTER_IV_LENGTH = exports.MASTER_KEY_LENGTH = exports.ENCRYPTION_ALGO = exports.VALID_KEY_PAIR_SPECS = exports.VALID_KEY_SPECS = void 0; /** @ignore */ exports.VALID_KEY_SPECS = ['AES_128', 'AES_256']; /** @ignore */ exports.VALID_KEY_PAIR_SPECS = ['RSA_2048', 'RSA_3072', 'RSA_4096']; /** @ignore */ exports.ENCRYPTION_ALGO = 'aes-256-cbc'; /** @ignore */ exports.MASTER_KEY_LENGTH = 32; /** @ignore */ exports.MASTER_IV_LENGTH = 16; /** @ignore */ exports.PRIVATE_KEY_EXPORT_OPTIONS = { type: 'pkcs8', format: 'der' }; /** @ignore */ exports.PUBLIC_KEY_EXPORT_OPTIONS = { type: 'spki', format: 'der' };