pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
14 lines • 740 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.mgf1SHA1 = 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_mgf1_va_1 = require("../PKCS-1/id-mgf1.va");
const sha1_va_1 = require("../PKCS-1/sha1.va");
exports.mgf1SHA1 = AlgorithmIdentifier_ta_1.AlgorithmIdentifier._from_object({
algorithm: id_mgf1_va_1.id_mgf1,
parameters: AlgorithmIdentifier_ta_1._encode_AlgorithmIdentifier(sha1_va_1.sha1, $.DER),
_unrecognizedExtensionsList: undefined,
});
//# sourceMappingURL=mgf1SHA1.va.js.map