Refreshing authentication keys for proximity-based services

By managing remote user keys and their lifetimes in the 5G cellular network, security threats caused by unauthorized access are solved and network security and stability are achieved.

CN118844079APending Publication Date: 2024-10-25ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280093267.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-06-20
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

In 5G cellular networks, unauthorized entities may access the 5G core network through relays, leading to denial of service attacks or unauthorized service use. Existing technologies are difficult to effectively prevent such security threats.

Method used

By generating and managing remote user keys and their lifetimes between the authentication node and the anchor function node, it ensures that only authorized user devices can access the network, and triggers a new authentication process and updates the key when the user key expires. to prevent unauthorized access.

Benefits of technology

It effectively prevents unauthorized relay access and denial of service attacks, ensures the security and stability of the 5G network, and prevents key leakage and unauthorized use by regularly updating keys.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118844079A_ABST
    Figure CN118844079A_ABST
Patent Text Reader

Abstract

Techniques for refreshing and updating user keys and user key lifetime in a wireless communication system are disclosed. In one aspect, a method of wireless communication is disclosed. The method includes generating, by an authentication node, a remote user key and a remote user key lifetime. The method further includes sending a remote user key and a remote user key lifetime from the authentication node to the anchor function node; and transmitting, by the relay wireless device, the remote user key lifetime to the remote wireless device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This patent document relates to wireless communications. Background Art

[0002] The 3GPP (3rd Generation Partnership Project) system requires authorized user devices to access the 5G core (5GC) network. Without proper authorization, unauthorized entities will be able to access the 5GC through relays, creating hidden dangers and causing possible denial of service attacks or unauthorized use of services. New security technologies are needed to ensure the correct operation of the network. Summary of the invention

[0003] A technology for refreshing and updating a user key and a user key lifetime in a wireless communication system is disclosed. In one aspect, a wireless communication method is disclosed. The method includes: generating a remote user key and a remote user key lifetime by an authentication node. The method also includes: sending the remote user key and the remote user key lifetime from the authentication node to an anchor function node; and sending the remote user key lifetime to a remote wireless device via a relay wireless device.

[0004] In another aspect, another wireless communication method is disclosed. The method includes: determining at an authentication node to refresh a remote user key using a subscription permanent identifier; and determining to refresh the remote user key based on a local policy of the authentication node.

[0005] In yet another aspect, another wireless communication method is disclosed. The method includes: receiving, at an anchor node function, a key request for a remote user key from an authentication node, the key request including an identifier of the remote user key. The method also includes: determining, at the anchor node function, to refresh the remote user key retrieved using the identifier of the remote user key; and sending a subscription permanent identifier and a refresh indication to the authentication node.

[0006] In yet another aspect, another wireless communication method is disclosed. The method includes: receiving a remote user key at an authentication node; determining at the authentication node to generate a new remote user key based on the received remote user key. The method also includes: registering the new remote user key based on the remote user key; and sending a key refresh indication container to a remote wireless device.

[0007] In yet another aspect, another wireless communication method is disclosed. The method includes: receiving a key request for a remote user key at an anchor node function, the key request including a remote user key identifier. The method also includes: determining to generate a new remote user key based on the remote user key; and sending a key refresh indication container to an authentication node and a remote wireless device.

[0008] On the other hand, another wireless communication method is disclosed. The method includes: receiving an authentication response message from a management node based in part on an authentication state stored at the management node; and determining, by a first authentication node, to refresh a remote user key based in part on a received subscription identifier. The method also includes: sending, by the first authentication node, a request message to the management node, the request message indicating a result and time of an authentication process with a wireless device, the request message using and including a subscription identifier, an authentication timestamp, an authentication type, and a service network name. The method includes: sending a request message from the first authentication node to a second authentication node, and receiving a response message; and generating, by the first authentication node, the remote user key based on an authentication key.

[0009] In yet another aspect, another wireless communication method is disclosed. The method includes: storing an authentication response message based in part on an authentication state at a management node. The method also includes: receiving a request message based in part on a determination by an anchor function node to refresh a remote user key; and using a subscription identifier to determine an identifier stored at a first authentication node, and sending a corresponding request to a second authentication node or to the anchor function node. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 An example network architecture is shown;

[0011] Figure 2 An example of a security process on a control surface is shown;

[0012] Figure 3 An example of a signaling diagram for setting the lifetime of a key is shown;

[0013] Figure 4 An example of a signaling diagram for refreshing a user key is shown;

[0014] Figure 5 An example of a signaling diagram for refreshing a key based on a determination of an anchor function node is shown;

[0015] Figure 6 An example of a signaling diagram for generating a new key based on a previous key is shown;

[0016] Figure 7 Another example of a signaling diagram for generating a new key based on a previous key is shown;

[0017] Figure 8 Another example of a signaling diagram for generating a new key based on a previous key is shown;

[0018] Fig. 9 An example of a signaling diagram for refreshing a key based on a determination by an authentication node is shown;

[0019] Fig.10 An example of a signaling diagram for refreshing a key based on a determination of an anchor function node is shown;

[0020] Fig.11 An example of a process is shown;

[0021] Fig.12 An example of an apparatus is shown; and

[0022] Fig.13 An example of a system is shown. DETAILED DESCRIPTION

[0023] The section headings used in this document are for readability purposes and do not limit the scope of the embodiments and techniques disclosed in each section to only that section. Certain features are described using 3GPP terminology, but these features can be practiced in other wireless systems using other wireless communication protocols.

[0024] Cellular and other wireless systems require authorization for user equipment (UE) to access networks such as the 5G Core Network (5GC) through a 5G UE-to-network relay and for the UE to perform as a UE-to-network relay. Without proper authorization, unauthorized entities will be able to access the 5GC through the UE-to-network relay or act as a UE-to-network relay, creating a vulnerability and causing possible distributed denial of service (DDOS) attacks or unauthorized use of services on both the 5G system (5GS) and the UE-to-network relay.

[0025] Security procedures may be used to protect networks, such as 5G cellular networks and associated elements. For example, 5G security procedures on the user plane and control plane are described in standard documents including TR33.503 clauses 6.3.3.2 and 6.3.3.3. In the user plane solution of proximity-based service (ProSe or Prose) UE to network relay in clause 6.3.3.2, if the authorization information of the 5G ProSe UE to the network relay is not available locally, the 5G Prose Key Management Function (PKMF) may request authorization information from a unified data management (UDM) node. For a 5G ProSe remote UE, if the authorization information of the 5G ProSe remote UE is not available locally, the 5G PKMF may request authorization information from the UDM of the 5G ProSe remote UE.

[0026] In the example control plane solution, the relay access and mobility management function (AMF) should authorize the relay UE. For the remote UE, the authorization server function (AUSF) receives the authorization information from the UDM and stores it in the ProSe anchor function (PAnF).

[0027] A remote UE may use a 5G ProSe remote user key (5GPRUK) identifier (5GPRUK ID) to request a UE-to-network relay service. Techniques for refreshing and updating user keys such as 5GPRUK are disclosed herein.

[0028] Figure 1 An example architecture of some implementations consistent with the disclosed subject matter is shown.

[0029] exist Figure 1 In the architecture of 5G, 5G direct discovery name management function (DDNMF) is introduced into 5GC as a new network function. From the perspective of architecture, 5G DDNMF has similar functions to the DDNMF part of ProSe function such as described in TS23.303.

[0030] Below 0 to 17 and Figure 2 The security procedures on the control plane are described in the corresponding items in (for example, see TS33.503 clause 6.3.3.3).

[0031] 0.5G ProSe remote UE and 5G ProSe UE to network relay can register on the network. 5G ProSe UE to network relay can be authenticated and authorized by the network to provide UE to network relay service. 5G ProSe remote UE can be authenticated and authorized by the network to receive UE to network relay service. During the authorization and information provision process, PC5 security policy is provided to 5G ProSe remote UE and 5G ProSe UE to network relay respectively.

[0032] The 1.5G ProSe Remote UE may initiate the discovery procedure using any of the Model A or Model B methods specified in clause 6.3.1.2 or clause 6.3.1.3 of TS 23.304, respectively.

[0033] 2. After discovering the 5G ProSe UE to Network Relay, the 5G ProSe remote UE may send a direct communication request to the 5G ProSe UE to Network Relay to establish a secure PC5 unicast link. The 5G ProSe remote UE may include its security capabilities and PC5 signaling security policy in the direct communication request (DCR) message specified in TS 33.536. The message may also include the relay service code Nonce_1.

[0034] If the 5G ProSe remote UE does not have a valid 5G ProSe remote user key (5GPRUK), the 5G ProSe remote UE may include a Subscriber Concealed Identifier (SUCI) in the DCR to trigger 5G ProSe remote UE-specific authentication and establish a 5GPRUK.

[0035] If the 5G ProSe remote UE already has a valid 5GPRUK, the 5G ProSe remote UE may include the 5GPRUK ID in the DCR to indicate that the 5G ProSe remote UE wants to use the 5GPRUK to obtain a relay connection.

[0036] 3. When receiving the DCR message, the 5G ProSe UE to the network relay may send a relay key request to the AMF of the 5G ProSe UE to the network relay, the relay key request including the SUCI or 5GPRUK ID, RSC (Relay Service Code) and Nonce_1 received in the DCR message. The 5G ProSe UE to the network relay may also include a transaction identifier in the message, which identifies the 5G ProSe remote UE to obtain subsequent messages through the NAS (Non-access stratum) message of the 5G ProSe UE to the network relay.

[0037] The AMF of 4.5G ProSe UE-to-network relay can verify whether the 5G ProSe UE-to-network relay is authorized to provide UE-to-network relay service.

[0038] 5.5G ProSe UE to Network Relayed AMF may select an AUSF based on the SUCI or 5GPRUK ID and forward the parameters received in the Relay Key Request to the AUSF in the Nausf_UEAuthentication_ProseAuthenticate request message. The Nausf_UEAuthentication_ProseAuthenticate request message may contain the SUCI or 5GPRUK ID of the 5G ProSe Remote UE, the Relay Service Code, and Nonce_1. If the 5GPRUK ID is received from the 5G ProSe UE to Network Relayed AMF, the AUSF of the 5G ProSe Remote UE skips steps 6 to 9. If the SUCI of the 5G ProSe Remote UE is received from the 5G ProSe UE to Network Relayed AMF, the AUSF of the 5G ProSe Remote UE skips step 10.

[0039] 6. The AUSF may initiate 5G ProSe remote UE-specific authentication using the received ProSe specific parameters (ie, RSC, etc.). The serving network name handling is the same as defined in TS 33.501.

[0040] The AUSF of the 5G ProSe remote UE may retrieve the authentication vector and routing indicator of the 5G ProSe remote UE from the UDM via a Nudm_UEAuthentication_GetProseAv request message. Upon receiving the Nudm_UEAuthentication_GetProSeAv request, the UDM may call the subscriber identity de-concealing function (SIDF) to de-conceal the SUCI to obtain the subscription permanent identifier (SUPI) before the UDM may process the request. The UDM checks whether the UE is authorized to use the ProSe UE to network relay service based on the authorization information in the UE's subscription data. If the UE is authorized, the UDM may select an authentication method based on the SUPI.

[0041] 7a. If UDM selects extensible authentication protocol authentication and key agreement (EAP-AKA'), the AUSF of the 5G ProSe remote UE may trigger authentication of the 5G ProSe remote UE based on EAP-AKA'. The AUSF of the 5G ProSe remote UE generates an EAP-Request / AKA'-Challenge message as defined in clause 6.1.3.1 of TS 33.501 and sends the EAP-Request / AKA'-Challenge message to the AMF of the 5G ProSe remote UE to the network relay in a Nausf_UEAuthentication_ProSeAuthenticate response message.

[0042] 7b.5G ProSe UE to Network Relay's AMF may forward the Relay Authentication Request (including EAP-Request / AKA'-Challenge) to the 5G ProSe UE to Network Relay via a NAS message, which includes the transaction identifier of the 5G ProSe Remote UE. The NAS message shall be protected using the NAS security context created for the 5G ProSe UE to Network Relay.

[0043] 7c. Based on the transaction identifier, the 5G ProSe UE to network relay can forward the EAP-Request / AKA'-Challenge to the 5G ProSe remote UE via the PC5 message.

[0044] The universal subscriber identity module (USIM) in the 5G ProSe remote UE verifies the freshness of the received value by checking whether the network authentication token (AUTN) can be accepted, as described in TS 33.102.

[0045] For EAP-AKA', USIM calculates the response RES (response, response parameters). USIM can return RES, CK (Cipher Key, encryption key), IK (Integrity Key) to ME (mobile equipment). ME can derive CK' and IK' according to Appendix A.3 in TS 33.501.

[0046] 7d.5G ProSe remote UE can return EAP-Response / AKA'-Challenge to the 5G ProSe UE to network relay via PC5 message.

[0047] 7e.5G ProSe UE to Network Relay forwards the EAP-Response / AKA'-Challenge together with the transaction identifier of the 5G ProSe Remote UE to the AMF of the 5G ProSe UE to Network Relay in the NAS message Relay Authentication Response.

[0048] 7f.5G ProSe UE to network relay AMF forwards EAP-Response / AKA'-Challenge to the AUSF of 5G ProSe remote UE via Nausf_UEAuthentication_ProSeAuthenticate request.

[0049] The AUSF of the 5G ProSe Remote UE performs UE authentication by verifying the received information as described in TS 33.501.

[0050] For EAP-AKA', the 5G ProSe remote UE and the AUSF of the 5G ProSe remote UE may exchange EAP-Request / AKA'-Notification and EAP-Response / AKA'-Notification messages through the AMF from the 5G ProSe UE to the network relay and the 5G ProSe UE to the network relay. After the exchange, the 5G ProSe remote UE and the AUSF of the 5G ProSe remote UE may derive K in the same manner as described in TS33.501. AUSFThe same method is used to derive K AUSF_P .

