# US 2022/0021537 A1 · Privacy-preserving identity attribute verification using policy tokens

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

- Number: US 2022/0021537 A1
- Document ID: US20220021537A1
- Status: Published application
- Kind: A1
- Application number: 16/928,367
- Filed: 2020-07-14
- Published: 2022-01-20
- Earliest claimed: 2020-07-14
- Assignees: Visa International Service Association
- Applicants: Visa International Service Association
- Inventors: Kim Ritter Wagner; Sunpreet Singh Arora; Gaven James Watson; Mihai Christodorescu; Shashank Agrawal
- Web page: https://patentgrep.com/patent/US20220021537A1

## CPC

- 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/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- 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/0869: {involving random numbers or seeds}
- H04L 9/3218: {using proof of knowledge, e.g. Fiat-Shamir, GQ, Schnorr, ornon-interactive zero-knowledge proofs}
- H04L 9/3221: {interactive zero-knowledge proofs}
- H04L 9/3247: {involving digital signatures}
- H04L 63/0807: {using tickets, e.g. Kerberos (cryptographic mechanisms or cryptographic arrangements for entity authentication using tickets or tokens H04L9/3213)}
- H04W 12/069: using certificates or pre-shared keys
- 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

Methods and systems for privacy-preserving identity attribute verification are presented. During an interaction between a relying entity and a user, a relying entity computer can transmit a policy token to a user device. The policy token may indicate the information needed by the relying entity in order to perform the interaction. The user device can verify the policy token, then use the policy token in conjunction with an identity token to generate a zero-knowledge proof. The user device may transmit the zero-knowledge proof to an identity service provider computer. The identity service provider computer may verify the zero-knowledge proof, then generate a verification message. The identity service provider computer may sign the verification message and transmit the signed verification message to the relying entity computer. The relying entity computer may verify the verification message and complete the interaction with the user.

## Claims

### Claim 1

A method comprising:
receiving, by a user device, from a relying entity computer, a policy token, wherein the policy token was issued to the relying entity computer from a token server computer;
determining, by the user device, based on the policy token and an identity token corresponding to a user, a set of identity attributes from the identity token, wherein the identity token was issued to the user device by the token server computer; and
initiating, by the user device, verification of the user using the policy token and the set of identity attributes from the identity token.

### Claim 2 (depends on 1)

The method of claim 1, wherein the policy token is cryptographically signed using a private key corresponding to the token server computer, and wherein the method further comprises:
verifying, by the user device, the policy token using a public key corresponding to the token server computer.

### Claim 3 (depends on 1)

The method of claim 1, wherein the identity token is a delegated identity token, wherein the user device is a second user device, and wherein the method further comprises:
receiving, by the second user device, the delegated identity token from a first user device.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving, by the user device, from the token server computer, the identity token, the identity token comprising one or more identity attributes and one or more identity attribute signatures, wherein the one or more identity attributes and the one or more identity attribute signatures correspond to one or more identity providers, wherein the one or more identity providers provided the one or more identity attributes and the one or more identity attribute signatures to the token server computer.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving, by the user device, from an identity provider, via the token server computer, a first cryptographic nonce and a public identity provider key;
validating, by the user device, the identity provider public key;
generating, by the user device, a second random nonce;
generating, by the user device, a commitment of a master secret;
generating, by the user device, a proof of the commitment;
generating, by the user device, a message comprising the commitment, the proof of the commitment, the second random nonce, and a user device public key;
encrypting, by the user device, the message using the identity provider public key, thereby generating an encrypted message;
transmitting, by the user device, to the identity provider, via the token server computer, the encrypted message, wherein the identity provider decrypts the message using an identity provider private key and generates a cryptographic signature, a proof of the cryptographic signature, and one or more identity attributes;
receiving, by the user device, from the token server computer, the identity token comprising the one or more identity attributes, the cryptographic signature, and the proof of the cryptographic signature;
verifying, by the user device, the proof of the cryptographic signature; and
storing, by the user device, the identity token.

### Claim 6 (depends on 5)

The method of claim 5, wherein the one or more identity attributes, the cryptographic signature, and the proof of the cryptographic signature are encrypted using the user device public key, and wherein the method further comprises:
decrypting, by the user device, the one or more identity attributes, the cryptographic signature, and the proof of the cryptographic signature using a user device private key.

### Claim 7 (depends on 1)

The method of claim 1, wherein initiating verification of the user comprises the user device generating a zero-knowledge proof and then transmitting the zero-knowledge proof to an identity service provider computer, wherein the identity service provider computer verifies the zero-knowledge proof to verify the user.

