UNPKG

@wildboar/pkcs

Version:
30 lines 1.24 kB
import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { CertificateList } from "@wildboar/x500/AuthenticationFramework"; /** * @summary CertificateRevocationLists * @description * * ### ASN.1 Definition: * * ```asn1 * CertificateRevocationLists ::= SET OF CertificateList * ``` */ export type CertificateRevocationLists = CertificateList[]; /** * @summary Decodes an ASN.1 element into a(n) CertificateRevocationLists * @function * @param {_Element} el The element being decoded. * @returns {CertificateRevocationLists} The decoded data structure. */ export declare function _decode_CertificateRevocationLists(el: _Element): CertificateRevocationLists; /** * @summary Encodes a(n) CertificateRevocationLists 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 CertificateRevocationLists, encoded as an ASN.1 Element. */ export declare function _encode_CertificateRevocationLists(value: CertificateRevocationLists, elGetter: $.ASN1Encoder<CertificateRevocationLists>): _Element; //# sourceMappingURL=CertificateRevocationLists.ta.d.mts.map