Commit ad2c1a0c authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

event added: SECURITY_MODE_COMMAND

parent 0a297dc0
Loading
Loading
Loading
Loading
+26 −15
Original line number Diff line number Diff line
@@ -144,23 +144,34 @@ Package Ngnas_Common {
            - indicateUEderegistration
        ;
        event templates:
        /* This template can be used as default AUTHENTICATION REQUEST message within a DOWNLINK NAS TRANSPORT message. */
        /* This template can be used as default AUTHENTICATION_REQUEST message within a DOWNLINK NAS TRANSPORT message. */
            - AUTHENTICATION_REQUEST {
                the IUT entity sends an DOWNLINK_NAS_TRANSPORT containing
                    NAS_PDU containing
                        extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
                        security_header_type set to NOT_SECURITY_PROTECTED,
							spare_half_octet,
							authentication_request_message_identity set to AUTHENTICATION_REQUEST,
                        message_type set to AUTHENTICATION_REQUEST,
                        ngKSI containing
								nas_key_set_identifier set to "111"
							;,
							spare_half_octet,
							ABBA,
                            Authentication_parameter_RAND,
                            Authentication_parameter_AUTN
						;
				;
                            nas_key_set_identifier set to "111";,
                        ABBA containing
                            ABBA_contents set to '0000'H;,
                        Authentication_parameter_RAND set to RV_Authentication_parameter_RAND,
                        Authentication_parameter_AUTN set to RV_Authentication_parameter_AUTN;;
				to the GNB entity
            }
        /* This template can be used as default SECURITY_MODE_COMMAND message within a DOWNLINK NAS TRANSPORT message. */
            - SECURITY_MODE_COMMAND {
                the IUT entity sends an DOWNLINK_NAS_TRANSPORT containing // SECURITY_MODE_COMMAND
                    NAS_PDU containing
                        extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
                        security_header_type set to INTEGRITY_PROTECTED_WITH_NEW_5G_NAS_SECURITY_CONTEXT,
                        message_type set to SECURITY_MODE_COMMAND,
                        selected_NAS_security_algorithms containing
                            type_of_ciphering_algorithm set to PX_SELECTED_NAS_CIPHERING_ALGORITHM,
                            type_of_integrity_algorithm set to PX_SELECTED_NAS_INTEGRITY_ALGORITHM;,
                        ngKSI containing
                            nas_key_set_identifier set to "111";,
                        replayed_UE_security_capabilities set to PX_UE_SECURITY_CAPABILITIES;; // UE security capability 9.11.3.54
                to the GNB entity
            }
        ;