# US 2026/0039644 A1 · Api invoker authentication method and apparatus, communication device, and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0039644 A1
- Document ID: US20260039644A1
- Status: Published application
- Kind: A1
- Application number: 18/996,621
- Filed: 2022-07-29
- Published: 2026-02-05
- Earliest claimed: 2022-07-29
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Haoran LIANG; Wei LU
- Web page: https://patentgrep.com/patent/US20260039644A1

## CPC

- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 27/00: Modulated-carrier systems
- H04L 63/166: {at the transport layer}
- H04W 12/06: Authentication
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A method for authenticating an application program interface (API) invoker enhances secure communication between API invokers and a Common Application Program Interface Framework (CAPIF). The method involves sending authentication information from the API invoker to the CAPIF function, which authenticates the invoker's identity. The process includes obtaining enrollment information to establish a secure transport layer security (TLS) connection with the CAPIF function. Advanced authentication mechanisms leverage an authentication and key management for applications (AKMA) anchor key, enabling secure derivation and verification of application function keys (KAF). Additionally, the CAPIF function uses received authentication data to retrieve API invoker configuration information, onboard signing keys, and certificates. These elements facilitate secure API access and interaction while ensuring compliance with authentication protocols.

## Claims

### Claim 1

An method for authenticating an application program interface (API) invoker performed by an API invoker, the method comprising:
sending first request information to a common application program interface framework (CAPIF) function, wherein the first request information comprises authentication information of the API invoker, and the authentication information is used for the CAPIF function to authenticate an identity of the API invoker.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
obtaining enrolment information from an API provider domain or preconfigured information of the API invoker, wherein the enrolment information comprises at least one of:
an address of the CAPIF function;
a fully qualified domain name (FQDN) of the CAPIF function; or
a root certificate authority (CA) certificate of the CAPIF function;
establishing, based on the enrolment information, a transport layer security (TLS) connection with the CAPIF function; wherein the TLS connection sends the first request information to the CAPIF function.

### Claim at position 3

3-4. (canceled)

### Claim 5 (depends on 41)

The method according to claim 41, further comprising:
determining, based on an authentication server function key (KAUSF), an authentication and key management for applications (AKMA) anchor key and an AKMA key identifier corresponding to the AKMA anchor key, wherein the authentication information comprises the AKMA anchor key;
determining, based on the AKMA anchor key, a first application function key (KAF); and
determining, based on the first KAF and a second KAF of the CAPIF function, whether the identity authentication of the API invoker is successful.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the determining, based on the AKMA anchor key, a first KAF comprises one of:
determining the first KAF based on the AKMA anchor key and identification information of the CAPIF function, wherein the identification information of the CAPIF function comprises: at least one of a fully qualified domain name (FQDN) or a security protocol identifier, and the security protocol identifier is determined by negotiation between the API invoker and the CAPIF function.

### Claim 7

(canceled)

### Claim 8 (depends on 1)

The method according to claim 1, wherein,
the authentication information comprises: a first certificate, wherein the first certificate is used for the CAPIF function to authenticate the identity of the API invoker.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising:
receiving first response information sent by the CAPIF function after successful verification based on a token, wherein the first request information further comprises: the token of the API invoker,
wherein the first response information comprises:
API invoker configuration information, wherein the API invoker configuration information comprises: API exposing function (AEF) authentication and authorization information;
an API invoker's certificate, wherein the API invoker's certificate comprises at least one of: identification information of the API invoker and a public key of the API invoker; and
an onboard signing key of the API invoker;
wherein the identification information of the API invoker comprises one of:
identification information of the API invoker assigned by CAPIF function;
a subscription permanent identifier (SUPI);
a generic public subscription identifier (GPSI);
an internet protocol multimedia subsystem (IMS) private identity (IMPI);
a subscription concealed identifier (SUCI); and
an application layer identification (ID) of UE.

### Claim at position 9

10-11. (canceled)

### Claim 12 (depends on 1)

The method according to claim 1, wherein the API invoker comprises: a user equipment (UE).

### Claim 13

(canceled)

### Claim 14

A method for authentication of an application program interface (API) invoker performed by an authentication and key management for applications (AKMA) anchor function (AAnF), the method comprising:
receiving second request information sent by a common application program interface framework (CAPIF) function, wherein the second request information is determined by the CAPIF function based on first request information, and the second request information comprises an AKMA key identifier of an API invoker comprised in the first request information; and
determining, based on the AKMA key identifier, an AKMA anchor key corresponding to the AKMA key identifier, wherein the AKMA anchor key is used for the CAPIF function to authenticate an identity of the API invoker.

### Claim 15 (depends on 14)

The method according to claim 14, further comprising:
determining a second application function key (KAF) based on the AKMA anchor key and identification information of the CAPIF function comprised in the second request information; and
sending second response information to the CAPIF function, wherein the second response information comprises the second KAF.

### Claim 16 (depends on 15)