[0051] 8. After successful authentication, the 5G ProSe Remote UE and the AUSF of the 5G ProSe Remote UE can generate the 5GPRUK ID and the 5GPRUK specified in Appendix A.2.

[0052] The 5GPRUK ID is a network access identifier (NAI) format specified in clause 2.2 of Internet Engineering Task Force (IETF) RFC7542, i.e., username@realm. The username portion includes the routing indicator in step 6 and the 5GPRUK ID*, while the realm portion includes the home network identifier. The 5GPRUK ID* is specified in Appendix A.3.

[0053] 9a. The AUSF of the 5G ProSe remote UE may select the PAnF (Prose Anchor Function) based on the 5GPRUK ID and send SUPI, RSC, 5GPRUK and 5GPRUK ID to the PAnF in the Npanf_ProseKey_Register request message.

[0054] 9b.PAnF may store the ProSe context information (info) (i.e., SUPI, RSC, 5GPRUK, 5GPRUK ID) of the 5G ProSe remote UE and send an Npanf_ProseKey_Register response message to the AUSF.

[0055] 10a. The AUSF of the 5G ProSe remote UE may select a PAnF based on the 5GPRUK ID and send the received 5GPRUK ID and RSC in the Npanf_ProseKey_get request message.

[0056] 10b.PAnF retrieves the 5GPRUK based on the 5GPRUK ID and checks whether the 5G ProSe Remote UE is authorized to use the UE-to-Network Relay Service based on the received RSC. If the 5G ProSe Remote UE is authorized and the retrieved 5GPRUK is valid, PAnF sends an Npanf_ProseKey_get response message with the 5GPRUK to the AUSF.

[0057] 11. The AUSF of the 5G ProSe remote UE can generate Nonce_2 and use the 5GPRUK, Nonce_1 and Nonce_2 defined in Appendix A.4 to derive K NR_ProSe Key.

[0058] 12. The AUSF of the 5G ProSe remote UE may send K to the 5G ProSe UE to network relay in the Nausf_UEAuthentication_ProseAuthenticate response message via the AMF of the 5G ProSe UE to network relay. NR_ProSe , Nonce_2. If step 7 is successfully performed, an EAP success message may be included. If a 5GPRUK ID is generated in step 8, the AUSF of the 5G ProSe remote UE may also include the 5GPRUK ID in the message.

[0059] 13. When the AMF relayed by the 5G ProSe UE to the network receives K from the AUSF of the 5G ProSe remote UE NR_ProSe When 5G ProSe UE to network relay according to K NR_ProSe Derive PC5 session key K relay-sess and the secret key K relay-enc (if applicable) and the integrity key K relay-int , as defined in clause 6.3.3.3.3. K NR_ProSe ID and K relay-sess The ID is the same as K in TS 33.536. NRP ID and K NRP-sess The ID is established in the same way. If an EAP success message and a 5GPRUK ID are received from the AUSF, the EAP success message and the 5GPRUK ID are also sent from the 5G ProSe UE to the AMF of the network relay to the UE to the network relay.

[0060] 14.5G ProSe UE to Network Relay can send the received Nonce_2 and the PC5 signaling security policy of the 5G ProSe remote UE to the 5G ProSe remote UE in a Direct Security Mode Command message. The Direct Security Mode Command message uses K relay-int Integrity protection is performed. If an EAP success message is received from the 5G ProSe UE to the AMF relayed by the network, the EAP success message may be included.

[0061] 15. The 5G ProSe remote UE may generate K for remote access via the 5G ProSe UE to network relay in the same manner as defined in step 11. NR_ProSe The 5G ProSe remote UE may use the K key in the same manner as defined in step 13. NR_ProSe Derive PC5 session key K relay-sess and confidentiality and integrity keys.

[0062] 16.5G ProSe remote UE may send a Direct Security Mode Complete message including its PC5 user plane security policy to the 5G ProSe UE to network relay, where the Direct Security Mode Complete message is subject to the PC5 signaling policy negotiated between the 5G ProSe remote UE and the 5G ProSe UE to network relay from K relay-sess The derived K relay-int or / and K relay-enc protection.

[0063] 17. After successfully verifying the Direct Security Mode Complete message, the 5G ProSe UE to Network Relay responds with a Direct Communication Accept message to the 5G ProSe Remote UE to complete the PC5 connection establishment process and stores the 5GPRUK ID in the security context associated with the PC5 link of the 5G ProSe Remote UE.

[0064] Further communication between the 5G ProSe remote UE and the network takes place securely via the 5G ProSe UE-to-network relay.

[0065] Case 1: Setting the key lifetime

[0066] Figure 3 And corresponding items 0 to 17 below show signaling and describe setting the lifetime of user keys including 5GPRUK. For Case 1 below, a process for triggering a new ProSe authentication is disclosed. In some example embodiments, the network may set the lifetime of the 5GPRUK key and send the lifetime of the 5GPRUK to the remote UE. In some example embodiments, the network may also set the lifetime of the 5GPRUK ID and send the lifetime of the 5GPRUK ID to the remote UE. If the lifetime of the 5GPRUK ID expires, the UE should not use the 5GPRUK ID to access the service, and the network will reject the service request. The key lifetime may also represent the lifetime of the 5GPRUK ID.

[0067] If the lifetime of the 5GPRUK expires, the UE shall not use the 5GPRUK ID to access services and the network shall reject the service request. The UE shall then use the 5GPRUK ID and a new prose authentication shall occur.

[0068] 0.5G ProSe remote UE and 5G ProSe UE to network relay can register on the network. 5G ProSe UE to network relay can be authenticated and authorized by the network to provide UE to network relay service. 5G ProSe remote UE can be authenticated and authorized by the network to receive UE to network relay service. During the authorization and information provision process, PC5 security policy is provided to 5G ProSe remote UE and 5G ProSe UE to network relay respectively.

[0069] The 1.5G ProSe Remote UE may initiate the discovery procedure using any of the Model A or Model B methods specified in clause 6.3.1.2 or clause 6.3.1.3 of TS 23.304, respectively.

[0070] 2. After discovering the 5G ProSe UE to Network Relay, the 5G ProSe Remote UE may send a direct communication request to the 5G ProSe UE to Network Relay to establish a secure PC5 unicast link. The 5G ProSe Remote UE may include its security capabilities and PC5 signaling security policy in the DCR message specified in TS 33.536. The message may also include the relay service code Nonce_1.

[0071] If the 5G ProSe remote UE does not have a valid 5G ProSe Remote User Key (5GPRUK), such as the lifetime of the 5GPRUK expires, the 5G ProSe remote UE may include a SUCI in the DCR to trigger a 5G ProSe remote UE-specific authentication and establish the 5GPRUK.

[0072] If the 5G ProSe remote UE already has a valid 5GPRUK, the 5G ProSe remote UE may include the 5GPRUK ID in the DCR to indicate that the 5G ProSe remote UE wants to use the 5GPRUK to obtain a relay connection.

[0073] 3. Upon receiving the DCR message, the 5G ProSe UE to Network Relay may send a Relay Key Request to the AMF of the 5G ProSe UE to Network Relay, which Relay Key Request includes the SUCI or 5GPRUK ID, RSC and Nonce_1 received in the DCR message. The 5G ProSe UE to Network Relay may also include a transaction identifier in the message, which identifies the 5G ProSe remote UE to obtain subsequent messages through the NAS message of the 5G ProSe UE to Network Relay.

[0074] The AMF of 4.5G ProSe UE-to-network relay can verify whether the 5G ProSe UE-to-network relay is authorized to provide UE-to-network relay service.

[0075] 5.5G ProSe UE to Network Relayed AMF may select an AUSF based on the SUCI or 5GPRUK ID and forward the parameters received in the Relay Key Request to the AUSF in the Nausf_UEAuthentication_ProseAuthenticate request message. The Nausf_UEAuthentication_ProseAuthenticate request message may contain the SUCI or 5GPRUK ID of the 5G ProSe Remote UE, the Relay Service Code, and Nonce_1. If the 5GPRUK ID is received from the 5G ProSe UE to Network Relayed AMF, the AUSF of the 5G ProSe Remote UE skips steps 6 to 9. If the SUCI of the 5G ProSe Remote UE is received from the 5G ProSe UE to Network Relayed AMF, the AUSF of the 5G ProSe Remote UE skips step 10.

[0076] 6. The AUSF may initiate 5G ProSe remote UE-specific authentication using the received ProSe specific parameters (ie, RSC, etc.). The serving network name handling is the same as defined in TS 33.501.

[0077] The AUSF of the 5G ProSe remote UE may retrieve the authentication vector and routing indicator of the 5G ProSe remote UE from the UDM via the Nudm_UEAuthentication_GetProseAv request message. Upon receiving the Nudm_UEAuthentication_GetProSeAv request, the UDM may call the SIDF to de-hide the SUCI to obtain the SUPI before the UDM may process the request. The UDM checks whether the UE is authorized to use the ProSe UE to network relay service based on the authorization information in the UE's subscription data. If the UE is authorized, the UDM may select an authentication method based on the SUPI.

[0078] 7a. If UDM selects EAP-AKA', the AUSF of the 5G ProSe remote UE may trigger authentication of the 5G ProSe remote UE based on EAP-AKA'. The AUSF of the 5G ProSe remote UE generates an EAP-Request / AKA'-Challenge message as defined in clause 6.1.3.1 of TS 33.501 and sends the EAP-Request / AKA'-Challenge message in a Nausf_UEAuthentication_ProSeAuthenticate response message to the AMF of the 5G ProSe UE to the network relay.

[0079] 7b.5G ProSe UE to Network Relay's AMF may forward the Relay Authentication Request (including EAP-Request / AKA'-Challenge) to the 5G ProSe UE to Network Relay via a NAS message, which includes the transaction identifier of the 5G ProSe Remote UE. The NAS message shall be protected using the NAS security context created for the 5G ProSe UE to Network Relay.

[0080] 7c. Based on the transaction identifier, the 5G ProSe UE to network relay can forward the EAP-Request / AKA'-Challenge to the 5G ProSe remote UE via the PC5 message.

[0081] The USIM in the 5G ProSe Remote UE verifies the freshness of the received value by checking if the AUTN can be accepted, as described in TS 33.102.

[0082] For EAP-AKA', USIM calculates the response RES. USIM can return RES, CK, IK to ME. ME can derive CK' and IK' according to Appendix A.3 in TS33.501.

[0083] 7d.5G ProSe remote UE can return EAP-Response / AKA'-Challenge to the 5G ProSe UE to network relay via PC5 message.

[0084] 7e.5G ProSe UE to Network Relay forwards the EAP-Response / AKA'-Challenge together with the transaction identifier of the 5G ProSe Remote UE to the AMF of the 5G ProSe UE to Network Relay in the NAS message Relay Authentication Response.

[0085] 7f.5G ProSe UE to network relay AMF forwards EAP-Response / AKA'-Challenge to the AUSF of 5G ProSe remote UE via Nausf_UEAuthentication_ProSeAuthenticate request.

[0086] The AUSF of the 5G ProSe Remote UE performs UE authentication by verifying the received information as described in TS 33.501.

[0087] For EAP-AKA', the 5G ProSe remote UE and the AUSF of the 5G ProSe remote UE may exchange EAP-Request / AKA'-Notification and EAP-Response / AKA'-Notification messages through the AMF from the 5G ProSe UE to the network relay and from the 5G ProSe UE to the network relay. After the exchange, the 5G ProSe remote UE and the AUSF of the 5G ProSe remote UE may derive K in the same manner as described in TS33.501. AUSF The same method is used to derive K AUSF_P .

[0088] 8. After successful authentication, the 5G ProSe Remote UE and the AUSF of the 5G ProSe Remote UE can generate the 5GPRUK ID and the 5GPRUK specified in Appendix A.2.

[0089] The 5GPRUK ID is in the NAI format specified in clause 2.2 of IETF RFC 7542, i.e., username@realm. The username portion includes the routing indicator in step 6 and the 5GPRUK ID*, while the realm portion includes the home network identifier. The 5GPRUK ID* is specified in Appendix A.3.

[0090] 5G ProSe remote UE and AUSF of 5G ProSe remote UE can also generate the lifetime of 5GPRUK.

[0091] 9a. The AUSF of the 5G ProSe remote UE may select the PAnF (Prose anchor function) based on the 5GPRUK ID and send the SUPI, RSC, 5GPRUK, 5GPRUK lifetime and 5GPRUK ID to the PAnF in the Npanf_ProseKey_Register request message.

[0092] 9b.PAnF may store the ProSe context information (i.e., SUPI, RSC, 5GPRUK, 5GPRUK ID) of the 5G ProSe remote UE and send an Npanf_ProseKey_Register response message to the AUSF.

[0093] 10a. The AUSF of the 5G ProSe remote UE may select a PAnF based on the 5GPRUK ID and send the received 5GPRUK ID and RSC in the Npanf_ProseKey_get request message.

[0094] 10b.PAnF retrieves the 5GPRUK based on the 5GPRUK ID and checks whether the 5G ProSe Remote UE is authorized to use the UE-to-Network Relay Service based on the received RSC. If the 5G ProSe Remote UE is authorized and the retrieved 5GPRUK is valid, PAnF sends an Npanf_ProseKey_get response message with the 5GPRUK to AUSF. PAnF may also send the lifetime of the 5GPRUK to AUSF.

[0095] 11. The AUSF of the 5G ProSe remote UE can generate Nonce_2 and use the 5GPRUK, Nonce_1 and Nonce_2 defined in Appendix A.4 to derive K NR_ProSe AUSF can also generate K NR_ProSe Life span.

