GoogleApi.Gmail.V1.Model.CseKeyPair (google_api_gmail v0.17.0)

View Source

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.

Attributes

  • disableTime (type: DateTime.t, default: nil) - 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.
  • enablementState (type: String.t, default: nil) - Output only. The current state of the key pair.
  • keyPairId (type: String.t, default: nil) - Output only. The immutable ID for the client-side encryption S/MIME key pair.
  • pem (type: String.t, default: nil) - Output only. The public key and its certificate chain, in PEM format.
  • pkcs7 (type: String.t, default: nil) - 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 (type: list(GoogleApi.Gmail.V1.Model.CsePrivateKeyMetadata.t), default: nil) - Metadata for instances of this key pair's private key.
  • subjectEmailAddresses (type: list(String.t), default: nil) - Output only. The email address identities that are specified on the leaf certificate.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Gmail.V1.Model.CseKeyPair{
  disableTime: DateTime.t() | nil,
  enablementState: String.t() | nil,
  keyPairId: String.t() | nil,
  pem: String.t() | nil,
  pkcs7: String.t() | nil,
  privateKeyMetadata:
    [GoogleApi.Gmail.V1.Model.CsePrivateKeyMetadata.t()] | nil,
  subjectEmailAddresses: [String.t()] | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.