# US 2024/0193595 A1 · Offline mode for distribution of encryption keys

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

- Number: US 2024/0193595 A1
- Document ID: US20240193595A1
- Status: Published application
- Kind: A1
- Application number: 18/444,568
- Filed: 2024-02-16
- Published: 2024-06-13
- Earliest claimed: 2017-10-20
- Assignees: Stripe, Inc.
- Applicants: Stripe, Inc.
- Inventors: Michael David DAHN; Bryan Daniel BERG
- Web page: https://patentgrep.com/patent/US20240193595A1

## CPC

- G06Q 20/3829: {involving key management}
- G06Q 20/38215: {Use of certificates or encrypted proofs of transaction rights}
- H04L 9/0819: {Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) (network architectures or network communication protocols for key distribution in a packet data network H04L63/062)}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- G06Q 2220/10: Usage protection of distributed data files
- 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
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The subject technology enables encryption key distribution when a processor is in offline mode. When offline, key distribution servers can distribute private/public key pairs in place of the processor. The servers can distribute a public key to a user device for encryption of data. The encrypted data can be provided to the processor, which can return a token in response to provide to the first server.

## Claims

### Claim 1

A method comprising:
ascertaining communication from a user device to a payment processor is unavailable and, in response, obtaining, by the user device, a public key from a key distribution server, the key distribution server being in communication with a merchant server;
encrypting, by the user device, payment information using the public key;
ascertaining communication from the user device to the payment processor is available;
in response to transmitting the encrypted payment information to the payment processor, receiving, by the user device and from the payment processor, a token, the token being based on the payment information decrypted using a private key from the key distribution server; and
sending, by the user device, the token to the merchant server for processing as a proxy of the payment information.

### Claim 2 (depends on 1)

The method of claim 1, wherein obtaining the public key from the key distribution server comprises:
receiving, by the user device and from the merchant server, a form for user input, wherein the form includes an instruction to encrypt the payment information using the public key and wherein the merchant server received the public key from the key distribution server.

### Claim 3 (depends on 2)

The method of claim 2, wherein sending the token to the merchant server comprises:
associating, by the user device, the token with the form; and
submitting, by the user device and to the merchant server, the form.

### Claim 4 (depends on 1)

The method of claim 1, wherein the public key, from the key distribution server, is sourced from a dynamic public-private key pair randomly generated by the payment processor.

### Claim 5 (depends on 4)

The method of claim 4, wherein the dynamic public-private key pair is associated with an encryption usage period and a decryption expiry time, the decryption expiry time after an end of the encryption usage period.

### Claim 6 (depends on 1)

The method of claim 1, wherein the public and private keys include ephemeral keys.

### Claim 7 (depends on 1)

The method of claim 1, further comprising receiving an offline mode indicator from the merchant server and sending of the token is based on the offline mode indicator.

### Claim 8

An electronic device comprising:
a memory; and
a processor configured to:
ascertain communication from a user device to a payment processor is unavailable and, in response, obtaining, by the user device, a public key from a key distribution server, the key distribution server being in communication with a merchant server;
encrypt, by the user device, payment information using the public key;
ascertain communication from the user device to the payment processor is available;
in response to transmitting the encrypted payment information to the payment processor, receive, by the user device and from the payment processor, a token, the token being based on the payment information decrypted using a private key from the key distribution server; and
send, by the user device, the token to the merchant server for processing as a proxy of the payment information.

### Claim 9 (depends on 8)

The electronic device of claim 8, wherein the processor is configured to obtain the public key from the key distribution server by:
receiving, by the user device and from the merchant server, a form for user input, wherein the form includes an instruction to encrypt the payment information using the public key and wherein the merchant server received the public key from the key distribution server.

### Claim 10 (depends on 9)

The electronic device of claim 9, wherein the processor is configured to send the token to the merchant server by:
associating, by the user device, the token with the form; and
submitting, by the user device and to the merchant server, the form.

### Claim 11 (depends on 8)

The electronic device of claim 8, wherein the public key, from the key distribution server, is sourced from a dynamic public-private key pair randomly generated by the payment processor.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the dynamic public-private key pair is associated with an encryption usage period and a decryption expiry time, the decryption expiry time after an end of the encryption usage period.

### Claim 13 (depends on 8)

The electronic device of claim 8, wherein the public and private keys include ephemeral keys.

### Claim 14 (depends on 8)

The electronic device of claim 8, wherein the processor is further configured to receive an offline mode indicator from the merchant server and sending of the token is based on the offline mode indicator.

### Claim 15

A non-transitory computer-readable medium comprising:
computer-readable instructions that, when executed by a processor, cause the processor to perform one or more operations comprising:
ascertaining communication from a user device to a payment processor is unavailable and, in response, obtaining, by the user device, a public key from a key distribution server, the key distribution server being in communication with a merchant server;
encrypting, by the user device, payment information using the public key;
ascertaining communication from the user device to the payment processor is available;
in response to transmitting the encrypted payment information to the payment processor, receiving, by the user device and from the payment processor, a token, the token being based on the payment information decrypted using a private key from the key distribution server; and
sending, by the user device, the token to the merchant server for processing as a proxy of the payment information.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein obtaining the public key from the key distribution server comprises:
receiving, by the user device and from the merchant server, a form for user input, wherein the form includes an instruction to encrypt the payment information using the public key and wherein the merchant server received the public key from the key distribution server.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein sending the token to the merchant server comprises:
associating, by the user device, the token with the form; and
submitting, by the user device and to the merchant server, the form.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the public key, from the key distribution server, is sourced from a dynamic public-private key pair randomly generated by the payment processor.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the dynamic public-private key pair is associated with an encryption usage period and a decryption expiry time, the decryption expiry time after an end of the encryption usage period.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the public and private keys include ephemeral keys.
