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.
§
privateKeyMetadata?: CsePrivateKeyMetadata[]
[src]Metadata for instances of this key pair's private key.