GoogleApi.PrivateCA.V1beta1.Model.SubjectDescription (google_api_private_ca v0.4.2) View Source

These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime.

Attributes

  • commonName (type: String.t, default: nil) - The "common name" of the distinguished name.
  • hexSerialNumber (type: String.t, default: nil) - The serial number encoded in lowercase hexadecimal.
  • lifetime (type: String.t, default: nil) - For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
  • notAfterTime (type: DateTime.t, default: nil) - The time at which the certificate expires.
  • notBeforeTime (type: DateTime.t, default: nil) - The time at which the certificate becomes valid.
  • subject (type: GoogleApi.PrivateCA.V1beta1.Model.Subject.t, default: nil) - Contains distinguished name fields such as the location and organization.
  • subjectAltName (type: GoogleApi.PrivateCA.V1beta1.Model.SubjectAltNames.t, default: nil) - The subject alternative name fields.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.PrivateCA.V1beta1.Model.SubjectDescription{
  commonName: String.t(),
  hexSerialNumber: String.t(),
  lifetime: String.t(),
  notAfterTime: DateTime.t(),
  notBeforeTime: DateTime.t(),
  subject: GoogleApi.PrivateCA.V1beta1.Model.Subject.t(),
  subjectAltName: GoogleApi.PrivateCA.V1beta1.Model.SubjectAltNames.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.