Philipp Maier | 08902cf | 2024-03-04 10:32:55 +0100 | [diff] [blame^] | 1 | #include "RSPDefinitions.hh" |
| 2 | |
| 3 | namespace RSPDefinitions__Types { |
| 4 | |
| 5 | using namespace RSPDefinitions; |
| 6 | |
| 7 | TTCN_Module RSPDefinitions__EncDec("RSPDefinitions_EncDec", __DATE__, __TIME__); |
| 8 | |
| 9 | OCTETSTRING enc__GetEuiccChallengeResponse(const GetEuiccChallengeResponse &msg) { |
| 10 | TTCN_Buffer buf; |
| 11 | |
| 12 | buf.clear(); |
| 13 | msg.encode(GetEuiccChallengeResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 14 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 15 | } |
| 16 | |
| 17 | GetEuiccChallengeResponse dec__GetEuiccChallengeResponse(const OCTETSTRING &stream) { |
| 18 | TTCN_Buffer buf; |
| 19 | GetEuiccChallengeResponse msg; |
| 20 | buf.put_os(stream); |
| 21 | |
| 22 | msg.decode(GetEuiccChallengeResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 23 | return msg; |
| 24 | } |
| 25 | |
| 26 | OCTETSTRING enc__EUICCInfo1(const EUICCInfo1 &msg) { |
| 27 | TTCN_Buffer buf; |
| 28 | |
| 29 | buf.clear(); |
| 30 | msg.encode(EUICCInfo1_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 31 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 32 | } |
| 33 | |
| 34 | EUICCInfo1 dec__EUICCInfo1(const OCTETSTRING &stream) { |
| 35 | TTCN_Buffer buf; |
| 36 | EUICCInfo1 msg; |
| 37 | buf.put_os(stream); |
| 38 | |
| 39 | msg.decode(EUICCInfo1_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 40 | return msg; |
| 41 | } |
| 42 | |
| 43 | OCTETSTRING enc__EUICCInfo2(const EUICCInfo2 &msg) { |
| 44 | TTCN_Buffer buf; |
| 45 | |
| 46 | buf.clear(); |
| 47 | msg.encode(EUICCInfo2_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 48 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 49 | } |
| 50 | |
| 51 | EUICCInfo2 dec__EUICCInfo2(const OCTETSTRING &stream) { |
| 52 | TTCN_Buffer buf; |
| 53 | EUICCInfo2 msg; |
| 54 | buf.put_os(stream); |
| 55 | |
| 56 | msg.decode(EUICCInfo2_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 57 | return msg; |
| 58 | } |
| 59 | |
| 60 | OCTETSTRING enc__AuthenticateServerResponse(const AuthenticateServerResponse &msg) { |
| 61 | TTCN_Buffer buf; |
| 62 | |
| 63 | buf.clear(); |
| 64 | msg.encode(AuthenticateServerResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 65 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 66 | } |
| 67 | |
| 68 | AuthenticateServerResponse dec__AuthenticateServerResponse(const OCTETSTRING &stream) { |
| 69 | TTCN_Buffer buf; |
| 70 | AuthenticateServerResponse msg; |
| 71 | buf.put_os(stream); |
| 72 | |
| 73 | msg.decode(AuthenticateServerResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 74 | return msg; |
| 75 | } |
| 76 | |
| 77 | OCTETSTRING enc__CancelSessionResponse(const CancelSessionResponse &msg) { |
| 78 | TTCN_Buffer buf; |
| 79 | |
| 80 | buf.clear(); |
| 81 | msg.encode(CancelSessionResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 82 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 83 | } |
| 84 | |
| 85 | CancelSessionResponse dec__CancelSessionResponse(const OCTETSTRING &stream) { |
| 86 | TTCN_Buffer buf; |
| 87 | CancelSessionResponse msg; |
| 88 | buf.put_os(stream); |
| 89 | |
| 90 | msg.decode(CancelSessionResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 91 | return msg; |
| 92 | } |
| 93 | |
| 94 | OCTETSTRING enc__PrepareDownloadResponse(const PrepareDownloadResponse &msg) { |
| 95 | TTCN_Buffer buf; |
| 96 | |
| 97 | buf.clear(); |
| 98 | msg.encode(PrepareDownloadResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 99 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 100 | } |
| 101 | |
| 102 | PrepareDownloadResponse dec__PrepareDownloadResponse(const OCTETSTRING &stream) { |
| 103 | TTCN_Buffer buf; |
| 104 | PrepareDownloadResponse msg; |
| 105 | buf.put_os(stream); |
| 106 | |
| 107 | msg.decode(PrepareDownloadResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 108 | return msg; |
| 109 | } |
| 110 | |
| 111 | OCTETSTRING enc__ProfileInstallationResult(const ProfileInstallationResult &msg) { |
| 112 | TTCN_Buffer buf; |
| 113 | |
| 114 | buf.clear(); |
| 115 | msg.encode(ProfileInstallationResult_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 116 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 117 | } |
| 118 | |
| 119 | ProfileInstallationResult dec__ProfileInstallationResult(const OCTETSTRING &stream) { |
| 120 | TTCN_Buffer buf; |
| 121 | ProfileInstallationResult msg; |
| 122 | buf.put_os(stream); |
| 123 | |
| 124 | msg.decode(ProfileInstallationResult_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 125 | return msg; |
| 126 | } |
| 127 | |
| 128 | OCTETSTRING enc__NotificationSentResponse(const NotificationSentResponse &msg) { |
| 129 | TTCN_Buffer buf; |
| 130 | |
| 131 | buf.clear(); |
| 132 | msg.encode(NotificationSentResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 133 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 134 | } |
| 135 | |
| 136 | NotificationSentResponse dec__NotificationSentResponse(const OCTETSTRING &stream) { |
| 137 | TTCN_Buffer buf; |
| 138 | NotificationSentResponse msg; |
| 139 | buf.put_os(stream); |
| 140 | |
| 141 | msg.decode(NotificationSentResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 142 | return msg; |
| 143 | } |
| 144 | |
| 145 | OCTETSTRING enc__RetrieveNotificationsListResponse(const RetrieveNotificationsListResponse &msg) { |
| 146 | TTCN_Buffer buf; |
| 147 | |
| 148 | buf.clear(); |
| 149 | msg.encode(RetrieveNotificationsListResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 150 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 151 | } |
| 152 | |
| 153 | RetrieveNotificationsListResponse dec__RetrieveNotificationsListResponse(const OCTETSTRING &stream) { |
| 154 | TTCN_Buffer buf; |
| 155 | RetrieveNotificationsListResponse msg; |
| 156 | buf.put_os(stream); |
| 157 | |
| 158 | msg.decode(RetrieveNotificationsListResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 159 | return msg; |
| 160 | } |
| 161 | |
| 162 | OCTETSTRING enc__GetEuiccDataResponse(const GetEuiccDataResponse &msg) { |
| 163 | TTCN_Buffer buf; |
| 164 | |
| 165 | buf.clear(); |
| 166 | msg.encode(GetEuiccDataResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 167 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 168 | } |
| 169 | |
| 170 | GetEuiccDataResponse dec__GetEuiccDataResponse(const OCTETSTRING &stream) { |
| 171 | TTCN_Buffer buf; |
| 172 | GetEuiccDataResponse msg; |
| 173 | buf.put_os(stream); |
| 174 | |
| 175 | msg.decode(GetEuiccDataResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 176 | return msg; |
| 177 | } |
| 178 | |
| 179 | OCTETSTRING enc__EuiccConfiguredAddressesResponse(const EuiccConfiguredAddressesResponse &msg) { |
| 180 | TTCN_Buffer buf; |
| 181 | |
| 182 | buf.clear(); |
| 183 | msg.encode(EuiccConfiguredAddressesResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 184 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 185 | } |
| 186 | |
| 187 | EuiccConfiguredAddressesResponse dec__EuiccConfiguredAddressesResponse(const OCTETSTRING &stream) { |
| 188 | TTCN_Buffer buf; |
| 189 | EuiccConfiguredAddressesResponse msg; |
| 190 | buf.put_os(stream); |
| 191 | |
| 192 | msg.decode(EuiccConfiguredAddressesResponse_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 193 | return msg; |
| 194 | } |
| 195 | |
| 196 | OCTETSTRING enc__PendingNotification(const PendingNotification &msg) { |
| 197 | TTCN_Buffer buf; |
| 198 | |
| 199 | buf.clear(); |
| 200 | msg.encode(PendingNotification_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 201 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 202 | } |
| 203 | |
| 204 | PendingNotification dec__PendingNotification(const OCTETSTRING &stream) { |
| 205 | TTCN_Buffer buf; |
| 206 | PendingNotification msg; |
| 207 | buf.put_os(stream); |
| 208 | |
| 209 | msg.decode(PendingNotification_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 210 | return msg; |
| 211 | } |
| 212 | |
| 213 | OCTETSTRING enc__ServerSigned1(const ServerSigned1 &msg) { |
| 214 | TTCN_Buffer buf; |
| 215 | |
| 216 | buf.clear(); |
| 217 | msg.encode(ServerSigned1_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 218 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 219 | } |
| 220 | |
| 221 | ServerSigned1 dec__ServerSigned1(const OCTETSTRING &stream) { |
| 222 | TTCN_Buffer buf; |
| 223 | ServerSigned1 msg; |
| 224 | buf.put_os(stream); |
| 225 | |
| 226 | msg.decode(ServerSigned1_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 227 | return msg; |
| 228 | } |
| 229 | |
| 230 | OCTETSTRING enc__BoundProfilePackage(const BoundProfilePackage &msg) { |
| 231 | TTCN_Buffer buf; |
| 232 | |
| 233 | buf.clear(); |
| 234 | msg.encode(BoundProfilePackage_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 235 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 236 | } |
| 237 | |
| 238 | BoundProfilePackage dec__BoundProfilePackage(const OCTETSTRING &stream) { |
| 239 | TTCN_Buffer buf; |
| 240 | BoundProfilePackage msg; |
| 241 | buf.put_os(stream); |
| 242 | |
| 243 | msg.decode(BoundProfilePackage_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 244 | return msg; |
| 245 | } |
| 246 | |
| 247 | OCTETSTRING enc__StoreMetadataRequest(const StoreMetadataRequest &msg) { |
| 248 | TTCN_Buffer buf; |
| 249 | |
| 250 | buf.clear(); |
| 251 | msg.encode(StoreMetadataRequest_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 252 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 253 | } |
| 254 | |
| 255 | StoreMetadataRequest dec__StoreMetadataRequest(const OCTETSTRING &stream) { |
| 256 | TTCN_Buffer buf; |
| 257 | StoreMetadataRequest msg; |
| 258 | buf.put_os(stream); |
| 259 | |
| 260 | msg.decode(StoreMetadataRequest_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 261 | return msg; |
| 262 | } |
| 263 | |
| 264 | OCTETSTRING enc__SmdpSigned2(const SmdpSigned2 &msg) { |
| 265 | TTCN_Buffer buf; |
| 266 | |
| 267 | buf.clear(); |
| 268 | msg.encode(SmdpSigned2_descr_, buf, TTCN_EncDec::CT_BER, BER_ENCODE_DER); |
| 269 | return OCTETSTRING(buf.get_len(), buf.get_data()); |
| 270 | } |
| 271 | |
| 272 | SmdpSigned2 dec__SmdpSigned2(const OCTETSTRING &stream) { |
| 273 | TTCN_Buffer buf; |
| 274 | SmdpSigned2 msg; |
| 275 | buf.put_os(stream); |
| 276 | |
| 277 | msg.decode(SmdpSigned2_descr_, buf, TTCN_EncDec::CT_BER, BER_ACCEPT_ALL); |
| 278 | return msg; |
| 279 | } |
| 280 | |
| 281 | } |