UNPKG

@wildboar/pkcs

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