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. For administrators managing identities and keypairs for users in their organization, requests require authorization with a service account that has domain-wide delegation authority to impersonate users with the https://www.googleapis.com/auth/gmail.settings.basic scope. For users managing their own identities and keypairs, requests require hardware key encryption turned on and configured.

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.