Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DecryptionMetadata

import type { DecryptionMetadata } from "https://googleapis.deno.dev/v1/drive:v3.ts";

Representation of the CSE DecryptionMetadata.

interface DecryptionMetadata {
aes256GcmChunkSize?: string;
encryptionResourceKeyHash?: string;
jwt?: string;
kaclsId?: bigint;
kaclsName?: string;
keyFormat?: string;
wrappedKey?: string;
}

§Properties

§
aes256GcmChunkSize?: string
[src]

Chunk size used if content was encrypted with the AES 256 GCM Cipher. Possible values are: - default - small

§
encryptionResourceKeyHash?: string
[src]

The URL-safe Base64 encoded HMAC-SHA256 digest of the resource metadata with its DEK (Data Encryption Key); see https://developers.google.com/workspace/cse/reference

§
jwt?: string
[src]

The signed JSON Web Token (JWT) which can be used to authorize the requesting user with the Key ACL Service (KACLS). The JWT asserts that the requesting user has at least read permissions on the file.

§
kaclsId?: bigint
[src]

The ID of the KACLS (Key ACL Service) used to encrypt the file.

§
kaclsName?: string
[src]

The name of the KACLS (Key ACL Service) used to encrypt the file.

§
keyFormat?: string
[src]

Key format for the unwrapped key. Must be tinkAesGcmKey.

§
wrappedKey?: string
[src]

The URL-safe Base64 encoded wrapped key used to encrypt the contents of the file.