# US 10,956,904 B2 · System and method for end-to-end key management

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

- Number: US 10,956,904 B2
- Document ID: US10956904B2
- Status: Granted
- Kind: B2
- Application number: 15/218,842
- Filed: 2016-07-25
- Published: 2018-01-25
- Granted: 2021-03-23
- Earliest claimed: 2016-07-25
- Assignees: Mastercard International Incorporated
- Applicants: MasterCard International Incorporated
- Inventors: Mehdi Collinge; Mohamed Abou El Enin; Andrea Bacioccola; Michael Ward
- Web page: https://patentgrep.com/patent/US10956904B2

## CPC

- G06Q 20/3829: {involving key management}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06Q 20/322: {Aspects of commerce using mobile devices [M-devices]}
- G06Q 20/3227: {using secure elements embedded in M-devices}
- G06Q 20/326: {Payment applications installed on the mobile devices}
- G06Q 20/382: {insuring higher security of transaction}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06Q 2220/00: Business processing using cryptography
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Provided are a system and method for managing encryption keys used by a payment application on a mobile device. The method includes executing a mobile payment application in a user domain of the mobile device, where the user domain is an operating environment in which applications are executed and accessed by a user, importing a plurality of encryption keys for use by the mobile payment application into a system domain of the mobile device, where the system domain is a more secure operating environment controlled by an operating system, encrypting payment information of the mobile payment application in the system domain using one or more of the imported keys while executing the mobile payment application in the user domain, and transmitting the encrypted payment information to a merchant.

## Claims

### Claim 1

A method of a mobile device, comprising:
executing, by a mobile device, a mobile payment application in a user domain of the mobile device;
storing, by the mobile device, a keystore in a system domain of the mobile device;
storing, by the mobile device, a plurality of encryption keys of the mobile payment application into the keystore of a mobile operating system of the mobile device in a system domain;
receiving, by the mobile device, via the system domain, an application programming interface (API) call from the user domain comprising an identifier of a cryptographic function, an identifier of the keystore, and an identifier of data to be encrypted;
in response to the API call,
selecting a cryptographic function using the identifier of the cryptographic function;
selecting the keystore using the identifier of the keystore;
retrieving the encryption key from the keystore corresponding to the cryptographic function;
selecting payment information of the mobile payment application using the identifier of the data to be encrypted;
encrypting the payment information; and
transmitting, by the mobile device, the encrypted payment information to a merchant.

### Claim 2 (depends on 1)

The method of claim 1, wherein a firewall exists between the mobile payment application in the user domain and the encryption keys stored in the keystore of the mobile operating system.

### Claim 3 (depends on 1)

The method of claim 1, wherein the plurality of encryption keys stored in the keystore of the mobile operating system comprise at least one mobile key.

### Claim 4 (depends on 1)

The method of claim 1, wherein the plurality of encryption keys stored in the keystore of the mobile operating system comprise an integrated circuit card (ICC) key pair.

### Claim 5 (depends on 1)

The method of claim 1, further comprising generating, by the mobile device, an encryption key in the system domain and storing the generated encryption key in the keystore of the mobile operating system in the system domain.

### Claim 6 (depends on 5)

The method of claim 5, wherein the generated encryption key comprises a local database encryption (LDE) key.

### Claim 7

A mobile device, comprising:
a processor;
a user domain;
a system domain; and
a non-transitory computer-readable medium storing executable instructions, that when executed by the processor causes the processor to perform the steps of:
executing a mobile payment application in the user domain,
storing a keystore in the system domain,
storing a plurality of encryption keys of the mobile payment application in the keystore,
receiving, via the system domain, an application programming interface (API) call from the user domain comprising an identifier of a cryptographic function, an identifier of the keystore, and an identifier of data to be encrypted; and
in response to the API call,
selecting a cryptographic function using the identifier of the cryptographic function,
selecting the keystore using the identifier of the keystore,
retrieving the encryption key from the key store corresponding to the cryptographic function,
selecting payment information of the mobile payment application using the identifier of the data to be encrypted,
encrypting the payment information, and
transmitting the encrypted payment information to a merchant.

### Claim 8 (depends on 7)

The mobile device of claim 7, wherein a firewall exists between the system domain and the user domain.

### Claim 9 (depends on 7)

The mobile device of claim 7, wherein the plurality of encryption keys stored in the keystore comprise at least one mobile key.

### Claim 10 (depends on 7)

The mobile device of claim 7, wherein the plurality of encryption keys stored in the keystore of the mobile operating system comprise an integrated circuit card (ICC) key pair.

### Claim 11 (depends on 7)

The mobile device of claim 7, wherein the non-transitory computer-readable medium stores executable instructions that when executed by the processor causes the processor to perform the steps of: generating an encryption key in the system domain and storing the generated encryption key in the keystore of the mobile operating system.

### Claim 12 (depends on 10)

The mobile device of claim 10, wherein the generated encryption key comprises a local database encryption (LDE) key.

### Claim 13

A non-transitory computer readable medium having stored therein instructions that when executed by a computer comprising a user domain and a system domain, causes the computer to perform a method comprising:
executing a mobile payment application in the user domain;
storing a keystore in the system domain;
storing a plurality of encryption keys of the mobile payment application in the keystore;
receiving, via the system domain, an application programming interface (API) call from the user domain comprising an identifier of a cryptographic function, an identifier of the keystore, and an identifier of data to be encrypted;
in response to the API call,
selecting a cryptographic function using the identifier of the cryptographic function,
selecting the keystore using the identifier of the keystore,
retrieving the encryption key from the keystore corresponding to the cryptographic function,
selecting payment information of the mobile payment application using the identifier of the data to be encrypted,
encrypting the payment information, and
transmitting the encrypted payment information to a merchant.
