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
§
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.