View Source GoogleApi.CloudKMS.V1.Model.Certificate (google_api_cloud_kms v0.41.0)

A Certificate represents an X.509 certificate used to authenticate HTTPS connections to EKM replicas.

Attributes

  • issuer (type: String.t, default: nil) - Output only. The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
  • notAfterTime (type: DateTime.t, default: nil) - Output only. The certificate is not valid after this time. Only present if parsed is true.
  • notBeforeTime (type: DateTime.t, default: nil) - Output only. The certificate is not valid before this time. Only present if parsed is true.
  • parsed (type: boolean(), default: nil) - Output only. True if the certificate was parsed successfully.
  • rawDer (type: String.t, default: nil) - Required. The raw certificate bytes in DER format.
  • serialNumber (type: String.t, default: nil) - Output only. The certificate serial number as a hex string. Only present if parsed is true.
  • sha256Fingerprint (type: String.t, default: nil) - Output only. The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
  • subject (type: String.t, default: nil) - Output only. The subject distinguished name in RFC 2253 format. Only present if parsed is true.
  • subjectAlternativeDnsNames (type: list(String.t), default: nil) - Output only. The subject Alternative DNS names. Only present if parsed is true.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudKMS.V1.Model.Certificate{
  issuer: String.t() | nil,
  notAfterTime: DateTime.t() | nil,
  notBeforeTime: DateTime.t() | nil,
  parsed: boolean() | nil,
  rawDer: String.t() | nil,
  serialNumber: String.t() | nil,
  sha256Fingerprint: String.t() | nil,
  subject: String.t() | nil,
  subjectAlternativeDnsNames: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.