# US 2023/0155996 A1 · Method and electronic device for managing digital keys

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

- Number: US 2023/0155996 A1
- Document ID: US20230155996A1
- Status: Published application
- Kind: A1
- Application number: 18/100,251
- Filed: 2023-01-23
- Published: 2023-05-18
- Earliest claimed: 2019-12-06
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Sungkyu CHO; Jieun KEUM; Sehee HAN; Eunyoung KWON; Daehaeng CHO
- Web page: https://patentgrep.com/patent/US20230155996A1

## CPC

- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04W 12/086: using security domains
- H04L 63/045: {wherein the sending and receiving network entities apply hybrid encryption, i.e. combination of symmetric and asymmetric encryption (cryptographic mechanisms or cryptographic arrangements using a plurality of keys or algorithms H04L9/14)}
- H04L 63/0876: {based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint}
- H04L 63/107: {wherein the security policies are location-dependent, e.g. entities privileges depend on current location or allowing specific operations only from locally connected terminals}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04W 12/069: using certificates or pre-shared keys
- H04L 63/1466: {Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks}
- H04W 12/041: Key generation or derivation
- H04W 12/40: Security arrangements using identity modules
- H04W 12/61: Time-dependent
- H04W 12/63: Location-dependent; Proximity-dependent
- 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

Provided is a method, performed by an electronic device, of managing keys for accessing a plurality of services. The method includes transmitting, by a secure domain (SD) in a secure area of the electronic device, a certificate of the SD to a plurality of service providers (SPs); receiving, by an application installed in the electronic device, a certificate of each of the plurality of SPs from the plurality of SPs; receiving, by the application, first signed data from a first SP among the plurality of SPs; authenticating, by the application, the first signed data by using a certificate of the first SP received from the first SP and obtaining an encrypted key of the first SP from the first signed data; decrypting, by the SD, the encrypted key of the first SP by using a private key of the SD; and storing the decrypted key of the first SP in a first instance corresponding to the first SP among a plurality of instances of the SD.

## Claims

### Claim 1

A method, performed by an electronic device, of managing keys for accessing a plurality of services, the method comprising:
transmitting, by a secure domain (SD) in a secure area of the electronic device, a certificate of the SD to a plurality of service providers (SPs);
receiving, by an application installed in the electronic device, a certificate of each of the plurality of SPs from the plurality of SPs;
receiving, by the application, first signed data from a first SP among the plurality of SPs;
authenticating, by the application, the first signed data by using a certificate of the first SP received from the first SP and obtaining an encrypted key of the first SP from the first signed data;
decrypting, by the SD, the encrypted key of the first SP by using a private key of the SD; and
storing the decrypted key of the first SP in a first instance corresponding to the first SP among a plurality of instances of the SD.

### Claim 2 (depends on 1)

The method of claim 1, further comprising generating, by the application, the plurality of instances of the SD corresponding to the plurality of SPs.

### Claim 3 (depends on 2)

The method of claim 2, wherein generating the plurality of instances comprises:
installing, by the application, the SD in the SA, based on information received from a secure area issuer; and
generating the plurality of instances by instantiating the SD.

### Claim 4 (depends on 1)

The method of claim 1, wherein the certificate of the SD comprises a public key of the SD,
wherein, the certificate of each of the plurality of SPs comprises a public key of each of the plurality of SPs, and
wherein the key of the first SP is a symmetric key for the first SP to use to provide an access service through a secure channel.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first signed data received from the first SP comprises:
the key of the first SP encrypted using a public key of the SD; and
a signature using a private key of the first SP.

### Claim 6 (depends on 1)

The method of claim 1, wherein obtaining the encrypted key of the first SP from the first signed data comprises authenticating the first signed data by using a public key of the first SP.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving, by the application, second signed data from a second SP among the plurality of SPs;
authenticating, by the application, the second signed data by using a certificate of the second SP received from the second SP and obtaining an encrypted key of the second SP from the second signed data;
decrypting, by the SD, the encrypted key of the second SP by using a private key of the SD; and
storing the decrypted key of the second SP in a second instance corresponding to the second SP among the plurality of instances of the SD.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
performing mutual authentication between a first device providing an access service related to the first SP and the first instance by using the key of the first SP stored in the first instance, and setting up a secure channel;
generating, by the first instance, a session key by using the key of the first SP, and transmitting the session key to the first device through the secure channel;
generating an ultra-wide band (UWB) session key by using the session key; and
performing ranging by transmitting or receiving a ranging frame including a scrambled timestamp sequence (STS) code generated using the UWB session key.

### Claim 9 (depends on 8)

