# US 2019/0356495 A1 · Digital signature verification for asynchronous responses

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

- Number: US 2019/0356495 A1
- Document ID: US20190356495A1
- Status: Published application
- Kind: A1
- Application number: 16/525,174
- Filed: 2019-07-29
- Published: 2019-11-21
- Earliest claimed: 2016-12-13
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Arjun Dasarakothapalli; Morgan Akers; David Alan Blunt; Darin Keith McAdams
- Web page: https://patentgrep.com/patent/US20190356495A1

## CPC

- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/30: Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
- H04L 9/3247: {involving digital signatures}
- H04L 9/3268: {using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A client obtains, in response to a request to a server, a response that includes data for fulfillment of the request, a digital signature that can be verified using a digital certificate, and location information that specifies a location where the digital certificate can be obtained. The client uses the location information to access the location and obtains the digital certificate. Using the digital certificate, the client evaluates the digital signature provided in the response to determine whether the digital signature is valid. If the digital signature is valid, the client accepts the data included in the response for fulfillment of the request.

## Claims

### Claim 1

A computer-implemented method, comprising:
transmitting, to a server, a request;
obtaining, in response to the request, response data for the request, a digital signature verifiable using a digital certificate, and location information that indicates a location from which the digital certificate is obtainable;
utilizing the location information to obtain, from the location, the digital certificate;
evaluating the digital certificate to determine that the digital certificate is valid;
utilizing the digital certificate to verify that the digital signature obtained in response to the request is valid; and
as a result of the digital certificate and the digital signature being valid, accepting the response data obtained in response to the request.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the response data, digital signature, and location information are encoded in a JavaScript Object Notation Web Signature token.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein evaluating the digital certificate to determine that the digital certificate is valid includes determining that a subject of the digital certificate specifies an identifier corresponding to the server.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein evaluating the digital certificate to determine that the digital certificate is valid includes determining that the digital certificate was issued by a certificate authority trusted by a client.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein evaluating the digital certificate to determine that the digital certificate is valid includes determining that a subject of the digital certificate specifies an identifier corresponding to an entity associated with the server that generated the digital signature on behalf of the server.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein utilizing the digital certificate to verify that the digital signature obtained in response to the request is valid comprises:
obtaining, from the digital certificate, a public cryptographic key corresponding to a cryptographic key pair;
utilizing the public cryptographic key to determine that the digital signature was generated using a private cryptographic key of the cryptographic key pair; and
as a result of determining that the digital signature was generated using the private cryptographic key, validating the digital signature.

### Claim 7

A system, comprising at least one computing device that implements one or more services, wherein the one or more services:
obtain, in response to transmission of a request to a server, a response to the request, wherein the response includes at least response data, a digital signature verifiable using a digital certification, and location information that indicates a location from which the digital certificate is obtainable;
obtain, using the location information, the digital certificate from the location;
evaluate the digital certificate to determine whether the digital certificate is valid;
if the digital certificate is valid, use the digital certificate to determine whether the digital signature obtained in response to the request is valid; and
if the digital signature obtained in response to the request is valid, accept the response data obtained in response to the request.

### Claim 8 (depends on 7)

The system of claim 7, wherein evaluating the digital certificate to determine whether the digital certificate is valid further comprises determining whether the digital certificate is expired such that if the digital certificate is expired, the response from the server is rejected.

### Claim 9 (depends on 7)

The system of claim 7, wherein evaluating the digital certificate to determine whether the digital certificate is valid further comprises evaluating a subject of the digital certificate to determine whether the subject specified an identifier corresponding to an entity associated with the server that generated the digital signature on behalf of the server.

### Claim 10 (depends on 7)

The system of claim 7, wherein the response is encoded in a JavaScript Object Notation Web Signature token.

### Claim 11 (depends on 7)

The system of claim 7, wherein the location information is a Uniform Resource Identifier corresponding to a datastore in which the digital certificate is stored.

### Claim 12 (depends on 7)

The system of claim 7, wherein using the digital certificate to determine whether the digital signature obtained in response to the request is valid further comprises:
obtaining, from the digital certificate, a public cryptographic key corresponding to a cryptographic key pair; and
using the public cryptographic key to determine whether the digital signature was generated using a private cryptographic key of the cryptographic key pair such that if the digital signature was generated using the private cryptographic key, the digital signature is valid.

### Claim 13 (depends on 7)

The system of claim 7, wherein:
the request specifies an algorithm to be utilized by the server to generate the digital signature; and
the one or more services further evaluate the digital signature to determine whether the digital signature was generated using the algorithm such that if the digital signature is generated using an alternative to the algorithm, the response is rejected.

### Claim 14

A non-transitory computer-readable storage medium storing thereon executable instructions that, as a result of being executed by one or more processors of a computer system, cause the computer system to at least:
transmit, to a server, a request for data;
obtain, in response to the request, a response comprising the data, a digital signature verifiable using a digital certificate, and location information corresponding to a location from which the digital certificate is obtainable;
use the location information to access the location to obtain the digital certificate;
as a result of the digital certificate being valid, use the digital certificate to verify that the digital signature is valid; and
as a result of the digital signature being valid, accept the response.

### Claim 15 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the response is encoded in a in a JavaScript Object Notation Web Signature token.

### Claim 16 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the executable instructions further cause the computer system to:
evaluate a subject field of the digital certificate to determine that the digital certificate specifies an identifier corresponding to the server; and
as a result of the subject field of the digital certificate specifying the identifier, determine that the digital certificate is valid.

### Claim 17 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the executable instructions further cause the computer system to:
evaluate a subject field of the digital certificate to determine that the digital certificate specifies an identifier corresponding to an entity associated with the server and generated the digital signature on behalf of the server; and
as a result of the subject field of the digital certificate specifying the identifier, determine that the digital certificate is valid.

### Claim 18 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the executable instructions further cause the computer system to:
at a time after obtaining the response, determine that the digital certificate has become invalid;
obtain second location information corresponding to a second location from which a second digital certificate usable to verify the digital signature is obtainable; and
use the second location information to access the second location to obtain the second digital certificate.

### Claim 19 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the location information comprises a Uniform Resource Identifier usable to request the digital certificate.

### Claim 20 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the instructions further cause the computer system to:
obtain, from a certificate authority that issued the digital certificate, a certificate revocation list;
evaluate the certificate revocation list to determine whether the digital certificate has been revoked; and
determine, as a result of the digital certificate being absent from the certificate revocation list, that the digital certificate is valid.
