UNPKG

pkcs-ts

Version:

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

13 lines 702 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sha1 = void 0; const tslib_1 = require("tslib"); const asn1 = tslib_1.__importStar(require("asn1-ts")); const AlgorithmIdentifier_ta_1 = require("x500-ts/dist/node/modules/AuthenticationFramework/AlgorithmIdentifier.ta"); const id_sha1_va_1 = require("../PKCS-1/id-sha1.va"); exports.sha1 = AlgorithmIdentifier_ta_1.AlgorithmIdentifier._from_object({ algorithm: id_sha1_va_1.id_sha1, parameters: new asn1.DERElement(asn1.ASN1TagClass.universal, asn1.ASN1Construction.primitive, asn1.ASN1UniversalType.nill, null), _unrecognizedExtensionsList: undefined, }); //# sourceMappingURL=sha1.va.js.map