defmodule Envoy.Admin.V3.Certificates do use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0" field :certificates, 1, repeated: true, type: Envoy.Admin.V3.Certificate end defmodule Envoy.Admin.V3.Certificate do use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0" field :ca_cert, 1, repeated: true, type: Envoy.Admin.V3.CertificateDetails, json_name: "caCert" field :cert_chain, 2, repeated: true, type: Envoy.Admin.V3.CertificateDetails, json_name: "certChain" end defmodule Envoy.Admin.V3.CertificateDetails.OcspDetails do use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0" field :valid_from, 1, type: Google.Protobuf.Timestamp, json_name: "validFrom" field :expiration, 2, type: Google.Protobuf.Timestamp end defmodule Envoy.Admin.V3.CertificateDetails do use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0" field :path, 1, type: :string field :serial_number, 2, type: :string, json_name: "serialNumber" field :subject_alt_names, 3, repeated: true, type: Envoy.Admin.V3.SubjectAlternateName, json_name: "subjectAltNames" field :days_until_expiration, 4, type: :uint64, json_name: "daysUntilExpiration" field :valid_from, 5, type: Google.Protobuf.Timestamp, json_name: "validFrom" field :expiration_time, 6, type: Google.Protobuf.Timestamp, json_name: "expirationTime" field :ocsp_details, 7, type: Envoy.Admin.V3.CertificateDetails.OcspDetails, json_name: "ocspDetails" end defmodule Envoy.Admin.V3.SubjectAlternateName do use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0" oneof :name, 0 field :dns, 1, type: :string, oneof: 0 field :uri, 2, type: :string, oneof: 0 field :ip_address, 3, type: :string, json_name: "ipAddress", oneof: 0 end