import { ASN1Element as _Element, BOOLEAN, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { MasterOrShadowAccessPoint_category, _enum_for_MasterOrShadowAccessPoint_category } from "../DistributedOperations/MasterOrShadowAccessPoint-category.ta.mjs"; import { Name } from "../InformationFramework/Name.ta.mjs"; import { PresentationAddress } from "../SelectedAttributeTypes/PresentationAddress.ta.mjs"; import { ProtocolInformation } from "../SelectedAttributeTypes/ProtocolInformation.ta.mjs"; import { AccessPoint } from "./AccessPoint.ta.mjs"; /** * @summary MasterOrShadowAccessPoint * @description * * ### ASN.1 Definition: * * ```asn1 * MasterOrShadowAccessPoint ::= SET { * COMPONENTS OF AccessPoint, * category [3] ENUMERATED { * master (0), * shadow (1), * writeableCopy (2), * ... } DEFAULT master, * chainingRequired [5] BOOLEAN DEFAULT FALSE, * ... } * ``` * */ export declare class MasterOrShadowAccessPoint extends AccessPoint { /** * @summary `ae_title`. * @public * @readonly */ readonly ae_title: Name; /** * @summary `address`. * @public * @readonly */ readonly address: PresentationAddress; /** * @summary `protocolInformation`. * @public * @readonly */ readonly protocolInformation?: OPTIONAL; /** * @summary `category`. * @public * @readonly */ readonly category?: OPTIONAL; /** * @summary `chainingRequired`. * @public * @readonly */ readonly chainingRequired?: OPTIONAL; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `ae_title`. * @public * @readonly */ ae_title: Name, /** * @summary `address`. * @public * @readonly */ address: PresentationAddress, /** * @summary `protocolInformation`. * @public * @readonly */ protocolInformation?: OPTIONAL, /** * @summary `category`. * @public * @readonly */ category?: OPTIONAL, /** * @summary `chainingRequired`. * @public * @readonly */ chainingRequired?: OPTIONAL, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a MasterOrShadowAccessPoint * @description * * This takes an `object` and converts it to a `MasterOrShadowAccessPoint`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `MasterOrShadowAccessPoint`. * @returns {MasterOrShadowAccessPoint} */ static _from_object(_o: Partial<{ [_K in keyof MasterOrShadowAccessPoint]: MasterOrShadowAccessPoint[_K]; }>): MasterOrShadowAccessPoint; /** * @summary Getter that returns the default value for `category`. * @public * @static * @method */ static get _default_value_for_category(): MasterOrShadowAccessPoint_category; /** * @summary Getter that returns the default value for `chainingRequired`. * @public * @static * @method */ static get _default_value_for_chainingRequired(): BOOLEAN; /** * @summary The enum used as the type of the component `category` * @public * @static */ static _enum_for_category: typeof _enum_for_MasterOrShadowAccessPoint_category; } /** * @summary The Leading Root Component Types of MasterOrShadowAccessPoint * @description * * This is an array of `ComponentSpec`s that define how to decode the leading root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_1_spec_for_MasterOrShadowAccessPoint: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of MasterOrShadowAccessPoint * @description * * This is an array of `ComponentSpec`s that define how to decode the trailing root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_2_spec_for_MasterOrShadowAccessPoint: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of MasterOrShadowAccessPoint * @description * * This is an array of `ComponentSpec`s that define how to decode the extension addition component type list of a SET or SEQUENCE. * * @constant */ export declare const _extension_additions_list_spec_for_MasterOrShadowAccessPoint: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) MasterOrShadowAccessPoint * @function * @param {_Element} el The element being decoded. * @returns {MasterOrShadowAccessPoint} The decoded data structure. */ export declare function _decode_MasterOrShadowAccessPoint(el: _Element): MasterOrShadowAccessPoint; /** * @summary Encodes a(n) MasterOrShadowAccessPoint 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 MasterOrShadowAccessPoint, encoded as an ASN.1 Element. */ export declare function _encode_MasterOrShadowAccessPoint(value: MasterOrShadowAccessPoint, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=MasterOrShadowAccessPoint.ta.d.mts.map