[0096] 12. The AUSF of the 5G ProSe remote UE may send K to the 5G ProSe UE to network relay in the Nausf_UEAuthentication_ProseAuthenticate response message via the AMF of the 5G ProSe UE to network relay. NR_ProSe, Nonce_2. If step 7 is successfully executed, an EAP success message may be included. If a 5GPRUK ID is generated in step 8, the AUSF of the 5G ProSe remote UE may also include the 5GPRUK ID in the message. The AUSF may also send the lifetime, K of the 5GPRUK to the 5G ProSe UE to the network relay. NR_ProSe Life span.

[0097] 13. When the AMF relayed by the 5G ProSe UE to the network receives K from the AUSF of the 5G ProSe remote UE NR_ProSe When 5G ProSe UE to network relay according to K NR_ProSe Derive PC5 session key K relay-sess and the secret key K relay-enc (if applicable) and the integrity key K relay-int , as defined in clause 6.3.3.3.3 of this document. K NR_ProSe ID and K relay-sess The ID is the same as K in TS 33.536[6]. NRP ID and K NRP-sess The ID is established in the same way. If an EAP success message and a 5GPRUK ID are received from the AUSF, the EAP success message and the 5GPRUK ID are also sent from the 5G ProSe UE to the AMF of the network relay to the UE to the network relay.

[0098] 14.5G ProSe UE to Network Relay can send the received Nonce_2 and the PC5 signaling security policy of the 5G ProSe remote UE to the 5G ProSe remote UE in a Direct Security Mode Command message. The Direct Security Mode Command message uses K relay-int If an EAP success message is received from the AMF of the 5G ProSe UE to the network relay, the EAP success message may be included. The ProSe UE to the network relay may also send the lifetime, K NR_ProSe Life span.

[0099] 15. The 5G ProSe remote UE may generate K for remote access via the 5G ProSe UE to network relay in the same manner as defined in step 11. NR_ProSe The 5G ProSe remote UE may use the K key in the same manner as defined in step 13. NR_ProSe Derive PC5 session key K relay-sessAs well as confidentiality keys and integrity keys. If the lifetime of 5GPRUK, K NR_ProSe The remote UE shall store the lifetime of 5GPRUK, K NR_ProSe Life span.

[0100] 16. The 5G ProSe remote UE may send a direct security mode complete message including its PC5 user plane security policy to the 5G ProSe UE to network relay, where the direct security mode complete message is subject to the PC5 signaling policy negotiated between the 5G ProSe remote UE and the 5G ProSe UE to network relay from K relay-sess The derived K relay-int or / and K relay-enc protection.

[0101] 17. After successfully verifying the direct security mode complete message, the 5G ProSe UE to network relay responds with direct communication accept to the 5G ProSe remote UE to complete the PC5 connection establishment procedure and stores the 5GPRUK ID in the security context associated with the PC5 link of the 5G ProSe remote UE.

[0102] Further communication between the 5G ProSe remote UE and the network takes place securely via the 5G ProSe UE-to-network relay.

[0103] Case 2: Refresh the 5GPRUK using the Subscription Permanent Identifier (SUPI) to obtain a new authentication vector from the UDM (Authentication Vector, AV).

[0104] The process for triggering a new ProSe authentication may be as follows. The AUSF may obtain the SUPI from the PAnF and use the SUPI to obtain the AV from the UDM, thereby triggering the ProSe authentication between the remote UE and the network. The AUSF may request the SUPI from the PAnF. The PAnF may send the SUPI when the AUSF sends a key request to the PAnF using the 5GPRUK ID. After the AUSF obtains the SUPI, the AUSF triggers the prose authentication between the remote UE and the network.

[0105] Case 2.1: AUSF decides to refresh 5GPRUK

[0106] Figure 4 Items 0 to 18 below show and describe examples of signaling for refreshing user keys such as 5GPRUK.

[0107] 0.5G ProSe remote UE and 5G ProSe UE to network relay can register on the network. 5G ProSe UE to network relay can be authenticated and authorized by the network to provide UE to network relay service. 5G ProSe remote UE can be authenticated and authorized by the network to receive UE to network relay service. During the authorization and information provision process, PC5 security policy is provided to 5G ProSe remote UE and 5G ProSe UE to network relay respectively.

[0108] The 1.5G ProSe Remote UE may initiate the discovery procedure using any of the Model A or Model B methods specified in clause 6.3.1.2 or clause 6.3.1.3 of TS 23.304, respectively.

[0109] 2. After discovering the 5G ProSe UE to Network Relay, the 5G ProSe Remote UE may send a direct communication request to the 5G ProSe UE to Network Relay to establish a secure PC5 unicast link. The 5G ProSe Remote UE may include its security capabilities and PC5 signaling security policy in the DCR message specified in TS 33.536. The message may also include the relay service code Nonce_1.

[0110] If the 5G ProSe remote UE does not have a valid 5G ProSe Remote User Key (5GPRUK), the 5G ProSe remote UE may include SUCI in the DCR to trigger 5G ProSe remote UE-specific authentication and establish the 5GPRUK.

[0111] If the 5G ProSe remote UE already has a valid 5GPRUK, the 5G ProSe remote UE may include the 5GPRUK ID in the DCR to indicate that the 5G ProSe remote UE wants to use the 5GPRUK to obtain a relay connection.

[0112] 3. Upon receiving the DCR message, the 5G ProSe UE to Network Relay may send a Relay Key Request to the AMF of the 5G ProSe UE to Network Relay, which Relay Key Request includes the SUCI or 5GPRUK ID, RSC and Nonce_1 received in the DCR message. The 5G ProSe UE to Network Relay may also include a transaction identifier in the message, which identifies the 5G ProSe remote UE to obtain subsequent messages through the NAS message of the 5G ProSe UE to Network Relay.

[0113] The AMF of 4.5G ProSe UE-to-network relay can verify whether the 5G ProSe UE-to-network relay is authorized to provide UE-to-network relay service.

[0114] 5.5G ProSe UE to Network Relayed AMF may select an AUSF based on the SUCI or 5GPRUK ID and forward the parameters received in the Relay Key Request to the AUSF in a Nausf_UEAuthentication_ProseAuthenticate request message. The Nausf_UEAuthentication_ProseAuthenticate request message may contain the SUCI or 5GPRUK ID of the 5G ProSe Remote UE, the Relay Service Code, Nonce_1 and the Serving Network Name. If a 5GPRUK ID is received from the 5G ProSe UE to Network Relayed AMF, the AUSF of the 5G ProSe Remote UE skips steps 6 to 9. If a SUCI of the 5G ProSe Remote UE is received from the 5G ProSe UE to Network Relayed AMF, the AUSF of the 5G ProSe Remote UE skips step 10.

[0115] 6. The AUSF may initiate 5G ProSe remote UE-specific authentication using the received ProSe specific parameters (ie, RSC, etc.). The serving network name handling is the same as defined in TS 33.501.

[0116] The AUSF of the 5G ProSe remote UE may retrieve the authentication vector and routing indicator of the 5G ProSe remote UE from the UDM via the Nudm_UEAuthentication_GetProseAv request message. Upon receiving the Nudm_UEAuthentication_GetProSeAv request, the UDM may call the SIDF to de-hide the SUCI to obtain the SUPI before the UDM may process the request. The UDM checks whether the UE is authorized to use the ProSe UE to network relay service based on the authorization information in the UE's subscription data. If the UE is authorized, the UDM may select an authentication method based on the SUPI.

[0117] 7a. If UDM selects EAP-AKA', the AUSF of the 5G ProSe remote UE may trigger authentication of the 5G ProSe remote UE based on EAP-AKA'. The AUSF of the 5G ProSe remote UE generates an EAP-Request / AKA'-Challenge message as defined in clause 6.1.3.1 of TS 33.501 and sends the EAP-Request / AKA'-Challenge message in a Nausf_UEAuthentication_ProSeAuthenticate response message to the AMF of the 5G ProSe UE to the network relay.

[0118] 7b.5G ProSe UE to Network Relay's AMF may forward the Relay Authentication Request (including EAP-Request / AKA'-Challenge) to the 5G ProSe UE to Network Relay via a NAS message, which includes the transaction identifier of the 5G ProSe Remote UE. The NAS message shall be protected using the NAS security context created for the 5G ProSe UE to Network Relay.

[0119] 7c. Based on the transaction identifier, the 5G ProSe UE to network relay can forward the EAP-Request / AKA'-Challenge to the 5G ProSe remote UE via the PC5 message.

[0120] The USIM in the 5G ProSe Remote UE verifies the freshness of the received value by checking if the AUTN can be accepted, as described in TS 33.102.

[0121] For EAP-AKA', USIM calculates the response RES. USIM can return RES, CK, IK to ME. ME can derive CK' and IK' according to Appendix A.3 in TS33.501.

[0122] 7d.5G ProSe remote UE can return EAP-Response / AKA'-Challenge to the 5G ProSe UE to network relay via PC5 message.

[0123] 7e.5G ProSe UE to Network Relay forwards the EAP-Response / AKA'-Challenge together with the transaction identifier of the 5G ProSe Remote UE to the AMF of the 5G ProSe UE to Network Relay in the NAS message Relay Authentication Response.

[0124] 7f.5G ProSe UE to network relay AMF forwards EAP-Response / AKA'-Challenge to the AUSF of 5G ProSe remote UE via Nausf_UEAuthentication_ProSeAuthenticate request.

[0125] The AUSF of the 5G ProSe Remote UE performs UE authentication by verifying the received information as described in TS 33.501.

[0126] For EAP-AKA', the 5G ProSe remote UE and the AUSF of the 5G ProSe remote UE may exchange EAP-Request / AKA'-Notification and EAP-Response / AKA'-Notification messages through the AMF from the 5G ProSe UE to the network relay and from the 5G ProSe UE to the network relay. After the exchange, the 5G ProSe remote UE and the AUSF of the 5G ProSe remote UE may derive K in the same manner as described in TS33.501. AUSF The same method is used to derive K AUSF_P .

[0127] 8. After successful authentication, the 5G ProSe Remote UE and the AUSF of the 5G ProSe Remote UE can generate the 5GPRUK ID and the 5GPRUK specified in Appendix A.2.

[0128] The 5GPRUK ID is in the NAI format specified in clause 2.2 of IETF RFC 7542, i.e., username@realm. The username portion includes the routing indicator in step 6 and the 5GPRUK ID*, while the realm portion includes the home network identifier. The 5GPRUK ID* is specified in Appendix A.3.

[0129] 9a. The AUSF of the 5G ProSe remote UE may select the PAnF (Prose Anchor Function) based on the 5GPRUK ID and send SUPI, RSC, 5GPRUK and 5GPRUK ID to the PAnF in the Npanf_ProseKey_Register request message.

[0130] 9b.PAnF may store the ProSe context information (i.e., SUPI, RSC, 5GPRUK, 5GPRUK ID) of the 5G ProSe remote UE and send an Npanf_ProseKey_Register response message to the AUSF.

[0131] 10a. The AUSF of the 5G ProSe remote UE may select a PAnF based on the 5GPRUK ID and send the received 5GPRUK ID and RSC in the Npanf_ProseKey_get request message.

[0132] 10b.PAnF retrieves the 5GPRUK based on the 5GPRUK ID and checks whether the 5G ProSe Remote UE is authorized to use the UE-to-Network Relay Service based on the received RSC. If the 5G ProSe Remote UE is authorized and the retrieved 5GPRUK is valid, PAnF sends an Npanf_ProseKey_get response message with the 5GPRUK to the AUSF.

[0133] The PAnF may also include the SUPI in the Npanf_ProseKey_get response message. The message may also include an indication to the AUSF to refresh the 5GPRUK.

[0134] 11a. The AUSF decides to refresh the 5GPRUK based on its local policy (such as the lifetime of the 5GPRUK). This decision may occur after step 5 or after step 10b. If the AUSF has received the SUPI in step 10b, steps 11b to 11c are skipped.

[0135] 11b. AUSF sends a Npanf_ProseKey_Refresh request to PAnF. This message shall include the 5GPRUK ID. This message has an explicit indication (such as a parameter in the message) or an implicit indication (such as the message name itself) to the PAnF that the 5GPRUK needs to be refreshed.

[0136] 11c.PAnF retrieves the Prose context based on the 5GPRUK ID and sends the SUPI to AUSF in the Npanf_ProseKey_Refresh response.

[0137] 11d.AUSF obtains AV from UDM using SUPI. AUSF may initiate 5G ProSe remote UE-specific authentication using the received ProSe specific parameters (i.e., RSC, etc.). Serving Network Name handling is the same as defined in TS 33.501.

[0138] The AUSF of the 5G ProSe remote UE may retrieve the authentication vector and routing indicator of the 5G ProSe remote UE from the UDM via a Nudm_UEAuthentication_GetProseAv request message.

[0139] 11e. The AUSF and remote UE perform authentication using steps 7a to 9b.

[0140] 12.5G ProSe remote UE’s AUSF can generate Nonce_2 and use 5GPRUK, Nonce_1 and Nonce_2 defined in Appendix A.4 to derive K NR_ProSe Key.

[0141] 13. The AUSF of the 5G ProSe remote UE may send K to the 5G ProSe UE to network relay in the Nausf_UEAuthentication_ProseAuthenticate response message via the AMF of the 5G ProSe UE to network relay. NR_ProSe , Nonce_2. If step 7 is successfully performed, an EAP success message may be included. If a 5GPRUK ID is generated in step 8, the AUSF of the 5G ProSe remote UE may also include the 5GPRUK ID in the message.

[0142] 14. When the AMF relayed by the 5G ProSe UE to the network receives K from the AUSF of the 5G ProSe remote UE NR_ProSe When 5G ProSe UE to network relay according to K NR_ProSe Derive PC5 session key K relay-sess and the secret key K relay-enc (if applicable) and the integrity key K relay-int , as defined in clause 6.3.3.3.3 of this document. K NR_ProSe ID and K relay-sess The ID is the same as K in TS 33.536. NRP ID and K NRP-sess The ID is established in the same way. If an EAP success message and a 5GPRUK ID are received from the AUSF, the EAP success message and the 5GPRUK ID are also sent from the 5G ProSe UE to the AMF of the network relay to the UE to the network relay.

