UNPKG

pkcs-ts

Version:

PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More

21 lines 1.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.rSAES_OAEP_Default_Identifier = void 0; const tslib_1 = require("tslib"); const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional")); const AlgorithmIdentifier_ta_1 = require("x500-ts/dist/node/modules/AuthenticationFramework/AlgorithmIdentifier.ta"); const id_RSAES_OAEP_va_1 = require("../PKCS-1/id-RSAES-OAEP.va"); const mgf1SHA1_va_1 = require("./mgf1SHA1.va"); const pSpecifiedEmpty_va_1 = require("./pSpecifiedEmpty.va"); const RSAES_OAEP_params_ta_1 = require("./RSAES-OAEP-params.ta"); const sha1_va_1 = require("./sha1.va"); exports.rSAES_OAEP_Default_Identifier = AlgorithmIdentifier_ta_1.AlgorithmIdentifier._from_object({ algorithm: id_RSAES_OAEP_va_1.id_RSAES_OAEP, parameters: RSAES_OAEP_params_ta_1._encode_RSAES_OAEP_params(RSAES_OAEP_params_ta_1.RSAES_OAEP_params._from_object({ hashAlgorithm: sha1_va_1.sha1, maskGenAlgorithm: mgf1SHA1_va_1.mgf1SHA1, pSourceAlgorithm: pSpecifiedEmpty_va_1.pSpecifiedEmpty, }), $.DER), _unrecognizedExtensionsList: undefined, }); //# sourceMappingURL=rSAES-OAEP-Default-Identifier.va.js.map