# US 2021/0176050 A1 · Wrapped Keys with Access Control Predicates

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

- Number: US 2021/0176050 A1
- Document ID: US20210176050A1
- Status: Published application
- Kind: A1
- Application number: 16/709,334
- Filed: 2019-12-10
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Nicolas Lidzborski; Laetitia Estelle Baudoin
- Web page: https://patentgrep.com/patent/US20210176050A1

## CPC

- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 63/06: {for supporting key management in a packet data network (cryptographic mechanisms or cryptographic arrangements for key management H04L9/08)}
- H04L 9/0822: {using key encryption key}
- H04L 9/0866: {involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics}
- H04L 9/0877: {using additional device, e.g. trusted platform module [TPM], smartcard, USB or hardware security module [HSM]}
- H04L 9/0897: {involving additional devices, e.g. trusted platform module [TPM], smartcard or USB}
- 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 63/101: {Access control lists [ACL]}
- H04L 63/0815: {providing single-sign-on or federations}
- H04L 2463/062: applying encryption of the keys
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for wrapped keys with access control predicates includes obtaining a cryptographic key for content. The method also includes encrypting the content using the cryptographic key and generating an encryption request. The encryption request requests that a third party cryptography service encrypts an encapsulation of the cryptographic key and an access control condition governing access to the content. The method also includes communicating the encryption request to the third party cryptography service. The encryption request includes the cryptographic key.

## Claims

### Claim 1

A method comprising:
obtaining, at data processing hardware, a cryptographic key for content associated with a user;
encrypting, by the data processing hardware, the content using the cryptographic key;
generating, by the data processing hardware, an encryption request, the encryption request requesting that a third party cryptography service encrypts an encapsulation of the cryptographic key and an access control condition governing access to the content of the user; and
communicating, by the data processing hardware, the encryption request to the third party cryptography service, the encryption request comprising the cryptographic key.

### Claim 2 (depends on 1)

The method of claim 1, wherein the encryption request further comprises the access control condition, the access control condition configured by the user associated with the content.

### Claim 3 (depends on 1)

The method of claim 1, wherein the encryption request requesting that the third party cryptography service encrypts the encapsulation comprises the encryption request requesting the third party cryptography service to encrypt the encapsulation using a symmetric encryption with a key encryption key (KEK).

### Claim 4 (depends on 1)

The method of claim 1, wherein the third party cryptography service corresponds to a key service manager (KSM) of a distributed storage system or a hardware security module (HSM) device of the distributed storage system.

### Claim 5 (depends on 1)

The method of claim 1, wherein the access control condition corresponds to a respective condition for dynamic access control.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving, at the data processing hardware, a decryption request to decrypt the encrypted content associated with the user;
communicating, by the data processing hardware, to the third party cryptography service, the decryption request to decrypt the encapsulation of the cryptographic key for the content and the access control condition governing access to the content of the user subject to the decryption request;
when the decryption request satisfies the access control condition, retrieving, by the data processing hardware, the cryptographic key from the third party cryptography service; and
decrypting, by the data processing hardware, the encrypted content using the cryptographic key.

### Claim 7 (depends on 6)

The method of claim 6, wherein the decryption request comprises an authentication token, the authentication token indicating that a requestor of the decryption request is authorized to receive the cryptographic key.

### Claim 8 (depends on 7)

The method of claim 7, wherein the authentication token comprises a JavaScript object notation (JSON) web token, the JSON web token comprising a signature based on a public key infrastructure (PKI) certificate.

### Claim 9

A method comprising:
receiving, at data processing hardware, a decryption request to decrypt encrypted content associated with a user;
communicating, by the data processing hardware, to a third party cryptography service, the decryption request to decrypt an encapsulation of a cryptographic key for the content and an access control condition governing access to the content of the user subject to the decryption request, the encapsulation originally encrypted by the third party cryptography service;
when the decryption request satisfies the access control condition, retrieving, by the data processing hardware, the cryptographic key from the third party cryptography service; and
decrypting, by the data processing hardware, the encrypted content using the cryptographic key.

### Claim 10 (depends on 9)

The method of claim 9, wherein the decryption request comprises an authentication token, the authentication token indicating that a requestor of the decryption request is authorized to receive the cryptographic key.

### Claim 11 (depends on 10)