[0143] 15.5G ProSe UE to Network Relay can send the received Nonce_2 and the PC5 signaling security policy of the 5G ProSe remote UE to the 5G ProSe remote UE in a Direct Security Mode Command message. The Direct Security Mode Command message uses K relay-int Integrity protection is performed. If an EAP success message is received from the 5G ProSe UE to the AMF relayed by the network, the EAP success message may be included.

[0144] 16.5G ProSe remote UE can generate K for remote access via 5G ProSe UE to network relay NR_ProSe Key. The 5GProSe remote UE can use K NR_ProSe Derive PC5 session key K relay-sess and confidentiality and integrity keys.

[0145] 17. The 5G ProSe remote UE may send a direct security mode complete message including its PC5 user plane security policy to the 5G ProSe UE to network relay, where the direct security mode complete message is subject to the PC5 signaling policy negotiated between the 5G ProSe remote UE and the 5G ProSe UE to network relay from K relay-sess The derived K relay-int or / and K relay-enc protection.

[0146] 18. After successfully verifying the direct security mode complete message, the 5G ProSe UE to network relay responds with direct communication accept to the 5G ProSe remote UE to complete the PC5 connection establishment procedure and stores the 5GPRUK ID in the security context associated with the PC5 link of the 5G ProSe remote UE.

[0147] Further communication between the 5G ProSe remote UE and the network takes place securely via the 5G ProSe UE-to-network relay.

[0148] Case 2.2: PAnF decides to refresh 5GPRUK

[0149] Figure 5 Items 0 to 18 describe refreshing the 5GPRUK based on the determination of PAnF. Items 0 to 9b are the same as Items 0 to 9b in Case 2.1.

[0150] 10a. The AUSF of the 5G ProSe remote UE may select a PAnF based on the 5GPRUK ID and send the received 5GPRUK ID and RSC in the Npanf_ProseKey_get request message.

[0151] 10b. The PAnF decides whether to refresh the 5GPRUK based on its local policy (such as the lifetime of the 5GPRUK).

[0152] 10c.PAnF retrieves the 5GPRUK based on the 5GPRUK ID and checks whether the 5G ProSe Remote UE is authorized to use the UE-to-Network Relay Service based on the received RSC. If the 5G ProSe Remote UE is authorized and the retrieved 5GPRUK is valid, PAnF sends an Npanf_ProseKey_get response message with the 5GPRUK to AUSF. Then, step 11 is skipped.

[0153] If the PAnF decides to refresh the 5GPRUK, the PAnF sends an Npanf_ProseKey_get response message with the SUPI to the AUSF.

[0154] 11a.AUSF obtains AV from UDM using SUPI. AUSF may initiate 5G ProSe remote UE-specific authentication using the received ProSe specific parameters (i.e., RSC, etc.). Serving Network Name handling is the same as defined in TS 33.501.

[0155] The AUSF of the 5G ProSe remote UE may retrieve the authentication vector and routing indicator of the 5G ProSe remote UE from the UDM via a Nudm_UEAuthentication_GetProseAv request message.

[0156] 11b. The AUSF and remote UE perform authentication using steps 7a to 9b.

[0157] 12.5G ProSe remote UE’s AUSF can generate Nonce_2 and use 5GPRUK, Nonce_1 and Nonce_2 defined in Appendix A.4 to derive K NR_ProSe Key.

[0158] 13. The AUSF of the 5G ProSe remote UE may send K to the 5G ProSe UE to network relay in the Nausf_UEAuthentication_ProseAuthenticate response message via the AMF of the 5G ProSe UE to network relay. NR_ProSe , Nonce_2. If step 7 is successfully performed, an EAP success message may be included. If a 5GPRUK ID is generated in step 8, the AUSF of the 5G ProSe remote UE may also include the 5GPRUK ID in the message.

[0159] 14. When the AMF relayed by the 5G ProSe UE to the network receives K from the AUSF of the 5G ProSe remote UE NR_ProSe When 5G ProSe UE to network relay according to K NR_ProSeDerive PC5 session key K relay-sess and the secret key K relay-enc (if applicable) and the integrity key K relay-int , as defined in clause 6.3.3.3.3 of this document. K NR_ProSe ID and K relay-sess The ID is the same as K in TS 33.536. NRP ID and K NRP-sess The ID is established in the same way. If an EAP success message and a 5GPRUK ID are received from the AUSF, the EAP success message and the 5GPRUK ID are also sent from the 5G ProSe UE to the AMF of the network relay to the UE to the network relay.

[0160] 15.5G ProSe UE to Network Relay can send the received Nonce_2 and the PC5 signaling security policy of the 5G ProSe remote UE to the 5G ProSe remote UE in a Direct Security Mode Command message. The Direct Security Mode Command message uses K relay-int Integrity protection is performed. If an EAP success message is received from the 5G ProSe UE to the AMF relayed by the network, the EAP success message may be included.

[0161] 16.5G ProSe remote UE can generate K for remote access via 5G ProSe UE to network relay NR_ProSe Key. The 5GProSe remote UE can use K NR_ProSe Derive PC5 session key K relay-sess and confidentiality and integrity keys.

[0162] 17. The 5G ProSe remote UE may send a direct security mode complete message including its PC5 user plane security policy to the 5G ProSe UE to network relay, where the direct security mode complete message is subject to the PC5 signaling policy negotiated between the 5G ProSe remote UE and the 5G ProSe UE to network relay from K relay-sess The derived K relay-int or / and K relay-enc protection.

[0163] 18. After successfully verifying the direct security mode complete message, the 5G ProSe UE to network relay responds with direct communication accept to the 5G ProSe remote UE to complete the PC5 connection establishment procedure and stores the 5GPRUK ID in the security context associated with the PC5 link of the 5G ProSe remote UE.

[0164] Further communication between the 5G ProSe remote UE and the network takes place securely via the 5G ProSe UE-to-network relay.

[0165] Case 3: Generate level 5GPRUK.

[0166] In some embodiments, a method of generating a new key (also referred to as a horizontal key) based on an old key (e.g., 5GPRUK) may be as follows. A horizontal key is a key whose value is determined based on a previous value of the key. In some example embodiments, a 5GPRUK may be generated based on one or more parameters, including: 5GPRUK, a horizontal indication, Nonce_1, Nonce_2, and / or a counter. The AUSF may send a horizontal refresh indication to the remote UE.

[0167] Case 3.1: AUSF generates level 5GPRUK'

[0168] Figure 6 Items 0 to 17 below illustrate and describe the signaling used to generate a new 5GPRUK based on a previous 5GPRUK.

[0169] 0.5G ProSe remote UE and 5G ProSe UE to network relay can register on the network. 5G ProSe UE to network relay can be authenticated and authorized by the network to provide UE to network relay service. 5G ProSe remote UE can be authenticated and authorized by the network to receive UE to network relay service. During the authorization and information provision process, PC5 security policy is provided to 5G ProSe remote UE and 5G ProSe UE to network relay respectively.

[0170] The 1.5G ProSe Remote UE may initiate the discovery procedure using any of the Model A or Model B methods specified in clause 6.3.1.2 or clause 6.3.1.3 of TS 23.304, respectively.

[0171] 2. After discovering the 5G ProSe UE to Network Relay, the 5G ProSe Remote UE may send a direct communication request to the 5G ProSe UE to Network Relay to establish a secure PC5 unicast link. The 5G ProSe Remote UE may include its security capabilities and PC5 signaling security policy in the DCR message specified in TS 33.536. The message may also include the relay service code Nonce_1.

[0172] If the 5G ProSe remote UE does not have a valid 5G ProSe Remote User Key (5GPRUK), the 5G ProSe remote UE may include SUCI in the DCR to trigger 5G ProSe remote UE-specific authentication and establish the 5GPRUK.

[0173] If the 5G ProSe remote UE already has a valid 5GPRUK, the 5G ProSe remote UE may include the 5GPRUK ID in the DCR to indicate that the 5G ProSe remote UE wants to use the 5GPRUK to obtain a relay connection.

[0174] 3. Upon receiving the DCR message, the 5G ProSe UE to Network Relay may send a relay key request to the AMF of the 5G ProSe UE to Network Relay, the relay key request including the SUCI or 5GPRUK ID, RSC and Nonce_1 received in the DCR message. The 5G ProSe UE to Network Relay may also include a transaction identifier in the message, which identifies the 5G ProSe remote UE to obtain subsequent messages through the NAS message of the 5G ProSe UE to Network Relay.

[0175] The AMF of 4.5G ProSe UE-to-network relay can verify whether the 5G ProSe UE-to-network relay is authorized to provide UE-to-network relay service.

[0176] 5.5G ProSe UE to Network Relayed AMF may select an AUSF based on the SUCI or 5GPRUK ID and forward the parameters received in the Relay Key Request to the AUSF in the Nausf_UEAuthentication_ProseAuthenticate request message. The Nausf_UEAuthentication_ProseAuthenticate request message may contain the SUCI or 5GPRUK ID of the 5G ProSe Remote UE, the Relay Service Code, and Nonce_1. If the 5GPRUK ID is received from the 5G ProSe UE to Network Relayed AMF, the AUSF of the 5G ProSe Remote UE skips steps 6 to 9. If the SUCI of the 5G ProSe Remote UE is received from the 5G ProSe UE to Network Relayed AMF, the AUSF of the 5G ProSe Remote UE skips step 10.

[0177] 6. The AUSF may initiate 5G ProSe remote UE-specific authentication using the received ProSe specific parameters (ie, RSC, etc.). The serving network name handling is the same as defined in TS 33.501.

[0178] The AUSF of the 5G ProSe remote UE may retrieve the authentication vector and routing indicator of the 5G ProSe remote UE from the UDM via the Nudm_UEAuthentication_GetProseAv request message. Upon receiving the Nudm_UEAuthentication_GetProSeAv request, the UDM may call the SIDF to de-hide the SUCI to obtain the SUPI before the UDM may process the request. The UDM checks whether the UE is authorized to use the ProSe UE to network relay service based on the authorization information in the UE's subscription data. If the UE is authorized, the UDM may select an authentication method based on the SUPI.

[0179] 7a. If UDM selects EAP-AKA', the AUSF of the 5G ProSe remote UE may trigger authentication of the 5G ProSe remote UE based on EAP-AKA'. The AUSF of the 5G ProSe remote UE generates an EAP-Request / AKA'-Challenge message as defined in clause 6.1.3.1 of TS 33.501 and sends the EAP-Request / AKA'-Challenge message in a Nausf_UEAuthentication_ProSeAuthenticate response message to the AMF of the 5G ProSe UE to the network relay.

[0180] 7b.5G ProSe UE to Network Relay's AMF may forward the Relay Authentication Request (including EAP-Request / AKA'-Challenge) to the 5G ProSe UE to Network Relay via a NAS message, which includes the transaction identifier of the 5G ProSe Remote UE. The NAS message shall be protected using the NAS security context created for the 5G ProSe UE to Network Relay.

[0181] 7c. Based on the transaction identifier, the 5G ProSe UE to network relay can forward the EAP-Request / AKA'-Challenge to the 5G ProSe remote UE via the PC5 message.

[0182] The USIM in the 5G ProSe Remote UE verifies the freshness of the received value by checking whether the AUTN can be accepted, as described in TS 33.102.

[0183] For EAP-AKA', USIM calculates the response RES. USIM can return RES, CK (Cipher Key), and IK (Integrity Key) to ME. ME can derive CK' and IK' according to Appendix A.3 in TS 33.501.

[0184] 7d.5G ProSe remote UE can return EAP-Response / AKA'-Challenge to the 5G ProSe UE to network relay via PC5 message.

[0185] 7e.5G ProSe UE to Network Relay forwards the EAP-Response / AKA'-Challenge together with the transaction identifier of the 5G ProSe Remote UE to the AMF of the 5G ProSe UE to Network Relay in the NAS message Relay Authentication Response.

[0186] 7f.5G ProSe UE to network relay AMF forwards EAP-Response / AKA'-Challenge to the AUSF of 5G ProSe remote UE via Nausf_UEAuthentication_ProSeAuthenticate request.

[0187] The AUSF of the 5G ProSe Remote UE performs UE authentication by verifying the received information as described in TS 33.501.

[0188] For EAP-AKA', the 5G ProSe remote UE and the AUSF of the 5G ProSe remote UE may exchange EAP-Request / AKA'-Notification and EAP-Response / AKA'-Notification messages through the AMF from the 5G ProSe UE to the network relay and the 5G ProSe UE to the network relay. After the exchange, the 5G ProSe remote UE and the AUSF of the 5G ProSe remote UE may derive K in the same manner as described in TS33.501. AUSF The same method is used to derive K AUSF_P .

[0189] 8. After successful authentication, the 5G ProSe Remote UE and the AUSF of the 5G ProSe Remote UE can generate the 5GPRUK ID and the 5GPRUK specified in Appendix A.2.

[0190] The 5GPRUK ID is in the NAI format specified in clause 2.2 of IETF RFC 7542, i.e., username@realm. The username portion includes the routing indicator in step 6 and the 5GPRUK ID*, while the realm portion includes the home network identifier. The 5GPRUK ID* is specified in Appendix A.3.

[0191] 9a. The AUSF of the 5G ProSe remote UE may select the PAnF (Prose Anchor Function) based on the 5GPRUK ID and send SUPI, RSC, 5GPRUK and 5GPRUK ID to the PAnF in the Npanf_ProseKey_Register request message.

[0192] 9b.PAnF may store the ProSe context information (info) (i.e., SUPI, RSC, 5GPRUK, 5GPRUK ID) of the 5G ProSe remote UE and send an Npanf_ProseKey_Register response message to the AUSF.

