5 Services offered by the SP-AF

29.5443GPP5G SystemRelease 18Secured Packet Application Function (SP-AF) servicesStage 3TS

5.1 Introduction

The SP-AF offers the following services via the Nspaf interface:

– Nspaf_SecuredPacket Service

Table 5.1-1 summarizes the corresponding APIs defined for this specification.

Table 5.1-1: API Descriptions

Service Name

Clause

Description

OpenAPI Specification File

apiName

Annex

Nspaf_SecuredPacket

6.1

Nspaf Secured Packet Service

TS29544_Nspaf_SecuredPacket.yaml

nspaf-secured-packet

A.2

5.2 Nspaf_SecuredPacket Service

5.2.1 Service Description

The Nspaf_SecuredPacket Service may be consumed by the NF consumer (e.g. UDM or SOR-AF) when it has detected that a UICC configuration parameter (e.g. Routing ID data or Steering of Roaming information) needs to be updated, and the new value is not available in secured packet format.

For the list of service operations see clause 5.2.2.1

5.2.2 Service Operations

5.2.2.1 Introduction

For the Nspaf_SecuredPacket service the following service operations are defined:

– Provide

The Nspaf_SecuredPacket Service is used by Consumer NFs (e.g. UDM or SOR-AF) to request the SP-AF to provide a secured packet that contains an UICC configuration parameter as sent in the request by means of the Provide service operation

5.2.2.2 Provide

5.2.2.2.1 General

This service operation is used by the NF Service Consumer (e.g. UDM or SOR-AF) to request construction of a secured packet that contains the provided UICC configuration information (e.g. Routing Indicator or Steering of Roaming information).

The following procedures using the Provide service operation are supported:

– Secured Packet Retrieval

5.2.2.2.2 Secured Packet Retrieval

Figure 5.2.2.2.2-1 shows a scenario where the NF consumer (e.g. UDM or SOR-AF) sends a request to the SP-AF to provide a secured packet.

The request contains the UE’s identity (/{supi}) and the UICC configuration parameter.

Figure 5.2.2.2.2-1: NF consumer requests the SP-AF to provide a secured packet

1. The NF consumer sends a POST request (custom method: provide-secured-packet) to the resource representing the SUPI.

2a. On success, the SP-AF responds with "200 OK", containing the requested SecuredPacket.

2b. If the resource does not exist (the supi is unknown in the SP-AF), the SP-AF returns the HTTP status code "404 Not Found", and additional error information should be included in the response body (in "ProblemDetails" element).

On failure, the appropriate HTTP status code indicating the error shall be returned and appropriate additional error information should be returned in the POST response body.