### Claim 8 (depends on 7)

The method of claim 7, wherein the identity service provider computer generates a verification message based on the verification of the zero-knowledge proof, wherein the identity service provider computer signs the verification message using an identity service provider computer private key, wherein the identity service provider computer transmits the verification message to the relying entity computer, and wherein the relying entity computer evaluates the verification message, then performs an interaction with the user device.

### Claim 9 (depends on 7)

The method of claim 7, wherein the token server computer and the identity service provider computer are parts of a single computer entity.

### Claim 10 (depends on 7)

The method of claim 7, wherein the policy token comprises one or more predicates, wherein each predicate corresponds to one or more identity attributes from the set of identity attributes, and wherein the zero-knowledge proof corresponds to the one or more predicates and the set of identity attributes.

### Claim 11

A user device comprising:
a processor; and
a non-transitory computer readable medium coupled to the processor, the non-transitory computer readable medium comprising code, executable by the processor, for implementing a method comprising:
receiving from a relying entity computer, a policy token, wherein the policy token was issued to the relying entity computer from a token server computer;
determining based on the policy token and an identity token corresponding to a user, a set of identity attributes from the identity token, wherein the identity token was issued to the user device by the token server computer; and
initiating verification of the user using the policy token and the set of identity attributes from the identity token.

### Claim 12 (depends on 11)

The user device of claim 11, wherein the policy token was issued to the relying entity computer from the token server computer, wherein the policy token comprises one or more predicates, wherein each predicate corresponds to one or more identity attributes from the identity token corresponding to the user, and wherein initiating verification comprises,
generating a zero-knowledge proof based on the one or more predicates and the set of identity attributes, and
transmitting the zero-knowledge proof to an identity service provider computer, wherein the identity service provider computer verifies the zero-knowledge proof to verify the user.

### Claim 13 (depends on 12)

The user device of claim 12, wherein the zero-knowledge proof is additionally based on a cryptographic nonce, and wherein the method further comprises:
receiving from the relying entity computer, the cryptographic nonce; and
transmitting to the relying entity computer, the cryptographic nonce.

### Claim 14 (depends on 12)

The user device of claim 12, wherein each predicate of the one or more predicates comprises:
one or more target identity attributes;
one or more comparison values; and
a comparison function.

### Claim 15 (depends on 14)

The user device of claim 14, wherein the comparison function comprises an inequality function or a set-membership function.

### Claim 16 (depends on 14)

The user device of claim 14, wherein generating the zero-knowledge proof comprises generating one or more sub-proofs corresponding to each predicate of the one or more predicates, wherein the one or more sub-proofs corresponding to each predicate each indicate an output of a corresponding comparison function with inputs comprising:
the one or more comparison values; and
one or more identity attribute values corresponding to the one or more target identity attributes.

### Claim 17

A method comprising:
providing, by an identity service provider computer, a policy token to a relying entity computer;
receiving, by the identity service provider computer, from a user device, a zero-knowledge proof generated at least in part using the policy token and a set of identity attributes stored on the user device;
verifying, by the identity service provider computer, the zero-knowledge proof;
generating, by the identity service provider computer, based on the verification of the zero-knowledge proof, a verification message;
cryptographically signing, by the identity service provider computer, the verification message using a private key corresponding to the identity service provider computer; and
transmitting, by the identity service provider computer, to the relying entity computer, the verification message, wherein the relying entity computer thereafter performs an interaction with the user device based on the verification message.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
receiving, by the identity service provider computer, from the user device, a cryptographic nonce, wherein the user device received the cryptographic nonce from the relying entity computer; and
transmitting, by the identity service provider computer, to the relying entity computer, the cryptographic nonce, wherein the relying entity computer verifies the cryptographic nonce.

### Claim 19 (depends on 17)

The method of claim 17, wherein the relying entity computer verifies the verification message using a public key corresponding to the identity service provider computer.

### Claim 20 (depends on 17)

The method of claim 17, wherein the zero-knowledge proof comprises a plurality of sub-proofs, wherein the plurality of sub-proofs comprises one or more sub-proofs corresponding to one or more predicates from the policy token, and one or more sub-proofs corresponding to one or more identity attribute signatures corresponding to one or more identity attributes, and wherein verifying the zero-knowledge proof comprises:
verifying, by the identity service provider computer, the plurality of sub-proofs corresponding to the zero-knowledge proof using a plurality of sub-verifiers, the plurality of sub-verifiers each corresponding to a sub-proof of the plurality of sub-proofs.
