@wildboar/pkcs
Version:
Public Key Cryptography Standard PDUs in TypeScript
30 lines • 1.35 kB
text/typescript
import { ASN1Element as _Element } from "@wildboar/asn1";
import * as $ from "@wildboar/asn1/functional";
import { AlgorithmIdentifier } from "@wildboar/x500/AuthenticationFramework";
/**
* @summary MessageAuthenticationCodeAlgorithm
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* MessageAuthenticationCodeAlgorithm ::= AlgorithmIdentifier
* ```
*/
export type MessageAuthenticationCodeAlgorithm = AlgorithmIdentifier;
/**
* @summary Decodes an ASN.1 element into a(n) MessageAuthenticationCodeAlgorithm
* @function
* @param {_Element} el The element being decoded.
* @returns {MessageAuthenticationCodeAlgorithm} The decoded data structure.
*/
export declare function _decode_MessageAuthenticationCodeAlgorithm(el: _Element): MessageAuthenticationCodeAlgorithm;
/**
* @summary Encodes a(n) MessageAuthenticationCodeAlgorithm into an ASN.1 Element.
* @function
* @param value The element being encoded.
* @param elGetter A function that can be used to get new ASN.1 elements.
* @returns {_Element} The MessageAuthenticationCodeAlgorithm, encoded as an ASN.1 Element.
*/
export declare function _encode_MessageAuthenticationCodeAlgorithm(value: MessageAuthenticationCodeAlgorithm, elGetter: $.ASN1Encoder<MessageAuthenticationCodeAlgorithm>): _Element;
//# sourceMappingURL=MessageAuthenticationCodeAlgorithm.ta.d.mts.map