[0193] 10a. The AUSF of the 5G ProSe remote UE may select a PAnF based on the 5GPRUK ID and send the received 5GPRUK ID and RSC in the Npanf_ProseKey_get request message.

[0194] 10b.PAnF retrieves the 5GPRUK based on the 5GPRUK ID and checks whether the 5G ProSe Remote UE is authorized to use the UE-to-Network Relay Service based on the received RSC. If the 5G ProSe Remote UE is authorized and the retrieved 5GPRUK is valid, PAnF sends an Npanf_ProseKey_get response message with the 5GPRUK to the AUSF.

[0195] The PAnF may decide and instruct the AUSF to refresh the 5GPRUK, such as using an indication in this message. The PAnF may also provide the lifetime of the 5GPRUK.

[0196] 10c. If the AUSF decides to refresh the 5GPRUK based on its local policy (such as the lifetime of the 5GPRUK or an indication received from the PAnF), the AUSF generates a horizontal 5GPRUK'. The 5GPRUK' is generated based on parameters such as (at least one of) the following: 5GPRUK, horizontal indication, Nonce_1, Nonce_2. NR_ProSe Nonce_2 can be different or the same.

[0197] AUSF can also generate Prose-MAC-I 5GPRUK This parameter is generated based on 5GPRUK, counter.

[0198] If AUSF decides not to refresh 5GPRUK, 10c to 10e are skipped.

[0199] 10d to 10e. AUSF sends 5GPRUK' to PAnF. This step is generally the same as step 9a and step 9b except that 5GPRUK' is used instead of 5GPRUK.

[0200] 11. The AUSF of the 5G ProSe remote UE can generate Nonce_2 and use the 5GPRUK, Nonce_1 and Nonce_2 defined in Appendix A.4 to derive K NR_ProSe Key.

[0201] 12. The AUSF of the 5G ProSe remote UE may send K to the 5G ProSe UE to network relay in the Nausf_UEAuthentication_ProseAuthenticate response message via the AMF of the 5G ProSe UE to network relay. NR_ProSe , Nonce_2. If step 7 is successfully performed, an EAP success message may be included. If a 5GPRUK ID is generated in step 8, the AUSF of the 5G ProSe remote UE may also include the 5GPRUK ID in the message. The message may also include a 5GPRUK refresh indication container for indicating and generating 5GPRUK'. The container may include a level indication counter and Prose-MAC-I 5GPRUK .

[0202] 13. When the AMF relayed by the 5G ProSe UE to the network receives K from the AUSF of the 5G ProSe remote UE NR_ProSe When 5G ProSe UE to network relay according to K NR_ProSe Derive PC5 session key K relay-sess and the secret key K relay-enc (if applicable) and the integrity key K relay-int , as defined in clause 6.3.3.3.3 of this document. K NR_ProSe ID and K relay-sess The ID is the same as K in TS 33.536. NRP ID and K NRP-sessThe ID is established in the same way. If an EAP success message and a 5GPRUK ID are received from the AUSF, the EAP success message and the 5GPRUK ID are also sent from the 5G ProSe UE to the AMF of the network relay to the UE to the network relay. The message may also include a 5GPRUK refresh indication container for indicating and generating 5GPRUK'. The container may include a level indication counter and Prose-MAC-I 5GPRUK .

[0203] 14.5G ProSe UE to Network Relay can send the received Nonce_2 and the PC5 signaling security policy of the 5G ProSe remote UE to the 5G ProSe remote UE in a direct security mode command message. The direct security mode command message uses K relay-int If an EAP success message is received from the 5G ProSe UE to the AMF relayed by the network, the EAP success message may be included. The message may also include a 5GPRUK refresh indication container for indicating and generating 5GPRUK'. The container may include a level indication and Prose-MAC-I 5GPRUK .

[0204] 15. The 5G ProSe remote UE may generate K for remote access via the 5G ProSe UE to network relay in the same manner as defined in step 11. NR_ProSe The 5G ProSe remote UE may use the K key in the same manner as defined in step 13. NR_ProSe Derive PC5 session key K relay-sess If a 5GPRUK refresh indication container is received, the remote UE shall generate a Prose-MAC-I 5GPRUK And verify the received Prose-MAC-I 5GPRUK If they are the same, the remote UE generates 5GPRUK'.

[0205] 16.5G ProSe remote UE may send a Direct Security Mode Complete message including its PC5 user plane security policy to the 5G ProSe UE to network relay, where the Direct Security Mode Complete message is subject to the PC5 signaling policy negotiated between the 5G ProSe remote UE and the 5G ProSe UE to network relay from K relay-sess The derived K relay-int or / and K relay-enc protection.

[0206] 17. After successfully verifying the Direct Security Mode Complete message, the 5G ProSe UE to Network Relay responds with a Direct Communication Accept message to the 5G ProSe Remote UE to complete the PC5 connection establishment process and stores the 5GPRUK ID in the security context associated with the PC5 link of the 5G ProSe Remote UE.

[0207] Further communication between the 5G ProSe remote UE and the network takes place securely via the 5G ProSe UE-to-network relay.

[0208] Case 3.2: PAnF generation level 5GPRUK

[0209] Case 3.2.1: AUSF triggers PAnF to generate level 5GPRUK

[0210] Figure 7 The signaling for generating a new 5GPRUK based on a previous 5GPRUK is shown and described in Items 0 to 17 below. Items 0 to 9b are the same as Items 0 to 9b in Case 3.1.

[0211] 10a. The AUSF of the 5G ProSe remote UE may select a PAnF based on the 5GPRUK ID and send the received 5GPRUK ID and RSC in the Npanf_ProseKey_get request message.

[0212] 10b.PAnF retrieves the 5GPRUK based on the 5GPRUK ID and checks whether the 5G ProSe Remote UE is authorized to use the UE-to-Network Relay Service based on the received RSC. If the 5G ProSe Remote UE is authorized and the retrieved 5GPRUK is valid, PAnF sends an Npanf_ProseKey_get response message with the 5GPRUK to the AUSF.

[0213] 10c.AUSF decides whether to refresh 5GPRUK. This step may occur after step 5 or step 10b. If AUSF decides not to refresh 5GPRUK, steps 10c to 10e are skipped.

[0214] 10d.AUSF sends Npanf_ProseKey_Refresh request message to PAnF. The message includes 5GPRUK ID. The message has explicit indication (such as parameters in the message) or implicit indication (such as the message name itself).

[0215] 10e.PAnF generates a horizontal 5GPRUK' and sends it to AUSF in the Npanf_ProseKey_Refresh response message. 5GPRUK' is generated based on (at least one of) the following parameters: 5GPRUK, horizontal indication, Nonce_1, Nonce_2. NR_ProSe Nonce_2 can be different or the same.

[0216] AUSF or PAnF can also generate Prose-MAC-I 5GPRUK This parameter is generated based on 5GPRUK and counter. If Prose-MAC-I 5GPRUK is generated by PAnF, then in step 10e, a Prose-MAC-I is sent from PAnF to AUSF. 5GPRUK .

[0217] 11. The AUSF of the 5G ProSe remote UE can generate Nonce_2 and use the 5GPRUK, Nonce_1 and Nonce_2 defined in Appendix A.4 to derive K NR_ProSe Key.

[0218] 12. The AUSF of the 5G ProSe remote UE may send K to the 5G ProSe UE to network relay in the Nausf_UEAuthentication_ProseAuthenticate response message via the AMF of the 5G ProSe UE to network relay. NR_ProSe , Nonce_2. If step 7 is successfully performed, an EAP success message may be included. If a 5GPRUK ID is generated in step 8, the AUSF of the 5G ProSe remote UE may also include the 5GPRUK ID in the message. The message may also include a 5GPRUK refresh indication container for indicating and generating 5GPRUK'. The container may include a level indication.

[0219] 13. When the AMF relayed by the 5G ProSe UE to the network receives K from the AUSF of the 5G ProSe remote UE NR_ProSe When 5G ProSe UE to network relay according to K NR_ProSe Derive PC5 session key K relay-sess and the secret key K relay-enc (if applicable) and the integrity key K relay-int , as defined in clause 6.3.3.3.3 of this document. K NR_ProSe ID and K relay-sess The ID is the same as K in TS 33.536. NRPID and K NRP-sess The ID is established in the same way. If an EAP success message and a 5GPRUK ID and a 5GPRUK refresh indication container are received from the AUSF, the EAP success message and the 5GPRUK ID and the 5GPRUK refresh indication container are also sent from the 5G ProSe UE to the AMF of the network relay to the UE to the network relay.

[0220] 14.5G ProSe UE to Network Relay can send the received Nonce_2 and the PC5 signaling security policy of the 5G ProSe remote UE to the 5G ProSe remote UE in a direct security mode command message. The direct security mode command message uses K relay-int If an EAP success message and a 5G PRUK refresh indication container are received from the 5G ProSe UE to the AMF relayed by the network, the EAP success message and the 5G PRUK refresh indication container may be included.

[0221] 15. The 5G ProSe remote UE may generate K for remote access via the 5G ProSe UE to network relay in the same manner as defined in step 11. NR_ProSe The 5G ProSe remote UE may use the K key in the same manner as defined in step 13. NR_ProSe Derive PC5 session key K relay-sess If a 5GPRUK refresh indication container is received, the remote UE shall generate a Prose-MAC-I 5GPRUK And verify the received Prose-MAC-I 5GPRUK If they are the same, the remote UE generates 5GPRUK'.

[0222] 16.5G ProSe remote UE may send a Direct Security Mode Complete message including its PC5 user plane security policy to the 5G ProSe UE to network relay, where the Direct Security Mode Complete message is subject to the PC5 signaling policy negotiated between the 5G ProSe remote UE and the 5G ProSe UE to network relay from K relay-sess The derived K relay-int or / and K relay-enc protection.

[0223] 17. After successfully verifying the Direct Security Mode Complete message, the 5G ProSe UE to Network Relay responds with a Direct Communication Accept message to the 5G ProSe Remote UE to complete the PC5 connection establishment process and stores the 5GPRUK ID in the security context associated with the PC5 link of the 5G ProSe Remote UE.

[0224] Further communication between the 5G ProSe remote UE and the network takes place securely via the 5G ProSe UE-to-network relay.

[0225] Case 3.2.2: PAnF decides to generate level 5GPRUK

[0226] Figure 8 And the following clauses 0 to 17 show the signaling for generating a new 5GPRUK based on the previous 5GPRUK.

[0227] Step 0 to Step 9b are the same as Step 0 to Step 9b in Case 3.1.

[0228] 10a. The AUSF of the 5G ProSe remote UE may select a PAnF based on the 5GPRUK ID and send the received 5GPRUK ID and RSC in the Npanf_ProseKey_get request message.

[0229] 10b.PAnF decides to refresh 5GPRUK based on its local policy (such as lifetime of 5GPRUK).PAnF generates horizontal 5GPRUK' and sends 5GPRUK' to AUSF in Npanf_ProseKey_Refresh response message. 5GPRUK' is generated based on the following parameters (at least one of them): 5GPRUK, horizontal indication, Nonce_1, Nonce_2, counter. NR_ProSe Nonce_2 can be different or the same.

[0230] AUSF or PAnF can also generate Prose-MAC-I 5GPRUK This parameter is generated based on 5GPRUK and counter. If Prose-MAC-I 5GPRUK is generated by PAnF, then in step 10c a Prose-MAC-I is sent from PAnF to AUSF 5GPRUK .

[0231] 10c.PAnF retrieves the 5GPRUK based on the 5GPRUK ID and checks whether the 5G ProSe Remote UE is authorized to use the UE-to-Network Relay Service based on the received RSC.If the 5G ProSe Remote UE is authorized and the retrieved 5GPRUK is valid, the PAnF sends an Npanf_ProseKey_get response message with the 5GPRUK to the AUSF.

[0232] 11. The AUSF of the 5G ProSe remote UE can generate Nonce_2 and use the 5GPRUK, Nonce_1 and Nonce_2 defined in Appendix A.4 to derive K NR_ProSe Key.

[0233] 12. The AUSF of the 5G ProSe remote UE may send K to the 5G ProSe UE to network relay in the Nausf_UEAuthentication_ProseAuthenticate response message via the AMF of the 5G ProSe UE to network relay. NR_ProSe , Nonce_2. If step 7 is successfully performed, an EAP success message may be included. If a 5GPRUK ID is generated in step 8, the AUSF of the 5G ProSe remote UE may also include the 5GPRUK ID in the message. The message may also include a 5GPRUK refresh indication container for indicating and generating 5GPRUK'. The container may include a level indication.

[0234] 13. When the AMF relayed by the 5G ProSe UE to the network receives K from the AUSF of the 5G ProSe remote UE NR_ProSe When 5G ProSe UE to network relay according to K NR_ProSe Derive PC5 session key K relay-sess and the secret key K relay-enc (if applicable) and the integrity key K relay-int , as defined in clause 6.3.3.3.3 of this document. K NR_ProSe ID and K relay-sess The ID is the same as K in TS 33.536. NRP ID and K NRP-sess The ID is established in the same way. If an EAP success message and a 5GPRUK ID and a 5GPRUK refresh indication container are received from the AUSF, the EAP success message and the 5GPRUK ID and the 5GPRUK refresh indication container are also sent from the 5G ProSe UE to the AMF of the network relay to the UE to the network relay.

[0235] 14.5G ProSe UE to Network Relay can send the received Nonce_2 and the PC5 signaling security policy of the 5G ProSe remote UE to the 5G ProSe remote UE in a direct security mode command message. The direct security mode command message uses K relay-int If an EAP success message and a 5G PRUK refresh indication container are received from the 5G ProSe UE to the AMF relayed by the network, the EAP success message and the 5G PRUK refresh indication container may be included.

