UNPKG

@wildboar/copp

Version:

Connection-oriented presentation protocol (COPP) data structures and business logic in TypeScript

35 lines 1.34 kB
import { ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { Context_list_Item } from '../ISO8823-PRESENTATION/Context-list-Item.ta.mjs'; /** * @summary Context_list * @description * * ### ASN.1 Definition: * * ```asn1 * Context-list ::= * SEQUENCE SIZE (0..7, ..., 8..MAX) OF * SEQUENCE {presentation-context-identifier Presentation-context-identifier, * abstract-syntax-name Abstract-syntax-name, * transfer-syntax-name-list SEQUENCE OF Transfer-syntax-name * } * ``` */ export type Context_list = Context_list_Item[]; /** * @summary Decodes an ASN.1 element into a(n) Context_list * @function * @param {_Element} el The element being decoded. * @returns {Context_list} The decoded data structure. */ export declare function _decode_Context_list(el: _Element): Context_list; /** * @summary Encodes a(n) Context_list 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 Context_list, encoded as an ASN.1 Element. */ export declare function _encode_Context_list(value: Context_list, elGetter: $.ASN1Encoder<Context_list>): _Element; //# sourceMappingURL=Context-list.ta.d.mts.map