UNPKG

@wildboar/pki-stub

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