[0236] 15. The 5G ProSe remote UE may generate K for remote access via the 5G ProSe UE to network relay in the same manner as defined in step 11. NR_ProSe The 5G ProSe remote UE may use the K key in the same manner as defined in step 13. NR_ProSe Derive PC5 session key K relay-sess If a 5GPRUK refresh indication container is received, the remote UE shall generate a Prose-MAC-I 5GPRUK And verify the received Prose-MAC-I 5GPRUK If they are the same, the remote UE generates 5GPRUK'.

[0237] 16.5G ProSe remote UE may send a Direct Security Mode Complete message including its PC5 user plane security policy to the 5G ProSe UE to network relay, where the Direct Security Mode Complete message is subject to the PC5 signaling policy negotiated between the 5G ProSe remote UE and the 5G ProSe UE to network relay from K relay-sess The derived K relay-int or / and K relay-enc protection.

[0238] 17. After successfully verifying the Direct Security Mode Complete message, the 5G ProSe UE to Network Relay responds with a Direct Communication Accept message to the 5G ProSe Remote UE to complete the PC5 connection establishment process and stores the 5GPRUK ID in the security context associated with the PC5 link of the 5G ProSe Remote UE.

[0239] Further communication between the 5G ProSe remote UE and the network takes place securely via the 5G ProSe UE-to-network relay.

[0240] Case 4: AUSF stores K AUSF_P Based on K AUSF_P Refresh 5GPRUK.

[0241] For Case 4, K AUSF_P , and according to K AUSF_P Derive the new 5GPURK. AUSF and UE can store K AUSF_P , and AUSF can send its ID to UDM. AUSF or PAnF can request K from UDM AUSF_P UDM can send K to NF (network function) AUSF_P Or AUSF ID. If AUSF ID is received, the NF obtains the key from the AUSF. AUSF may send a new indication to the remote UE.

[0242] Case 4.1: AUSF decides to refresh 5GPRUK

[0243] Fig. 9 Items 0 to 17 below illustrate and describe signaling for refreshing the 5GPRUK based on a determination by an authentication node (eg, AUSF).

[0244] 0.5G ProSe remote UE and 5G ProSe UE to network relay can register on the network. 5G ProSe UE to network relay can be authenticated and authorized by the network to provide UE to network relay service. 5G ProSe remote UE can be authenticated and authorized by the network to receive UE to network relay service. During the authorization and information provision process, PC5 security policy is provided to 5G ProSe remote UE and 5G ProSe UE to network relay respectively.

[0245] The 1.5G ProSe Remote UE may initiate the discovery procedure using any of the Model A or Model B methods specified in clause 6.3.1.2 or clause 6.3.1.3 of TS 23.304, respectively.

[0246] 2. After discovering the 5G ProSe UE to Network Relay, the 5G ProSe Remote UE may send a direct communication request to the 5G ProSe UE to Network Relay to establish a secure PC5 unicast link. The 5G ProSe Remote UE may include its security capabilities and PC5 signaling security policy in the DCR message specified in TS 33.536. The message may also include the relay service code Nonce_1.

[0247] If the 5G ProSe remote UE does not have a valid 5G ProSe Remote User Key (5GPRUK), the 5G ProSe remote UE may include SUCI in the DCR to trigger 5G ProSe remote UE-specific authentication and establish the 5GPRUK.

[0248] If the 5G ProSe remote UE already has a valid 5GPRUK, the 5G ProSe remote UE may include the 5GPRUK ID in the DCR to indicate that the 5G ProSe remote UE wants to use the 5GPRUK to obtain a relay connection.

[0249] 3. Upon receiving the DCR message, the 5G ProSe UE to Network Relay may send a Relay Key Request to the AMF of the 5G ProSe UE to Network Relay, which Relay Key Request includes the SUCI or 5GPRUK ID, RSC and Nonce_1 received in the DCR message. The 5G ProSe UE to Network Relay may also include a transaction identifier in the message, which identifies the 5G ProSe remote UE to obtain subsequent messages through the NAS message of the 5G ProSe UE to Network Relay.

[0250] The AMF of 4.5G ProSe UE-to-network relay can verify whether the 5G ProSe UE-to-network relay is authorized to provide UE-to-network relay service.

[0251] 5.5G ProSe UE to Network Relayed AMF may select an AUSF based on the SUCI or 5GPRUK ID and forward the parameters received in the Relay Key Request to the AUSF in the Nausf_UEAuthentication_ProseAuthenticate request message. The Nausf_UEAuthentication_ProseAuthenticate request message may contain the SUCI or 5GPRUK ID of the 5G ProSe Remote UE, the Relay Service Code, and Nonce_1. If the 5GPRUK ID is received from the 5G ProSe UE to Network Relayed AMF, the AUSF of the 5G ProSe Remote UE skips steps 6 to 9. If the SUCI of the 5G ProSe Remote UE is received from the 5G ProSe UE to Network Relayed AMF, the AUSF of the 5G ProSe Remote UE skips step 10.

[0252] 6. The AUSF may initiate 5G ProSe remote UE-specific authentication using the received ProSe specific parameters (ie, RSC, etc.). The serving network name handling is the same as defined in TS 33.501.

[0253] The AUSF of the 5G ProSe remote UE may retrieve the authentication vector and routing indicator of the 5G ProSe remote UE from the UDM via the Nudm_UEAuthentication_GetProseAv request message. Upon receiving the Nudm_UEAuthentication_GetProSeAv request, the UDM may call the SIDF to de-hide the SUCI to obtain the SUPI before the UDM may process the request. The UDM checks whether the UE is authorized to use the ProSe UE to network relay service based on the authorization information in the UE's subscription data. If the UE is authorized, the UDM may select an authentication method based on the SUPI.

[0254] 7a. If UDM selects EAP-AKA', the AUSF of the 5G ProSe remote UE may trigger authentication of the 5G ProSe remote UE based on EAP-AKA'. The AUSF of the 5G ProSe remote UE generates an EAP-Request / AKA'-Challenge message as defined in clause 6.1.3.1 of TS 33.501 and sends the EAP-Request / AKA'-Challenge message in a Nausf_UEAuthentication_ProSeAuthenticate response message to the AMF of the 5G ProSe UE to the network relay.

[0255] 7b.5G ProSe UE to Network Relay's AMF may forward the Relay Authentication Request (including EAP-Request / AKA'-Challenge) to the 5G ProSe UE to Network Relay via a NAS message, which includes the transaction identifier of the 5G ProSe Remote UE. The NAS message shall be protected using the NAS security context created for the 5G ProSe UE to Network Relay.

[0256] 7c. Based on the transaction identifier, the 5G ProSe UE to network relay can forward the EAP-Request / AKA'-Challenge to the 5G ProSe remote UE via the PC5 message.

[0257] The USIM in the 5G ProSe Remote UE verifies the freshness of the received value by checking if the AUTN can be accepted, as described in TS 33.102.

[0258] For EAP-AKA', USIM calculates the response RES. USIM can return RES, CK, IK to ME. ME can derive CK' and IK' according to Appendix A.3 in TS33.501.

[0259] 7d.5G ProSe remote UE can return EAP-Response / AKA'-Challenge to the 5G ProSe UE to network relay via PC5 message.

[0260] 7e.5G ProSe UE to Network Relay forwards the EAP-Response / AKA'-Challenge together with the transaction identifier of the 5G ProSe Remote UE to the AMF of the 5G ProSe UE to Network Relay in the NAS message Relay Authentication Response.

[0261] 7f.5G ProSe UE to network relay AMF forwards EAP-Response / AKA'-Challenge to the AUSF of 5G ProSe remote UE via Nausf_UEAuthentication_ProSeAuthenticate request.

[0262] The AUSF of the 5G ProSe Remote UE performs UE authentication by verifying the received information as described in TS 33.501.

[0263] For EAP-AKA', the 5G ProSe remote UE and the AUSF of the 5G ProSe remote UE may exchange EAP-Request / AKA'-Notification and EAP-Response / AKA'-Notification messages through the AMF from the 5G ProSe UE to the network relay and from the 5G ProSe UE to the network relay. After the exchange, the 5G ProSe remote UE and the AUSF of the 5G ProSe remote UE may derive K in the same manner as described in TS33.501. AUSF The same method is used to derive K AUSF_P .

[0264] 8. After successful authentication, the 5G ProSe remote UE and the AUSF of the 5G ProSe remote UE can generate a 5GPRUK ID and 5GPRUK.

[0265] The 5GPRUK ID is in the NAI format specified in clause 2.2 of IETF RFC 7542, i.e., username@realm. The username portion includes the routing indicator in step 6 and the 5GPRUK ID*, while the realm portion includes the home network identifier. The 5GPRUK ID* is specified in Appendix A.3.

[0266] UE and AUSF can store K AUSF_P .

[0267] 9a. The AUSF of the 5G ProSe remote UE may select the PAnF (Prose Anchor Function) based on the 5GPRUK ID and send SUPI, RSC, 5GPRUK and 5GPRUK ID to the PAnF in the Npanf_ProseKey_Register request message.

[0268] 9b.PAnF may store the ProSe context information (i.e., SUPI, RSC, 5GPRUK, 5GPRUK ID) of the 5G ProSe remote UE and send an Npanf_ProseKey_Register response message to the AUSF.

[0269] 9c.AUSF may use Nudm_UEProseAuthentication_ResultConfirmation request to notify UDM of the result and time of the authentication process with the UE. This may include SUPI, timestamp of authentication, authentication type (e.g., EAP method or 5G-AKA), and serving network name.

[0270] 9d. UDM can store the UE's authentication status (SUPI, authentication result, timestamp and serving network name). UDM can store the AUSF instance ID.

[0271] 9e.UDM may reply to the AUSF with a Nudm_UEProseAuthentication_ResultConfirmation response.

[0272] 10a. The AUSF of the 5G ProSe remote UE may select a PAnF based on the 5GPRUK ID and send the received 5GPRUK ID and RSC in the Npanf_ProseKey_get request message.

[0273] 10b.PAnF retrieves the 5GPRUK based on the 5GPRUK ID and checks whether the 5G ProSe Remote UE is authorized to use the UE-to-Network Relay Service based on the received RSC. If the 5G ProSe Remote UE is authorized and the retrieved 5GPRUK is valid, PAnF sends an Npanf_ProseKey_get response message with the 5GPRUK to the AUSF.

[0274] The PAnF may also include the SUPI in the Npanf_ProseKey_get response message. The message may also include an indication to the AUSF to refresh the 5GPRUK.

[0275] Clause 10c. This step may be sent after step 5 or step 10b. If the AUSF decides to refresh the 5GPRUK, and the AUSF does not receive the SUPI in step 10b, the AUSF may send a message to obtain the SUPI from the PAnF (such as steps 11b and 11c in case 2.1).

[0276] 10d.AUSF sends Nudm_UEProseKey_get request to UDM. The message shall include SUPI, RSC and serving network name.

[0277] You have two options here:

[0278] Option 1 (As shown in the figure, UDM obtains the key and sends it to AUSF 1)

[0279] 10e.UDM uses SUPI to find the stored AUSF instance ID and sends a Nausf_Prose_get request to AUSF 2.

[0280] 10f.AUSF 2 responds to UDM K AUSF_P .

[0281] 10g.UDM returns K in the Nudm_UEProseKey_get response AUSF_P Forwarded to AUSF.

[0282] Option 2 (not shown in the figure, AUSF 1 obtains the key directly from AUSF 2)

[0283] 10e.UDM uses SUPI to find the stored AUSF Instance ID and sends the AUSF Instance ID to AUSF in Nudm_UEProseKey_get response.

[0284] 10f.AUSF 1 sends a Nausf_Prose_get request to AUSF 2.

[0285] 10g.AUSF 2 responds to AUSF 1 K AUSF_P .

[0286] 10h.AUSF 1 based on K AUSF_P Generate 5GPRUK'. The derivation of 5GPRUK' is based on K AUSF_P and 5GPRUK refresh parameters in the indication container. The container may include a refresh indicator, a count, and freshness parameters.

[0287] The AUSF sends a Npanf_ProseKey_Refresh request to the PAnF. The message includes the newly generated 5GPRUK'. If the AUSF 1 did not generate a 5GPRUK' ID, the AUSF sends the 5GPRUK ID in this message. If the AUSF generated a new 5GPRUK' ID, this step is the same as step 9a and step 9b, but using 5GPRUK' and 5GPRUK'ID instead of 5GPRUK and 5GPRUK ID.

[0288] 10i.PAnF stores 5GPRUK' and responds to AUSF.

[0289] AUSF can also generate Prose-MAC-I AUSF_P This parameter is generated based on 5GPRUK, counter.

[0290] 11. The AUSF of 5G ProSe remote UE can generate Nonce_2 and use 5GPRUK or 5GPRUK', Nonce_1 and Nonce_2 defined in Appendix A.4 to derive K NR_ProSe Key.

[0291] 12. The AUSF of the 5G ProSe remote UE may send K to the 5G ProSe UE to network relay in the Nausf_UEAuthentication_ProseAuthenticate response message via the AMF of the 5G ProSe UE to network relay. NR_ProSe 、Nonce_2. If step 7 is successfully performed, an EAP success message may be included. If a 5GPRUK ID is generated in step 8, the AUSF of the 5G ProSe remote UE may also include the 5GPRUK ID in the message. If the 5GPRUK is refreshed, a 5GPRUK refresh indication container may be included.

