×

Policy enforcement with associated data

  • US 9,547,771 B2
  • Filed: 02/12/2013
  • Issued: 01/17/2017
  • Est. Priority Date: 02/12/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for enforcing policy, comprising:

  • under the control of one or more computer systems configured with executable instructions,using an authenticated encryption mode of a cipher to generate an authenticated ciphertext based at least in part on a key, a plaintext, and associated data, the authenticated ciphertext including a message authentication code and a ciphertext, wherein the message authentication code is calculated using the plaintext and the associated data;

    associating a policy with the key, the policy specifying a value for the associated data, for providing the plaintext;

    receiving, in connection with a request to decrypt the plaintext, a ciphertext, a purported message authentication code, and a purported associated data;

    verifying that the purported messaged authentication code matches the message authentication code based at least in part on the received ciphertext and the purported associated data;

    as a result of verifying that the purported message authentication code matches the message authentication code, determining, based at least in part on the purported associated data, whether the purported associated data matches the value for the associated data specified by the policy; and

    providing the plaintext as a result of determining that the policy allows providing the plaintext, where the policy allows for providing the plaintext if the purported associated data matches the value for the associated data specified by the policy.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×