The method according to claim 15, wherein the second response information further comprises: at least one of a valid time corresponding to the second KAF or identification information of the API invoker;
wherein the identification information of the API invoker comprises one of:
a subscription permanent identifier (SUPI);
a generic public subscription identifier (GPSI);
an internet protocol multimedia subsystem (IMS) private identity (IMPI);
a subscription concealed identifier (SUCI); and
an application layer identification (ID) of UE.

### Claim at position 15

17-18. (canceled)

### Claim 19 (depends on 15)

The method according to claim 15, wherein the identification information of the CAPIF function comprises: at least one of a fully qualified domain name (FQDN) or a security protocol identifier, and the security protocol identifier is determined by negotiation between the API invoker and the CAPIF function;
wherein the determining the second KAF based on the AKMA anchor key and the identification information of the CAPIF function comprises one of:
determining the second KAF based on the AKMA anchor key and the FQDN; and
determining the second KAF based on the AKMA anchor key, the FQDN and the security protocol identifier.

### Claim 20 (depends on 14)

The method according to claim 14, further comprising:
determining, based on the identification information of the CAPIF function, whether the AAnF is capable of providing a service to the CAPIF function;
in response to determining that the AAnF is capable of providing the service to the CAPIF function, determining, based on the AKMA key identifier, the AKMA anchor key corresponding to the AKMA key identifier;
in response to determining that the AAnF is not capable of providing the service to the CAPIF function, refusing to provide the second KAF to the CAPIF; or
sending, based on the AKMA anchor key corresponding to the AKMA key identifier is not present in the AAnF, the second response information with error indication information to the CAPIF function.

### Claim at position 18

21-23. (canceled)

### Claim 24 (depends on 14)

The method according to claim 14, wherein the CAPIF function comprises one of:
a CAPIF core function (CCF);
an API exposing function (AEF); and
an authorization function (AF).

### Claim 25

A method for authenticating an application program interface (API) invoker performed by a common application program interface framework (CAPIF) function, the method comprising:
receiving first request information sent by an application program interface (API) invoker, wherein the first request information comprises authentication information of the API invoker, and the authentication information is used for authenticating an identity of the API invoker.

### Claim 26

(canceled)

### Claim 27 (depends on 25)

The method according to claim 25, further comprising:
determining, based on an authentication and key management for applications (AKMA) key identifier corresponding to an AKMA anchor key comprised in the authentication information, an AKMA anchor function (AAnF) corresponding to the CAPIF function;
sending second request information to the AAnF, wherein the second request information comprises the AKMA key identifier, and the AKMA key identifier is used for the AAnF to determine the AKMA anchor key, and the AKMA anchor key is used for the AAnF to determine a second application function key (KAF) of the CAPIF function;
receiving second response information sent by the AAnF, wherein the second response information comprises the second KAF; and
authenticating, based on the second KAF and a first KAF of the API invoker, the identity of the API invoker.

### Claim at position 23

28-29. (canceled)

### Claim 30 (depends on 27)

The method according to claim 27,
wherein the second response information further comprises at least one of:
identification information of the API invoker; or
a valid time corresponding to the second KAF;
wherein the identification information of the API invoker comprises one of:
a subscription permanent identifier (SUPI);
a generic public subscription identifier (GPSI);
an internet protocol multimedia subsystem (IMS) private identity (IMPI);
a subscription concealed identifier (SUCI); and
an application layer identification (ID) of UE.

### Claim 31

(canceled)

### Claim 32 (depends on 27)

The method according to claim 27, wherein the second request information comprises: identification information of the CAPIF function, wherein the identification information of the CAPIF function comprises: at least one of a fully qualified domain name (FQDN) or a security protocol identifier, and the security protocol identifier is determined by negotiation between the API invoker and the CAPIF function; and
the AKMA anchor key and the identification information of the CAPIF function are used for the AAnF to determine the second KAF.

### Claim 33

(canceled)

### Claim 34 (depends on 25)

The method according to claim 25, further comprising:
determining, based on a first certificate comprised in the authentication information and a root certificate corresponding to the first certificate stored by the CAPIF function, whether the identity authentication of the API invoker is successful.

### Claim 35 (depends on 27)

The method according to claim 27, wherein the method comprises at least one of:
determining, based on successful identity authentication of the API invoker, an onboard signing key of the API invoker;
determining, based on successful identity authentication of the API invoker, API invoker configuration information of the API invoker according to a token of the API invoker comprised in the first request information, wherein the API invoker configuration information comprises: API exposing function (AEF) authentication and authorization information;
generating, based on successful identity authentication of the API invoker, an API invoker's certificate, wherein the API invoker's certificate comprises a public key of the API invoker and identification information of the API invoker; or
sending first response information to the API invoker, wherein the first response information comprises at least one of: onboard signing information of the API invoker, the API invoker configuration information and the API invoker's certificate.

### Claim at position 30

36-42. (canceled)

### Claim 43 (depends on 1)

A communication device, comprising:
a memory, configured to store instructions executable by the processor;
one or more processors communicatively coupled to the memory
wherein the instructions when collectively executed by the one or more processors cause the communication device to act as the API invoker and perform the method according to claim 1.

### Claim 44

(canceled)
