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

SmimeInfo

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

An S/MIME email config.

interface SmimeInfo {
encryptedKeyPassword?: string;
expiration?: bigint;
id?: string;
isDefault?: boolean;
issuerCn?: string;
pem?: string;
pkcs12?: Uint8Array;
}

§Properties

§
encryptedKeyPassword?: string
[src]

Encrypted key password, when key is encrypted.

§
expiration?: bigint
[src]

When the certificate expires (in milliseconds since epoch).

§
id?: string
[src]

The immutable ID for the SmimeInfo.

§
isDefault?: boolean
[src]

Whether this SmimeInfo is the default one for this user's send-as address.

§
issuerCn?: string
[src]

The S/MIME certificate issuer's common name.

§
pem?: string
[src]

PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key).

§
pkcs12?: Uint8Array
[src]

PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set appropriately.