View Source GoogleApi.PrivateCA.V1.Model.KeyUsage (google_api_private_ca v0.13.0)

A KeyUsage describes key usage values that may appear in an X.509 certificate.

Attributes

  • baseKeyUsage (type: GoogleApi.PrivateCA.V1.Model.KeyUsageOptions.t, default: nil) - Describes high-level ways in which a key may be used.
  • extendedKeyUsage (type: GoogleApi.PrivateCA.V1.Model.ExtendedKeyUsageOptions.t, default: nil) - Detailed scenarios in which a key may be used.
  • unknownExtendedKeyUsages (type: list(GoogleApi.PrivateCA.V1.Model.ObjectId.t), default: nil) - Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PrivateCA.V1.Model.KeyUsage{
  baseKeyUsage: GoogleApi.PrivateCA.V1.Model.KeyUsageOptions.t() | nil,
  extendedKeyUsage:
    GoogleApi.PrivateCA.V1.Model.ExtendedKeyUsageOptions.t() | nil,
  unknownExtendedKeyUsages: [GoogleApi.PrivateCA.V1.Model.ObjectId.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.