GoogleApi.Gmail.V1.Model.SmimeInfo (google_api_gmail v0.13.3) View Source

An S/MIME email config.

Attributes

  • encryptedKeyPassword (type: String.t, default: nil) - Encrypted key password, when key is encrypted.
  • expiration (type: String.t, default: nil) - When the certificate expires (in milliseconds since epoch).
  • id (type: String.t, default: nil) - The immutable ID for the SmimeInfo.
  • isDefault (type: boolean(), default: nil) - Whether this SmimeInfo is the default one for this user's send-as address.
  • issuerCn (type: String.t, default: nil) - The S/MIME certificate issuer's common name.
  • pem (type: String.t, default: nil) - 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 (type: String.t, default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Gmail.V1.Model.SmimeInfo{
  encryptedKeyPassword: String.t(),
  expiration: String.t(),
  id: String.t(),
  isDefault: boolean(),
  issuerCn: String.t(),
  pem: String.t(),
  pkcs12: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.