@wildboar/copp
Version:
Connection-oriented presentation protocol (COPP) data structures and business logic in TypeScript
36 lines (35 loc) • 1.44 kB
TypeScript
import { ASN1Element as _Element } from 'asn1-ts';
import * as $ from 'asn1-ts/dist/node/functional';
import { Context_list_Item } from '../ISO8823-PRESENTATION/Context-list-Item.ta';
export { Context_list_Item, _decode_Context_list_Item, _encode_Context_list_Item, } from '../ISO8823-PRESENTATION/Context-list-Item.ta';
/**
* @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 declare 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} el The element being decoded.
* @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;