2 * Copyright 2019 AT&T Intellectual Property
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 * platform project (RICP).
25 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26 * From ASN.1 module "X2AP-IEs"
27 * found in "../../asnFiles/X2AP-IEs.asn"
28 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
31 #include "NRUESecurityCapabilities.h"
33 #include "ProtocolExtensionContainer.h"
34 asn_TYPE_member_t asn_MBR_NRUESecurityCapabilities_1[] = {
35 { ATF_NOFLAGS, 0, offsetof(struct NRUESecurityCapabilities, nRencryptionAlgorithms),
36 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37 -1, /* IMPLICIT tag at current level */
38 &asn_DEF_NRencryptionAlgorithms,
41 0, 0, /* No default value */
42 "nRencryptionAlgorithms"
44 { ATF_NOFLAGS, 0, offsetof(struct NRUESecurityCapabilities, nRintegrityProtectionAlgorithms),
45 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46 -1, /* IMPLICIT tag at current level */
47 &asn_DEF_NRintegrityProtectionAlgorithms,
50 0, 0, /* No default value */
51 "nRintegrityProtectionAlgorithms"
53 { ATF_POINTER, 1, offsetof(struct NRUESecurityCapabilities, iE_Extensions),
54 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
55 -1, /* IMPLICIT tag at current level */
56 &asn_DEF_ProtocolExtensionContainer_170P176,
59 0, 0, /* No default value */
63 static const int asn_MAP_NRUESecurityCapabilities_oms_1[] = { 2 };
64 static const ber_tlv_tag_t asn_DEF_NRUESecurityCapabilities_tags_1[] = {
65 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
67 static const asn_TYPE_tag2member_t asn_MAP_NRUESecurityCapabilities_tag2el_1[] = {
68 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nRencryptionAlgorithms */
69 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nRintegrityProtectionAlgorithms */
70 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
72 asn_SEQUENCE_specifics_t asn_SPC_NRUESecurityCapabilities_specs_1 = {
73 sizeof(struct NRUESecurityCapabilities),
74 offsetof(struct NRUESecurityCapabilities, _asn_ctx),
75 asn_MAP_NRUESecurityCapabilities_tag2el_1,
76 3, /* Count of tags in the map */
77 asn_MAP_NRUESecurityCapabilities_oms_1, /* Optional members */
78 1, 0, /* Root/Additions */
79 3, /* First extension addition */
81 asn_TYPE_descriptor_t asn_DEF_NRUESecurityCapabilities = {
82 "NRUESecurityCapabilities",
83 "NRUESecurityCapabilities",
85 asn_DEF_NRUESecurityCapabilities_tags_1,
86 sizeof(asn_DEF_NRUESecurityCapabilities_tags_1)
87 /sizeof(asn_DEF_NRUESecurityCapabilities_tags_1[0]), /* 1 */
88 asn_DEF_NRUESecurityCapabilities_tags_1, /* Same as above */
89 sizeof(asn_DEF_NRUESecurityCapabilities_tags_1)
90 /sizeof(asn_DEF_NRUESecurityCapabilities_tags_1[0]), /* 1 */
91 { 0, 0, SEQUENCE_constraint },
92 asn_MBR_NRUESecurityCapabilities_1,
93 3, /* Elements count */
94 &asn_SPC_NRUESecurityCapabilities_specs_1 /* Additional specs */