The method of claim 10, wherein the authentication token comprises a JavaScript object notation (JSON) web token, the JSON web token comprising a signature based on a public key infrastructure (PKI) certificate.

### Claim 12 (depends on 9)

The method of claim 9, wherein the access control condition comprises a user-configured access control condition for the content.

### Claim 13 (depends on 9)

The method of claim 9, wherein the third party cryptography service originally encrypted the encapsulation using a symmetric encryption with a key encryption key (KEK).

### Claim 14 (depends on 9)

The method of claim 9, wherein the third party cryptography service corresponds to a key service manager (KSM) of a distributed storage system or a hardware security module (HSM) device of a distributed storage system.

### Claim 15 (depends on 9)

The method of claim 9, wherein the access control condition corresponds to a respective condition for dynamic access control.

### Claim 16

A system comprising:
data processing hardware; and
memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed on the data processing hardware cause the data processing hardware to perform operations comprising:
obtaining a cryptographic key for content associated with a user;
encrypting the content using the cryptographic key;
generating an encryption request, the encryption request requesting that a third party cryptography service encrypts an encapsulation of the cryptographic key and an access control condition governing access to the content of the user; and
communicating the encryption request to the third party cryptography service, the encryption request comprising the cryptographic key.

### Claim 17 (depends on 16)

The system of claim 16, wherein the encryption request further comprises the access control condition, the access control condition configured by the user associated with the content.

### Claim 18 (depends on 16)

The system of claim 16, wherein the encryption request requesting that the third party cryptography service encrypts the encapsulation comprises the encryption request requesting the third party cryptography service to encrypt the encapsulation using a symmetric encryption with a key encryption key (KEK).

### Claim 19 (depends on 16)

The system of claim 16, wherein the third party cryptography service corresponds to a key service manager (KSM) of a distributed storage system or a hardware security module (HSM) device of the distributed storage system.

### Claim 20 (depends on 16)

The system of claim 16, wherein the access control condition corresponds to a respective condition for dynamic access control.

### Claim 21 (depends on 16)

The system of claim 16, wherein the operations further comprise:
receiving a decryption request to decrypt the encrypted content associated with the user;
communicating to the third party cryptography service, the decryption request to decrypt the encapsulation of the cryptographic key for the content and the access control condition governing access to the content of the user subject to the decryption request;
when the decryption request satisfies the access control condition, retrieving the cryptographic key from the third party cryptography service; and
decrypting the encrypted content using the cryptographic key.

### Claim 22 (depends on 21)

The system of claim 21, wherein the decryption request comprises an authentication token, the authentication token indicating that a requestor of the decryption request is authorized to receive the cryptographic key.

### Claim 23 (depends on 22)

The system of claim 22, wherein the authentication token comprises a JavaScript object notation (JSON) web token, the JSON web token comprising a signature based on a public key infrastructure (PKI) certificate.

### Claim 24

A system comprising:
data processing hardware; and
memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed on the data processing hardware cause the data processing hardware to perform operations comprising:
receiving a decryption request to decrypt encrypted content associated with a user;
communicating, to a third party cryptography service, the decryption request to decrypt an encapsulation of a cryptographic key for the content and an access control condition governing access to the content of the user subject to the decryption request, the encapsulation originally encrypted by the third party cryptography service;
when the decryption request satisfies the access control condition, retrieving the cryptographic key from the third party cryptography service; and
decrypting the encrypted content using the cryptographic key.

### Claim 25 (depends on 24)

The system of claim 24, wherein the decryption request comprises an authentication token, the authentication token indicating that a requestor of the decryption request is authorized to receive the cryptographic key.

### Claim 26 (depends on 25)

The system of claim 25, wherein the authentication token comprises a JavaScript object notation (JSON) web token, the JSON web token comprising a signature based on a public key infrastructure (PKI) certificate.

### Claim 27 (depends on 24)

The system of claim 24, wherein the access control condition comprises a user-configured access control condition for the content.

### Claim 28 (depends on 24)

The system of claim 24, wherein the third party cryptography service originally encrypted the encapsulation using a symmetric encryption with a key encryption key (KEK).

### Claim 29 (depends on 24)

The system of claim 24, wherein the third party cryptography service corresponds to a key service manager (KSM) of a distributed storage system or a hardware security module (HSM) device of the distributed storage system.

### Claim 30 (depends on 24)

The system of claim 24, wherein the access control condition corresponds to a respective condition for dynamic access control.
