Tearleads

DocumentContentKeyKeyringWireRecord

AES-256-GCM sealed keyring containing all predecessor DEKs 1..(contentKeyEpoch - 1) under the current DEK.

Shape

object

7 fields
  • contentKeyCommitmentstringrequired
    • at most 64 characters

    Content-key commitment of the epoch that seals this keyring.

  • contentKeyEpochintegerrequired
    • 2 to 65,536

    Content-key epoch (>= 2) whose DEK seals this keyring.

  • documentIdstringrequired
  • ivstringrequired
    • at most 16 characters

    12-byte AES-GCM IV, base64-encoded.

  • sealedstringrequired
    • at most 5,592,352 characters

    Exact-length AES-GCM ciphertext + tag (8 + (contentKeyEpoch - 1) * 64 + 16 bytes), base64-encoded.

  • sealingSuitestringrequired

    Keyring sealing suite (tearleads.document.content-key-keyring.aes-256-gcm-current-dek).

  • versionnumberrequired
    • always 1

Other fields are allowed.

Used by

Schemas