# US 2020/0403780 A1 · Secure Communications Using Network Access Identity

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

- Number: US 2020/0403780 A1
- Document ID: US20200403780A1
- Status: Published application
- Kind: A1
- Application number: 16/623,534
- Filed: 2017-07-03
- Published: 2020-12-24
- Earliest claimed: 2017-07-03
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Per Ståhl; Patrik Ekdahl; Petri Mikael Johansson; Bernard Smeets
- Web page: https://patentgrep.com/patent/US20200403780A1

## CPC

- H04L 9/083: {involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP]}
- H04W 12/04: Key management, e.g. using generic bootstrapping architecture [GBA]
- H04L 9/0838: {Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these (network architectures or network communication protocols for key exchange in a packet data network H04L63/061)}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 9/3213: {using tickets or tokens, e.g. Kerberos (network architectures or network communication protocols for entities authentication using tickets in a packet data network H04L63/0807)}
- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L 63/062: {for key distribution, e.g. centrally by trusted party (cryptographic mechanisms or cryptographic arrangements for key distribution involving a central third party H04L9/0819)}
- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- H04W 12/06: Authentication
- H04W 12/50: Secure pairing of devices
- H04W 12/40: Security arrangements using identity modules
- H04W 84/12: WLAN [Wireless Local Area Networks]
- 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

There is provided mechanisms for enabling secure communication between a first communications device and a second communications device. A method is performed by the first communications device. The method comprises performing a network attachment procedure with an authentication server. The method comprises establishing, during the network attachment procedure, a shared secret between the first communications device and the authentication server. The shared secret is established by running an authentication and key agreement protocol as part of the network attachment procedure with a network access identity of the first communications device as input. The method comprises deriving an application level shared key for the first communications device from the shared secret. The shared key is to be used for secure communication between the first communications device and the second communications device.

## Claims

### Claim at position 1

1-40. (canceled)

### Claim 41

A method for enabling secure communication between a first communications device and a second communications device, the method comprising the first communications device:
performing a network attachment procedure with an authentication server;
establishing, during the network attachment procedure, a shared secret between the first communications device and the authentication server, wherein the shared secret is established by running an authentication and key agreement protocol as part of the network attachment procedure with a network access identity of the first communications device as input; and
deriving an application level shared key for the first communications device from the shared secret, wherein the application level shared key is to be used for secure communication between the first communications device and the second communications device.

### Claim 42 (depends on 41)

The method of claim 41, further comprising instructing the second communications device to retrieve the application level shared key from the authentication server when establishing the secure communication with the second communications device.

### Claim 43 (depends on 42)

The method of claim 42, further comprising providing an access token to the second communications device when instructing the second communications device to retrieve the application level shared key from the authentication server, the access token comprising a session identifier identifying the network attachment session between the first communications device and the authentication server.

### Claim 44 (depends on 43)

The method of claim 43, wherein the session identifier is a bootstrapping transaction identifier (B-TID).

### Claim 45 (depends on 42)

The method of claim 42:
further comprising registering with the second communications device once having established secure communication with the second communications device;
wherein the application level shared key is used in establishing the secure communication.

### Claim 46 (depends on 45)

The method of claim 45, wherein Datagram Transport Layer Security Pre-Shared Key (DTLS-PSK), Transport Layer Security Pre-Shared Key (TLS-PSK), or Object Security for Constrained Application Protocol (OSCOAP) is used during the secure communication between the first communications device and the second communications device.

### Claim 47

A method for enabling secure communication between a first communications device and a second communications device, the method comprising an authentication server:
performing a network attachment procedure with the first communications device;
establishing, during the network attachment procedure, a shared secret between the authentication server and the first communications device, wherein the shared secret is established by running an authentication and key agreement protocol as part of the network attachment procedure with a network access identity of the first communications device as input;
receiving a request from the second communications device for an application level shared key, wherein the application level shared key is to be used for secure communication between the first communications device and the second communications device;
deriving the application level shared key for the first communications device from the shared secret; and
providing the application level shared key to the second communications device.

### Claim 48 (depends on 47)

The method of claim 47:
wherein the request comprises an access token, the access token comprising a session identifier; and
wherein the session identifier is used to determine which shared secret to use when deriving the application level shared key and for which first communications device to derive the application level shared key.

### Claim 49 (depends on 48)

The method of claim 48, wherein the access token is validated by a shared key, the application level shared key being derived by the authentication server from the shared secret.

### Claim 50 (depends on 49)

The method of claim 49:
wherein the access token comprises a Message Authentication Code (MAC); and
wherein the access token is validated by the authentication server verifying the MAC using the application level shared key.

### Claim 51 (depends on 47)