[0292] 13. When the AMF relayed by the 5G ProSe UE to the network receives K from the AUSF of the 5G ProSe remote UE NR_ProSe When 5G ProSe UE to network relay according to K NR_ProSe Derive PC5 session key K relay-sess and the secret key K relay-enc (if applicable) and the integrity key K relay-int , as defined in clause 6.3.3.3.3 of this document. K NR_ProSe ID and K relay-sess The ID is the same as K in TS 33.536[6]. NRP ID and K NRP-sessThe 5GPRUK ID is established in the same way. If an EAP success message and a 5GPRUK ID are received from the AUSF, the EAP success message and the 5GPRUK ID are also sent from the 5G ProSe UE to the AMF of the network relay to the UE to the network relay. If the 5GPRUK is refreshed, a 5GPRUK refresh indication container may be included.

[0293] 14.5G ProSe UE to Network Relay can send the received Nonce_2 and the PC5 signaling security policy of the 5G ProSe remote UE to the 5G ProSe remote UE in a Direct Security Mode Command message. The Direct Security Mode Command message uses K relay-int Integrity protection is performed. If an EAP success message is received from the 5G ProSe UE to the AMF relayed by the network, the EAP success message may be included. If the 5GPRUK is refreshed, a 5GPRUK refresh indication container may be included.

[0294] 15. The 5G ProSe remote UE may generate K for remote access via the 5G ProSe UE to network relay in the same manner as defined in step 11. NR_ProSe The 5G ProSe remote UE may use the K key in the same manner as defined in step 13. NR_ProSe Derive PC5 session key K relay-sess If a 5GPRUK refresh indication container is received, the remote UE shall generate a Prose-MAC-I AUSF_P And verify the received Prose-MAC-I AUSF_P If they are the same, the remote UE generates 5GPRUK'.

[0295] 16. The 5G ProSe remote UE may send a direct security mode complete message including its PC5 user plane security policy to the 5G ProSe UE to network relay, where the direct security mode complete message is subject to the PC5 signaling policy negotiated between the 5G ProSe remote UE and the 5G ProSe UE to network relay from K relay-sess The derived K relay-int or / and K relay-enc protection.

[0296] 17. After successfully verifying the direct security mode complete message, the 5G ProSe UE to network relay responds with direct communication accept to the 5G ProSe remote UE to complete the PC5 connection establishment procedure and stores the 5GPRUK ID in the security context associated with the PC5 link of the 5G ProSe remote UE.

[0297] Further communication between the 5G ProSe remote UE and the network takes place securely via the 5G ProSe UE-to-network relay.

[0298] Case 4.2: PAnF decides to refresh 5GPRUK

[0299] Fig.10 Items 0 to 17 below illustrate and describe signaling for refreshing 5G PRUK based on a determination by an anchor function node (eg, PAnF).

[0300] Step 0 to Step 9e are the same as Step 0 to Step 9e in Case 4.1.

[0301] 10a. The AUSF of the 5G ProSe remote UE may select a PAnF based on the 5GPRUK ID and send the received 5GPRUK ID and RSC in the Npanf_ProseKey_get request message.

[0302] 10b.PAnF retrieves the 5GPRUK based on the 5GPRUK ID and checks whether the 5G ProSe Remote UE is authorized to use the UE-to-Network Relay Service based on the received RSC. If the 5G ProSe Remote UE is authorized and the retrieved 5GPRUK is valid, the PAnF sends an Npanf_ProseKey_get response message with the 5GPRUK to the AUSF and skips steps 10c to 10g.

[0303] 10c. If PAnF decides to refresh 5GPRUK, PAnF sends Nudm_UEProseKey_get request to UDM. This message should include SUPI and RSC.

[0304] There are two options:

[0305] Option 1 (As shown in the figure, UDM obtains the key and sends it to PAnF)

[0306] 10d.UDM looks up the stored AUSF instance ID using SUPI and sends a Nausf_Prose_get request to AUSF 2.

[0307] 10e.AUSF 2 responds to UDM K AUSF_P .

[0308] 10f.UDM returns K in the Nudm_UEProseKey_get response AUSF_P Forwarded to PAnF.

[0309] Option 2: (not shown in the figure, PAnF obtains the key directly from AUSF 2)

[0310] 10e.UDM uses SUPI to find the stored AUSF Instance ID and sends the AUSF Instance ID to PAnF in Nudm_UEProseKey_get response.

[0311] 10e.PAnF sends a Nausf_Prose_get request to AUSF 2.

[0312] 10f.AUSF 2 responds to PAnF K AUSF_P .

[0313] 10g.PAnF based on K AUSF_P Generate 5GPRUK'. The derivation of 5GPRUK' is based on K AUSF_P and 5GPRUK refresh parameters in the indication container. The container may include a refresh indicator, a count, and freshness parameters.

[0314] 10h.PAnF sends Npanf_ProseKey_get response to AUSF. This message includes the newly generated 5GPRUK' and 5GPRUK refresh indication container.

[0315] AUSF or PAnF can also generate Prose-MAC-I AUSF_P This parameter is based on K AUSF_P , counter. If Prose-MAC-I AUSF_P is generated by PAnF, then in step 10h a Prose-MAC-I is sent from PAnF to AUSF 5GPRUK .

[0316] 11. The AUSF of 5G ProSe remote UE can generate Nonce_2 and use 5GPRUK or 5GPRUK', Nonce_1 and Nonce_2 defined in Appendix A.4 to derive K NR_ProSe Key.

[0317] 12. The AUSF of the 5G ProSe remote UE may send K to the 5G ProSe UE to network relay in the Nausf_UEAuthentication_ProseAuthenticate response message via the AMF of the 5G ProSe UE to network relay. NR_ProSe 、Nonce_2. If step 7 is successfully performed, an EAP success message may be included. If a 5GPRUK ID is generated in step 8, the AUSF of the 5G ProSe remote UE may also include the 5GPRUK ID in the message. If the 5GPRUK is refreshed, a 5GPRUK refresh indication container may be included.

[0318] 13. When the AMF relayed by the 5G ProSe UE to the network receives K from the AUSF of the 5G ProSe remote UE NR_ProSe When 5G ProSe UE to network relay according to K NR_ProSe Derive PC5 session key K relay-sess and the secret key K relay-enc (if applicable) and the integrity key K relay-int , as defined in clause 6.3.3.3.3 of this document. K NR_ProSe ID and K relay-sess The ID is the same as K in TS 33.536[6]. NRP ID and K NRP-sess The 5GPRUK ID is established in the same way. If an EAP success message and a 5GPRUK ID are received from the AUSF, the EAP success message and the 5GPRUK ID are also sent from the 5G ProSe UE to the AMF of the network relay to the UE to the network relay. If the 5GPRUK is refreshed, a 5GPRUK refresh indication container may be included.

[0319] 14.5G ProSe UE to Network Relay can send the received Nonce_2 and the PC5 signaling security policy of the 5G ProSe remote UE to the 5G ProSe remote UE in a Direct Security Mode Command message. The Direct Security Mode Command message uses K relay-int Integrity protection is performed. If an EAP success message is received from the 5G ProSe UE to the AMF relayed by the network, the EAP success message may be included. If the 5GPRUK is refreshed, a 5GPRUK refresh indication container may be included.

[0320] 15. The 5G ProSe remote UE may generate K for remote access via the 5G ProSe UE to network relay in the same manner as defined in step 11. NR_ProSe The 5G ProSe remote UE may use the K key in the same manner as defined in step 13. NR_ProSe Derive PC5 session key K relay-sess If a 5GPRUK refresh indication container is received, the remote UE shall generate a Prose-MAC-I AUSF_P And verify the received Prose-MAC-I AUSF_P If they are the same, the remote UE generates 5GPRUK'.

[0321] 16. The 5G ProSe remote UE may send a direct security mode complete message including its PC5 user plane security policy to the 5G ProSe UE to network relay, where the direct security mode complete message is subject to the PC5 signaling policy negotiated between the 5G ProSe remote UE and the 5G ProSe UE to network relay from K relay-sess The derived K relay-int or / and K relay-enc protection.

[0322] 17. After successfully verifying the direct security mode complete message, the 5G ProSe UE to network relay responds with direct communication accept to the 5G ProSe remote UE to complete the PC5 connection establishment procedure and stores the 5GPRUK ID in the security context associated with the PC5 link of the 5G ProSe remote UE.

[0323] Further communication between the 5G ProSe remote UE and the network takes place securely via the 5G ProSe UE-to-network relay.

[0324] Fig.11 A process according to some example embodiments is depicted. At 1110, the process includes generating, by an authentication node, a remote user key and a remote user key lifetime. At 1120, the process includes sending, from the authentication node to an anchor function node, the remote user key and the remote user key lifetime. At 1130, the process includes sending, by a relay wireless device, the remote user key lifetime to a remote wireless device.

[0325] Fig.12 An exemplary block diagram of a hardware platform 1200 is shown, which may be part of a network device (e.g., a base station) or a communication device (e.g., a wireless device such as a user equipment (UE)). The hardware platform 1200 includes at least one processor 1210 and a memory 1205 having instructions stored thereon. The instructions executed by the processor 1210 configure the hardware platform 1200 to perform various embodiments described in this patent document. Figures 1 to 10 The operations described in . The transmitter 1215 transmits or sends information or data to another device. For example, the network device transmitter can send a message to the user device. The receiver 1220 receives information or data transmitted or sent by another device. For example, the user device can receive a message from the network device.

[0326] Fig.13An example of a wireless communication system (e.g., a 5G or New Radio (NR) cellular network) including a base station 1320 and one or more user equipment (UE) 1311, 1312, and 1313 is shown. In some embodiments, the UE accesses the BS (e.g., the network) using a communication link to the network (sometimes referred to as an uplink direction, as depicted by dashed arrows 1331, 1332, 1333), and then enables subsequent communication from the BS to the UE (e.g., shown in the direction from the network to the UE, sometimes referred to as a downlink direction, represented by arrows 1341, 1342, 1343). In some embodiments, the BS sends information to the UE (sometimes referred to as a downlink direction, as depicted by arrows 1341, 1342, 1343), and then enables subsequent communication from the UE to the BS (e.g., shown in the direction from the UE to the BS, sometimes referred to as an uplink direction, represented by dashed arrows 1331, 1332, 1333).

[0327] For all the above cases, the following applies. a) Prose-MAC-I derivation can be used by the UE to verify that the information has not been tampered with. b) AUSF or PAnF can also generate Prose-MAC-I. This parameter is generated based on the Prose key, counter, and prose data. If the Prose-MAC-I is generated by the PAnF, the Prose-MAC-I is sent from the PAnF to the AUSF. c) The Prose key can be 5GPRUK, K AUSF_P (generated through prose certification), K AUSF (generated by primary authentication). d) Prose data may be a refresh indication. e) AUSF may send Prose-MAC-I to the remote UE. The remote UE shall verify the Prose-MAC-I. If successful, the UE shall accept the prose data and, if the prose data is a refresh indicator, the UE shall generate a new 5G PR UK.

[0328] The following clauses reflect features of some preferred embodiments.

[0329] Clause 1: A wireless communication method, comprising: generating a remote user key and a remote user key lifetime by an authentication node; sending the remote user key and the remote user key lifetime from the authentication node to an anchor function node; and sending the remote user key lifetime to a remote wireless device via a relay wireless device.

[0330] Clause 2: The wireless communication method according to clause 1 further includes: receiving an identifier of the remote user key; and forwarding the identifier of the remote user key to the anchor function node.

[0331] Clause 3: A wireless communication method according to clause 2, wherein the anchor function node receives an identification of the remote user key, retrieves the remote user key, and checks whether a lifetime of the remote user key has expired.

[0332] Clause 4: A wireless communication method according to clause 1, wherein the remote wireless device does not have a valid remote user key lifetime or the remote user key lifetime has expired, so that the remote wireless device sends a hidden identifier in a communication request to trigger a remote wireless device authentication process, thereby prompting the generation of a new remote user key.

[0333] Clause 5: The wireless communication method of clause 1, wherein an authentication server of a remote wireless device generates the remote user key lifetime.

[0334] Clause 6: A wireless communication method according to clause 1, wherein the anchor node function sends the user key lifetime to the authentication node.

[0335] Clause 7: The wireless communication method of clause 1, wherein the authentication node generates a lifetime of a proximity service key and sends the lifetime of the proximity service key to the remote wireless device or network relay.

[0336] Clause 8: The wireless communication method of clause 1, wherein the remote wireless device stores the remote user key lifetime.

[0337] Clause 9: A method of wireless communication, comprising: determining, at an authentication node, to refresh a remote user key using a subscription permanent identifier; and determining to refresh the remote user key based on a local policy of the authentication node.

[0338] Clause 10: The wireless communication method of clause 9, further comprising: receiving, at the authentication node, the subscription permanent identifier from an anchor node function.

[0339] Clause 11: A wireless communication method as described in Clause 9, wherein the authentication node sends a refresh request message including a remote user key identifier to the anchor node function.

[0340] Clause 12: The wireless communication method of clause 9, wherein the authentication node uses the subscription identifier to obtain an authentication vector from a management node and trigger a remote wireless device authentication process to cause generation of a new remote user key.

[0341] Clause 13: A wireless communication method comprising: receiving, at an anchor node function, a key request for a remote user key from an authentication node, the key request including an identifier of the remote user key; determining, at the anchor node function, to refresh the remote user key retrieved using the identifier of the remote user key; and sending a subscription permanent identifier and a refresh indication to the authentication node.

[0342] Clause 14: The wireless communication method of clause 13, wherein the authentication node uses the subscription identifier to obtain an authentication vector from a management node and trigger a remote wireless device authentication process to cause generation of a new remote user key.

[0343] Clause 15: The wireless communication method of clause 13, wherein the refresh indication is a message name or an indicator parameter.

[0344] Clause 16: The wireless communication method of clause 13, wherein the anchor function node determines to refresh the remote user key based on a local policy of the anchor function node, the local policy including the remote user key lifetime.

[0345] Clause 17: A wireless communication method comprising: receiving a remote user key at an authentication node; determining at the authentication node to generate a new remote user key based on the received remote user key; registering the new remote user key based on the remote user key; and sending a key refresh indication container to a remote wireless device.

