UNPKG

@wildboar/pki-stub

Version:
31 lines 1.03 kB
import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { SIGNED } from "../PKI-Stub/SIGNED.ta.mjs"; import { TBSCertAVL } from "../PKI-Stub/TBSCertAVL.ta.mjs"; /** * @summary CertAVL * @description * * ### ASN.1 Definition: * * ```asn1 * CertAVL ::= SIGNED {TBSCertAVL} * ``` */ export type CertAVL = SIGNED<TBSCertAVL>; /** * @summary Decodes an ASN.1 element into a(n) CertAVL * @function * @param {_Element} el The element being decoded. * @returns {CertAVL} The decoded data structure. */ export declare function _decode_CertAVL(el: _Element): CertAVL; /** * @summary Encodes a(n) CertAVL 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 CertAVL, encoded as an ASN.1 Element. */ export declare function _encode_CertAVL(value: CertAVL, elGetter: $.ASN1Encoder<CertAVL>): _Element; //# sourceMappingURL=CertAVL.ta.d.mts.map