@wildboar/pkcs
Version:
Public Key Cryptography Standard PDUs in TypeScript
21 lines (20 loc) • 461 B
JavaScript
import * as $ from "@wildboar/asn1/functional";
import { hMAC_SHA1 } from "../CryptographicMessageSyntax/hMAC-SHA1.va.mjs";
/**
* ### ASN.1 Definition
*
* ```asn1
* {NULL IDENTIFIED BY hMAC-SHA1}
* ```
*/
export const MACAlgorithms_Union0_Intersection0_Element = {
class: "ALGORITHM-IDENTIFIER",
decoderFor: {
"&Type": $._decodeNull,
},
encoderFor: {
"&Type": $._encodeNull,
},
"&id": hMAC_SHA1,
"&Type": 0,
};