[0346] Clause 18: The wireless communication method of clause 17, wherein the new remote user key derivation parameters include a key refresh indicator and a freshness parameter.

[0347] Clause 19: The wireless communication method of clause 17, wherein the authentication node generates an authentication code based on a counter and the received remote user key.

[0348] Clause 20: A method of wireless communication, comprising: receiving a remote user key or a remote user key identifier at an authentication node; determining, by the authentication node, to refresh the remote user key; and sending a refresh request message to an anchor node function.

[0349] Clause 21: A wireless communication method, comprising: receiving, at an anchor node function, a key request for a remote user key, the key request comprising a remote user key identifier; determining to generate a new remote user key based on the remote user key; and sending a key refresh indication container to an authentication node and a remote wireless device.

[0350] Clause 22: The wireless communication method of clause 21, wherein the anchor node determines to refresh the remote user key based on a local policy of the anchor node including a remote user key lifetime.

[0351] Clause 23: The wireless communication method of clause 21, wherein a refresh indication container is sent from the authentication node to the mobility manager, and the refresh indication container is used to generate the remote user key.

[0352] Clause 24: The wireless communication method of clause 21, wherein the remote wireless device generates the new remote user key based on parameters in the key refresh indication container.

[0353] Clause 25: The wireless communication method of clause 21, wherein the authentication node generates the key refresh indication container and sends the key refresh indication container to the remote wireless device.

[0354] Clause 26: The wireless communication method of clause 21, wherein the key refresh indication container comprises a key freshness parameter, a counter, a refresh indicator, and an authentication code.

[0355] Clause 27: The wireless communication method of clause 21, wherein the remote wireless device generates an authentication code based on the received key refresh indication container and compares the generated authentication code with the received authentication code.

[0356] Clause 28: A wireless communication method, comprising: receiving an authentication response message from a management node based in part on an authentication state stored at the management node; determining by a first authentication node to refresh a remote user key based in part on a received subscription identifier; sending by the first authentication node a request message to the management node, the request message indicating a result and time of an authentication process with a wireless device, the request message using and including a subscription identifier, an authentication timestamp, an authentication type, and a service network name; sending a request message from the first authentication node to a second authentication node and receiving a response message; and generating by the first authentication node the remote user key based on the authentication key.

[0357] Clause 29: The wireless communication method of clause 28, wherein the first authentication node receives the remote user key from a second authentication node.

[0358] Clause 30: A wireless communication method comprising: storing an authentication response message based in part on an authentication status at a management node; receiving a request message based in part on a determination by an anchor function node to refresh a remote user key; using a subscription identifier to determine an identifier stored at a first authentication node, and sending a corresponding request to a second authentication node or to the anchor function node.

[0359] Clause 31: A wireless communication method according to clause 30, wherein the management node uses a subscription identifier to obtain the stored identifier and send a request to the second authentication node.

[0360] Clause 32: A wireless communication method according to clause 30, wherein the management node uses a subscription identifier to obtain the stored identifier and sends a request to the anchor function node.

[0361] Clause 33: The wireless communication method of clause 30, wherein the management node forwards the remote user key to the anchor function node.

[0362] Clause 34: The wireless communication method of clause 30, wherein the second authentication node forwards the remote user key to the anchor function node.

[0363] Clause 35: A wireless communication method according to clause 30, wherein the anchor function node sends an authentication request message to the second authentication node and receives a response from the second authentication node.

[0364] Clause 36: A wireless communication method according to clause 30, wherein the anchor function node generates the remote user key based on another key and one or more parameters from a refresh indication container, wherein the refresh indication container includes one or more of a refresh indicator, a count, or a freshness parameter.

[0365] Clause 37: A wireless communication method according to clause 30, wherein the anchor function node responds to the first authentication node with a message, the response message including a new remote user key and a refresh indication container.

[0366] From the above, it will be understood that specific embodiments of the presently disclosed technology have been described herein for illustrative purposes, but various modifications may be made without departing from the scope of the invention. Therefore, the presently disclosed technology is not to be limited except by the appended claims.

[0367] The disclosed and other embodiments, modules and functional operations described in this document can be implemented using digital electronic circuits or computer software, firmware or hardware (including the structures disclosed in this document and their structural equivalents or a combination of one or more of them). The disclosed and other embodiments can be implemented as one or more computer program products, that is, one or more modules of computer program instructions encoded on a computer-readable medium, which are executed by a data processing device or used to control the operation of the data processing device. The computer-readable medium can be a machine-readable storage device, a machine-readable storage matrix, a memory device, a composition of a substance that affects a machine-readable propagation signal, or a combination of one or more of them. The term "data processing device" includes all devices, equipment and machines for processing data, such as a programmable processor, a computer, or multiple processors or multiple computers. In addition to hardware, the device can also include code for creating an execution environment for the computer program in question, for example, code for building the following items: processor firmware, protocol stack, database management system, operating system, or a combination of one or more of them. A propagation signal is a non-naturally generated signal, such as a machine-generated electrical, optical or electromagnetic signal, which is generated to encode information for transmission to a suitable receiver device.

[0368] A computer program (also referred to as a program, software, software application, script, or code) may be written in any form of programming language, including compiled or interpreted languages; and the computer program may be called in any form, including as a stand-alone program, or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language file), in a single file dedicated to the program in question, or in multiple collaborative files (e.g., multiple files storing one or more modules, subroutines, or portions of code). A computer program may be deployed to execute on one computer, or on multiple computers, which are located at one site or distributed across multiple sites and interconnected by a communications network.

[0369] The processes and logic flows described in this document may be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows may also be performed by special purpose logic circuits, and the apparatus may also be implemented as special purpose logic circuits, such as FPGAs (field programmable gate arrays) or ASICs (application specific integrated circuits).

[0370] Processors suitable for executing computer programs include, for example, general and special purpose microprocessors, and any one or more processors of any type of digital computer. Typically, the processor will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include or be operably coupled to one or more mass storage devices (e.g., disks, magneto-optical disks, or optical disks) for storing data, to receive data therefrom or to transmit data thereto or both situations exist. However, a computer need not have such devices. Computer-readable media suitable for storing computer program instructions and data include all forms of nonvolatile memory, media and memory devices, including, for example: semiconductor memory devices, such as EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory) and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD ROM (Compact Disc Read-Only Memory) and DVD-ROM (Digital Video Disc-ReadOnly Memory) disks. The processor and memory may be supplemented by, or incorporated into, special purpose logic circuitry.

[0371] Although this patent document contains many details, these details should not be interpreted as limitations on the scope of any invention or the scope that may be claimed, but should be interpreted as descriptions of features specific to particular embodiments of particular inventions. In this patent document, certain features described in the context of different embodiments may also be implemented in combination in a single embodiment. Conversely, the various features described in the context of a single embodiment may also be implemented separately or in any suitable sub-combination in multiple embodiments. In addition, although features may be described above as working in certain combinations, and even if initially claimed as such, in some cases, one or more features from the claimed combination may be removed from the combination, and the claimed combination may be directed to a sub-combination or a variation of the sub-combination.

[0372] Similarly, although operations are depicted in a particular order in the drawings, this should not be understood as requiring that the operations be performed in the particular order shown or in sequential order, or that all of the illustrated operations be performed, in order to achieve the desired results. Furthermore, the separation of various system components in the embodiments described in this patent document should not be understood as requiring such separation in all embodiments.

[0373] Only a few implementations and examples are described, and other implementations, enhancements, and variations may be made based on what is described and shown in this patent document.

Claims

1. A wireless communication method, comprising: The remote user key and remote user key lifetime are generated by the authentication node; sending the remote user key and the remote user key lifetime from the authentication node to the anchor function node; as well as The remote user key lifetime is sent to the remote wireless device via the relay wireless device.

2. The wireless communication method according to claim 1, further comprising: receiving an identification of the remote user key; as well as The identifier of the remote user key is forwarded to the anchor function node.

3. The wireless communication method according to claim 2, wherein: The anchor function node receives the identifier of the remote user key, retrieves the remote user key, and checks whether the remote user key lifetime has expired.

4. The wireless communication method according to claim 1, wherein: The remote wireless device does not have a valid remote user key lifetime or the remote user key lifetime has expired, causing the remote wireless device to send a hidden identifier in a communication request to trigger a remote wireless device authentication process, thereby causing generation of a new remote user key.

5. The wireless communication method according to claim 1, wherein: An authentication server of a remote wireless device generates the remote user key lifetime.

6. The wireless communication method according to claim 1, wherein: The anchor node function sends the user key lifetime to the authentication node.

7. The wireless communication method according to claim 1, wherein: The authentication node generates a lifetime of a proximity service key and sends the lifetime of the proximity service key to the remote wireless device or the network relay.

8. The wireless communication method according to claim 1, wherein: The remote wireless device stores the remote user key lifetime.

9. A wireless communication method, comprising: Determining at the authentication node to refresh the remote user key using the subscription permanent identifier; as well as Refreshing the remote user key is determined based on a local policy of the authentication node.

10. The wireless communication method according to claim 9, further comprising: The subscription permanent identifier is received at the authentication node from an anchor node function.

11. The wireless communication method according to claim 9, wherein: The authentication node sends a refresh request message including a remote user key identifier to the anchor node function.

12. The wireless communication method according to claim 9, wherein: The authentication node uses the subscription identifier to obtain an authentication vector from a management node and trigger a remote wireless device authentication process to cause generation of a new remote user key.

13. A wireless communication method, comprising: receiving, at the anchor node function, a key request for a remote user key from an authentication node, the key request including an identifier of the remote user key; determining, at the anchor node function, to refresh the remote user key retrieved using an identifier of the remote user key; as well as A subscription permanent identifier and a refresh indication are sent to the authentication node.

14. The wireless communication method according to claim 13, wherein: The authentication node uses the subscription identifier to obtain an authentication vector from a management node and trigger a remote wireless device authentication process to cause generation of a new remote user key.

15. The wireless communication method according to claim 13, wherein: The refresh indication is a message name or indicator parameter.

16. The wireless communication method according to claim 13, wherein: The anchor function node determines to refresh the remote user key based on a local policy of the anchor function node, wherein the local policy includes a lifetime of the remote user key.

17. A wireless communication method, comprising: receiving a remote user key at an authentication node; Determining, at the authentication node, to generate a new remote user key based on the received remote user key; registering the new remote user key based on the remote user key; as well as A key refresh indication container is sent to a remote wireless device.

18. The wireless communication method according to claim 17, wherein: New remote user key derivation parameters include a key refresh indicator and a freshness parameter.

19. The wireless communication method according to claim 17, wherein: The authentication node generates an authentication code based on a counter and the received remote user key.

20. A wireless communication method, comprising: receiving, at an authentication node, a remote user key or a remote user key identifier; The authentication node determines to refresh the remote user key; as well as Send a refresh request message to the anchor node function.

21. A wireless communication method, comprising: receiving, at the anchor node function, a key request for a remote user key, the key request including a remote user key identifier; Determine to generate a new remote user key based on the remote user key; as well as A key refresh indication container is sent to the authentication node and the remote wireless device.

22. The wireless communication method according to claim 21, wherein: The anchor node determines to refresh the remote user key based on a local policy of the anchor node including a remote user key lifetime.

23. The wireless communication method according to claim 21, wherein: A refresh indication container is sent from the authentication node to the mobility manager and is used to generate the remote user key.

24. The wireless communication method according to claim 21, wherein: The remote wireless device generates the new remote user key based on the parameters in the key refresh indication container.

25. The wireless communication method according to claim 21, wherein: The authentication node generates the key refresh indication container and sends the key refresh indication container to the remote wireless device.

26. The wireless communication method according to claim 21, wherein: The key refresh indication container includes a key freshness parameter, a counter, a refresh indicator and an authentication code.

27. The wireless communication method according to claim 21, wherein: The remote wireless device generates an authentication code based on the received key refresh indication container and compares the generated authentication code with the received authentication code.

28. A wireless communication method, comprising: receiving an authentication response message from a management node based in part on an authentication state stored at the management node; determining, by the first authentication node, to refresh a remote user key based in part on the received subscription identifier; The first authentication node sends a request message to the management node, the request message indicating a result and time of an authentication process with the wireless device, the request message using and including a subscription identifier, an authentication timestamp, an authentication type, and a serving network name; Sending a request message from the first authentication node to the second authentication node, and receiving a response message; as well as The remote user key is generated by the first authentication node based on the authentication key.

29. The wireless communication method according to claim 28, wherein: The first authentication node receives the remote user key from a second authentication node.

30. A wireless communication method, comprising: storing, at the management node, an authentication response message based in part on the authentication state; receiving a request message based in part on a determination by the anchor function node to refresh a remote user key; The subscription identifier is used to determine an identifier stored at the first authentication node, and a corresponding request is sent to the second authentication node or to the anchor function node.

31. The wireless communication method according to claim 30, wherein: The management node uses the subscription identifier to obtain the stored identifier and sends a request to the second authentication node.

32. The wireless communication method according to claim 30, wherein: The management node uses the subscription identifier to obtain the stored identifier and sends a request to the anchor function node.

33. The wireless communication method according to claim 30, wherein: The management node forwards the remote user key to the anchor function node.

34. The wireless communication method according to claim 30, wherein: The second authentication node forwards the remote user key to the anchor function node.

35. The wireless communication method according to claim 30, wherein: The anchor function node sends an authentication request message to the second authentication node, and receives a response from the second authentication node.

36. The wireless communication method according to claim 30, wherein: The anchor function node generates the remote user key based on another key and one or more parameters from a refresh indication container, the refresh indication container including one or more of a refresh indicator, a count, or a freshness parameter.

37. The wireless communication method according to claim 30, wherein: The anchor function node responds with a message to the first authentication node, where the response message includes a new remote user key and a refresh indication container.