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

CseKeyPair

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

A client-side encryption S/MIME key pair, which is comprised of a public key, its certificate chain, and metadata for its paired private key. Gmail uses the key pair to complete the following tasks: - Sign outgoing client-side encrypted messages. - Save and reopen drafts of client-side encrypted messages. - Save and reopen sent messages. - Decrypt incoming or archived S/MIME messages.

interface CseKeyPair {
readonly disableTime?: Date;
readonly enablementState?: "stateUnspecified" | "enabled" | "disabled";
readonly keyPairId?: string;
readonly pem?: string;
pkcs7?: string;
privateKeyMetadata?: CsePrivateKeyMetadata[];
readonly subjectEmailAddresses?: string[];
}

§Properties

§
readonly disableTime?: Date
[src]

Output only. If a key pair is set to DISABLED, the time that the key pair's state changed from ENABLED to DISABLED. This field is present only when the key pair is in state DISABLED.

§
readonly enablementState?: "stateUnspecified" | "enabled" | "disabled"
[src]

Output only. The current state of the key pair.

§
readonly keyPairId?: string
[src]

Output only. The immutable ID for the client-side encryption S/MIME key pair.

§
readonly pem?: string
[src]

Output only. The public key and its certificate chain, in PEM format.

§
pkcs7?: string
[src]

Input only. The public key and its certificate chain. The chain must be in PKCS#7 format and use PEM encoding and ASCII armor.

§
privateKeyMetadata?: CsePrivateKeyMetadata[]
[src]

Metadata for instances of this key pair's private key.

§
readonly subjectEmailAddresses?: string[]
[src]

Output only. The email address identities that are specified on the leaf certificate.