UNPKG

@wildboar/pkcs

Version:
30 lines 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.alg_id_sha1 = exports.sha_1 = void 0; /* eslint-disable */ const asn1 = require("asn1-ts"); const AlgorithmIdentifier_ta_1 = require("@wildboar/x500/src/lib/modules/AuthenticationFramework/AlgorithmIdentifier.ta"); const sha_1_va_1 = require("../CryptographicMessageSyntax/sha-1.va"); var sha_1_va_2 = require("../CryptographicMessageSyntax/sha-1.va"); Object.defineProperty(exports, "sha_1", { enumerable: true, get: function () { return sha_1_va_2.sha_1; } }); /* START_OF_SYMBOL_DEFINITION alg_id_sha1 */ /** * @summary alg_id_sha1 * @description * * ### ASN.1 Definition: * * ```asn1 * alg-id-sha1 AlgorithmIdentifier {{DigestAlgorithms}} ::= { algorithm sha-1, parameters SHA1Parameters : NULL} * ``` * * @constant */ exports.alg_id_sha1 = AlgorithmIdentifier_ta_1.AlgorithmIdentifier._from_object({ algorithm: sha_1_va_1.sha_1, parameters: new asn1.DERElement(asn1.ASN1TagClass.universal, asn1.ASN1Construction.primitive, asn1.ASN1UniversalType.nill, null), _unrecognizedExtensionsList: undefined, }); /* END_OF_SYMBOL_DEFINITION alg_id_sha1 */ /* eslint-enable */ //# sourceMappingURL=alg-id-sha1.va.js.map