The method of claim 8, wherein setting up the secure channel comprises setting up the secure channel by using a Bluetooth communication method, and
wherein performing the ranging comprises transmitting or receiving the ranging frame by using a UWB communication method.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
performing mutual authentication between a first device providing an access service related to the first SP and the first instance by using the key of the first SP stored in the first instance, and setting up a secure channel;
generating, by the first instance, a session key by using the key of the first SP, and transmitting the session key to the first device through the secure channel;
receiving an ultra-wide band (UWB) session key through the secure channel; and
performing ranging by transmitting or receiving a ranging frame including a scrambled timestamp sequence (STS) code generated using the UWB session key.

### Claim 11

An electronic device comprising:
a secure area configured to store keys for the electronic device to access a plurality of services; and
a processor connected to the secure area,
wherein a secure domain installed in the secure area is configured to transmit a certificate of the secure domain to a plurality of service providers (SPs),
wherein the processor is configured to control an application installed in the electronic device to:
receive a certificate of each of the plurality of SPs from the plurality of SPs;
receive first signed data from a first SP among the plurality of SPs; and
authenticate the first signed data by using a certificate of the first SP received from the first SP and obtain an encrypted key of the first SP from the first signed data, and
wherein the secure domain installed in the secure area is further configured to:
decrypt the encrypted key of the first SP by using a private key of the secure domain, and
store the decrypted key of the first SP in a first instance corresponding to the first SP among a plurality of instances of the secure domain.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the processor is further configured to control the application to generate the plurality of instances of the secure domain corresponding to the plurality of SPs.

### Claim 13 (depends on 12)

The electronic device of claim 12, wherein the processor is further configured to control the application to
install the secure domain in the secure area, based on information received from a secure area issuer, and
generate the plurality of instances by instantiating the secure domain.

### Claim 14 (depends on 11)

The electronic device of claim 11, wherein the certificate of the secure domain comprises a public key of the secure domain,
wherein the certificate of each of the plurality of SPs comprises a public key of each of the plurality of SPs, and
wherein the key of the first SP is a symmetric key for the first SP to use to provide an access service through a secure channel.

### Claim 15 (depends on 11)

The electronic device of claim 11, wherein the first signed data received from the first SP comprises the key of the first SP encrypted using a public key of the secure domain and a signature using a private key of the first SP.

### Claim 16 (depends on 11)

The electronic device of claim 11, wherein the processor is further configured to control the application to authenticate the first signed data by using a public key of the first SP to obtain the encrypted key of the first SP from the first signed data.

### Claim 17 (depends on 11)

The electronic device of claim 11, wherein the processor is further configured to control the application to
receive second signed data from a second SP among the plurality of SPs,
authenticate the second signed data by using a certificate of the second SP received from the second SP, and
obtain an encrypted key of the second SP from the second signed data, and
wherein the secure domain installed in the secure area is further configured to
decrypt the encrypted key of the second SP by using a private key of the secure domain, and
store the decrypted key of the second SP in a second instance corresponding to the second SP among the plurality of instances of the secure domain.

### Claim 18 (depends on 11)

The electronic device of claim 11, wherein the first instance is configured to transmit a session key generated using the key of the first SP to a first device through a secure channel set up by the secure domain, and
wherein the secure domain installed in the secure area is further configured to:
perform mutual authentication between a first device providing an access service related to the first SP and the first instance by using the key of the first SP stored in the first instance, and
generate an ultra-wide band (UWB) session key by using the session key, and control a UWB module to perform ranging by transmitting a ranging frame to or receiving the ranging frame from the first device, wherein the ranging frame includes a scrambled timestamp sequence (STS) code generated using the UWB session key.

### Claim 19 (depends on 11)

The electronic device of claim 11, wherein the secure domain installed in the secure area is further configured to
perform mutual authentication between a first device providing an access service related to the first SP and the first instance by using the key of the first SP stored in the first instance, and
set up a secure channel,
wherein the first instance is configured to:
transmit a session key generated using the key of the first SP to the first device through the secure channel,
receive an ultra-wide band (UWB) session key through the secure channel, and
control a UWB module to perform ranging by transmitting or receiving a ranging frame including a scrambled timestamp sequence (STS) code generated using the UWB session key.

### Claim 20

A non-transitory computer-readable recording medium storing a program for causing, when executed by an electronic device, the electronic device to perform a method of managing keys for accessing a plurality of services, wherein the method comprises:
transmitting, by a secure domain (SD) in a secure area of the electronic device, a certificate of the SD to a plurality of service providers (SPs);
receiving, by an application installed in the electronic device, a certificate of each of the plurality of SPs from the plurality of SPs;
receiving, by the application, first signed data from a first SP among the plurality of SPs;
authenticating, by the application, the first signed data by using a certificate of the first SP received from the first SP and obtaining an encrypted key of the first SP from the first signed data;
decrypting, by the secure domain, the encrypted key of the first SP by using a private key of the SD; and
storing the decrypted key of the first SP in a first instance corresponding to the first SP among a plurality of instances of the secure domain.
