@wildboar/pkcs
Version:
Public Key Cryptography Standard PDUs in TypeScript
32 lines • 968 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.sha1 = void 0;
/* eslint-disable */
const asn1 = require("asn1-ts");
const AlgorithmIdentifier_ta_1 = require("@wildboar/x500/src/lib/modules/AuthenticationFramework/AlgorithmIdentifier.ta");
const id_sha1_va_1 = require("../PKCS-1/id-sha1.va");
/* START_OF_SYMBOL_DEFINITION sha1 */
/**
* @summary sha1
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* sha1 HashAlgorithm ::= {
* algorithm id-sha1,
* parameters SHA1Parameters : NULL
*
* }
* ```
*
* @constant
*/
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,
});
/* END_OF_SYMBOL_DEFINITION sha1 */
/* eslint-enable */
//# sourceMappingURL=sha1.va.js.map