The method of claim 47:
wherein the request comprises an access token;
wherein the request from the second communications device comprises a public key or certificate of the second communications device;
wherein the access token comprises a hash of the public key or certificate as determined by the first communications device;
wherein the application level shared key for the first communications device only is derived when there is a match between the hash and a hash, determined by the authentication server, of the public key or certificate comprised in the access token.

### Claim 52 (depends on 47)

The method of claim 47, wherein the application level shared key is encapsulated before being provided to the second communications device.

### Claim 53 (depends on 47)

The method of claim 47, wherein the shared secret has a limited life-time and becomes obsolete upon expiration of the limited life-time.

### Claim 54 (depends on 47)

The method claim 47, wherein the authentication and key agreement protocol is an Extensible Authentication Protocol (EAP).

### Claim 55 (depends on 47)

The method claim 47, wherein the shared secret is an Extended Maser Session key (EMSK).

### Claim 56 (depends on 47)

The method of claim 47, wherein the network access identity is a third generation partnership project (3GPP) identity of the first communications device.

### Claim 57 (depends on 47)

The method of claim 47:
wherein the secure communication is for an application run by the first communications device; and
wherein the application level shared key is unique for the application.

### Claim 58

A method for enabling secure communication between a first communications device and a second communications device, the method comprising the second communications device:
receiving instructions from the first communications device to retrieve an application level shared key from an authentication server when establishing the secure communication with the first communications device, wherein the application level shared key is to be used for the secure communication between the first communications device and the second communications device;
providing a request for the application level shared key from the authentication server; and
receiving the application level shared key from the authentication server.

### Claim 59 (depends on 58)

The method of claim 58:
wherein the instructions comprise an access token, the access token comprising a session identifier; and
wherein the access token is provided to the authentication server in the request.

### Claim 60 (depends on 59)

The method of claim 59, wherein the access token comprises information about which authentication server to provide the request to.

### Claim 61 (depends on 58)

The method of claim 58, wherein the request only is provided upon having verified that the second communications device has a trust relation with the authentication server.

### Claim 62 (depends on 60)

The method of claim 60:
wherein the request to the authentication server comprises a public key or certificate of the second communications device; and
wherein the access token comprises a hash of the public key or certificate as determined by the first communications device.

### Claim 63 (depends on 58)

The method of claim 58:
wherein the application level shared key is received as an encapsulated application level shared key;
wherein the method further comprises extracting the application level shared key by decrypting the encapsulated application level shared key using a private key of the second communications device.

### Claim 64 (depends on 58)

The method of claim 58, further comprising registering the first communications device with the second communications device once having established the secure communication with the first communications device using the application level shared key.

### Claim 65 (depends on 58)

The method of claim 58, wherein the application level shared key is a Pre-Shared Key (PSK).

### Claim 66 (depends on 58)

The method of claim 58, wherein the communication between the first communications device and the second communications device is application layer communication.

### Claim 67 (depends on 58)

The method of claim 58, wherein the second communications device is a data server.

### Claim 68

A first communications device for enabling secure communication between the first communications device and a second communications device, the first communications device comprising:
processing circuitry;
memory containing instructions executable by the processing circuitry whereby the first communications device is operative to:
perform a network attachment procedure with an authentication server;
establish, during the network attachment procedure, a shared secret between the first communications device and the authentication server, wherein the shared secret is established by running an authentication and key agreement protocol as part of the network attachment procedure with a network access identity of the first communications device as input; and
derive an application level shared key for the first communications device from the shared secret, wherein the application level shared key is to be used for secure communication between the first communications device and the second communications device.

### Claim 69

An authentication server for enabling secure communication between a first communications device and a second communications device, the authentication server comprising:
processing circuitry;
memory containing instructions executable by the processing circuitry whereby the authentication server is operative to:
perform a network attachment procedure with the first communications device;
establish, during the network attachment procedure, a shared secret between the authentication server and the first communications device, wherein the shared secret is established by running an authentication and key agreement protocol as part of the network attachment procedure with a network access identity of the first communications device as input;
receive a request from the second communications device for an application level shared key, wherein the application level shared key is to be used for secure communication between the first communications device and the second communications device;
derive the application level shared key for the first communications device from the shared secret; and
provide the application level shared key to the second communications device.

### Claim 70

A second communications device for enabling secure communication between a first communications device and the second communications device, the second communications device comprising:
processing circuitry;
memory containing instructions executable by the processing circuitry whereby the second communications device is operative to:
receive instructions from the first communications device to retrieve an application level shared key from an authentication server when establishing the secure communication with the first communications device, wherein the application level shared key is to be used for the secure communication between the first communications device and the second communications device;
provide a request for the application level shared key from the authentication server; and
receive the application level shared key from the authentication server.
