pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
15 lines • 931 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.alg_id_sha1 = exports.sha_1 = 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 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; } });
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,
});
//# sourceMappingURL=alg-id-sha1.va.js.map