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

CseIdentity

import type { CseIdentity } from "https://googleapis.deno.dev/v1/gmail:v1.ts";

The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages.

interface CseIdentity {
emailAddress?: string;
primaryKeyPairId?: string;
signAndEncryptKeyPairs?: SignAndEncryptKeyPairs;
}

§Properties

§
emailAddress?: string
[src]

The email address for the sending identity. The email address must be the primary email address of the authenticated user.

§
primaryKeyPairId?: string
[src]

If a key pair is associated, the ID of the key pair, CseKeyPair.

§
signAndEncryptKeyPairs?: SignAndEncryptKeyPairs
[src]

The configuration of a CSE identity that uses different key pairs for signing and encryption.