View Source GoogleApi.PrivateCA.V1.Model.CertificateConfig (google_api_private_ca v0.12.0)

A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.

Attributes

  • publicKey (type: GoogleApi.PrivateCA.V1.Model.PublicKey.t, default: nil) - Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.
  • subjectConfig (type: GoogleApi.PrivateCA.V1.Model.SubjectConfig.t, default: nil) - Required. Specifies some of the values in a certificate that are related to the subject.
  • subjectKeyId (type: GoogleApi.PrivateCA.V1.Model.CertificateConfigKeyId.t, default: nil) - Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
  • x509Config (type: GoogleApi.PrivateCA.V1.Model.X509Parameters.t, default: nil) - Required. Describes how some of the technical X.509 fields in a certificate should be populated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PrivateCA.V1.Model.CertificateConfig{
  publicKey: GoogleApi.PrivateCA.V1.Model.PublicKey.t() | nil,
  subjectConfig: GoogleApi.PrivateCA.V1.Model.SubjectConfig.t() | nil,
  subjectKeyId: GoogleApi.PrivateCA.V1.Model.CertificateConfigKeyId.t() | nil,
  x509Config: GoogleApi.PrivateCA.V1.Model.X509Parameters.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.