gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/admin/v3/certs.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/admin/v3/certs.proto 6 7 package envoy_admin_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 proto "github.com/golang/protobuf/proto" 12 timestamp "github.com/golang/protobuf/ptypes/timestamp" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 // This is a compile-time assertion that a sufficiently up-to-date version 27 // of the legacy proto package is being used. 28 const _ = proto.ProtoPackageIsVersion4 29 30 // Proto representation of certificate details. Admin endpoint uses this wrapper for `/certs` to 31 // display certificate information. See :ref:`/certs <operations_admin_interface_certs>` for more 32 // information. 33 type Certificates struct { 34 state protoimpl.MessageState 35 sizeCache protoimpl.SizeCache 36 unknownFields protoimpl.UnknownFields 37 38 // List of certificates known to an Envoy. 39 Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` 40 } 41 42 func (x *Certificates) Reset() { 43 *x = Certificates{} 44 if protoimpl.UnsafeEnabled { 45 mi := &file_envoy_admin_v3_certs_proto_msgTypes[0] 46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 47 ms.StoreMessageInfo(mi) 48 } 49 } 50 51 func (x *Certificates) String() string { 52 return protoimpl.X.MessageStringOf(x) 53 } 54 55 func (*Certificates) ProtoMessage() {} 56 57 func (x *Certificates) ProtoReflect() protoreflect.Message { 58 mi := &file_envoy_admin_v3_certs_proto_msgTypes[0] 59 if protoimpl.UnsafeEnabled && x != nil { 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 if ms.LoadMessageInfo() == nil { 62 ms.StoreMessageInfo(mi) 63 } 64 return ms 65 } 66 return mi.MessageOf(x) 67 } 68 69 // Deprecated: Use Certificates.ProtoReflect.Descriptor instead. 70 func (*Certificates) Descriptor() ([]byte, []int) { 71 return file_envoy_admin_v3_certs_proto_rawDescGZIP(), []int{0} 72 } 73 74 func (x *Certificates) GetCertificates() []*Certificate { 75 if x != nil { 76 return x.Certificates 77 } 78 return nil 79 } 80 81 type Certificate struct { 82 state protoimpl.MessageState 83 sizeCache protoimpl.SizeCache 84 unknownFields protoimpl.UnknownFields 85 86 // Details of CA certificate. 87 CaCert []*CertificateDetails `protobuf:"bytes,1,rep,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"` 88 // Details of Certificate Chain 89 CertChain []*CertificateDetails `protobuf:"bytes,2,rep,name=cert_chain,json=certChain,proto3" json:"cert_chain,omitempty"` 90 } 91 92 func (x *Certificate) Reset() { 93 *x = Certificate{} 94 if protoimpl.UnsafeEnabled { 95 mi := &file_envoy_admin_v3_certs_proto_msgTypes[1] 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 ms.StoreMessageInfo(mi) 98 } 99 } 100 101 func (x *Certificate) String() string { 102 return protoimpl.X.MessageStringOf(x) 103 } 104 105 func (*Certificate) ProtoMessage() {} 106 107 func (x *Certificate) ProtoReflect() protoreflect.Message { 108 mi := &file_envoy_admin_v3_certs_proto_msgTypes[1] 109 if protoimpl.UnsafeEnabled && x != nil { 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 if ms.LoadMessageInfo() == nil { 112 ms.StoreMessageInfo(mi) 113 } 114 return ms 115 } 116 return mi.MessageOf(x) 117 } 118 119 // Deprecated: Use Certificate.ProtoReflect.Descriptor instead. 120 func (*Certificate) Descriptor() ([]byte, []int) { 121 return file_envoy_admin_v3_certs_proto_rawDescGZIP(), []int{1} 122 } 123 124 func (x *Certificate) GetCaCert() []*CertificateDetails { 125 if x != nil { 126 return x.CaCert 127 } 128 return nil 129 } 130 131 func (x *Certificate) GetCertChain() []*CertificateDetails { 132 if x != nil { 133 return x.CertChain 134 } 135 return nil 136 } 137 138 // [#next-free-field: 8] 139 type CertificateDetails struct { 140 state protoimpl.MessageState 141 sizeCache protoimpl.SizeCache 142 unknownFields protoimpl.UnknownFields 143 144 // Path of the certificate. 145 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 146 // Certificate Serial Number. 147 SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` 148 // List of Subject Alternate names. 149 SubjectAltNames []*SubjectAlternateName `protobuf:"bytes,3,rep,name=subject_alt_names,json=subjectAltNames,proto3" json:"subject_alt_names,omitempty"` 150 // Minimum of days until expiration of certificate and it's chain. 151 DaysUntilExpiration uint64 `protobuf:"varint,4,opt,name=days_until_expiration,json=daysUntilExpiration,proto3" json:"days_until_expiration,omitempty"` 152 // Indicates the time from which the certificate is valid. 153 ValidFrom *timestamp.Timestamp `protobuf:"bytes,5,opt,name=valid_from,json=validFrom,proto3" json:"valid_from,omitempty"` 154 // Indicates the time at which the certificate expires. 155 ExpirationTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` 156 // Details related to the OCSP response associated with this certificate, if any. 157 OcspDetails *CertificateDetails_OcspDetails `protobuf:"bytes,7,opt,name=ocsp_details,json=ocspDetails,proto3" json:"ocsp_details,omitempty"` 158 } 159 160 func (x *CertificateDetails) Reset() { 161 *x = CertificateDetails{} 162 if protoimpl.UnsafeEnabled { 163 mi := &file_envoy_admin_v3_certs_proto_msgTypes[2] 164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 165 ms.StoreMessageInfo(mi) 166 } 167 } 168 169 func (x *CertificateDetails) String() string { 170 return protoimpl.X.MessageStringOf(x) 171 } 172 173 func (*CertificateDetails) ProtoMessage() {} 174 175 func (x *CertificateDetails) ProtoReflect() protoreflect.Message { 176 mi := &file_envoy_admin_v3_certs_proto_msgTypes[2] 177 if protoimpl.UnsafeEnabled && x != nil { 178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 179 if ms.LoadMessageInfo() == nil { 180 ms.StoreMessageInfo(mi) 181 } 182 return ms 183 } 184 return mi.MessageOf(x) 185 } 186 187 // Deprecated: Use CertificateDetails.ProtoReflect.Descriptor instead. 188 func (*CertificateDetails) Descriptor() ([]byte, []int) { 189 return file_envoy_admin_v3_certs_proto_rawDescGZIP(), []int{2} 190 } 191 192 func (x *CertificateDetails) GetPath() string { 193 if x != nil { 194 return x.Path 195 } 196 return "" 197 } 198 199 func (x *CertificateDetails) GetSerialNumber() string { 200 if x != nil { 201 return x.SerialNumber 202 } 203 return "" 204 } 205 206 func (x *CertificateDetails) GetSubjectAltNames() []*SubjectAlternateName { 207 if x != nil { 208 return x.SubjectAltNames 209 } 210 return nil 211 } 212 213 func (x *CertificateDetails) GetDaysUntilExpiration() uint64 { 214 if x != nil { 215 return x.DaysUntilExpiration 216 } 217 return 0 218 } 219 220 func (x *CertificateDetails) GetValidFrom() *timestamp.Timestamp { 221 if x != nil { 222 return x.ValidFrom 223 } 224 return nil 225 } 226 227 func (x *CertificateDetails) GetExpirationTime() *timestamp.Timestamp { 228 if x != nil { 229 return x.ExpirationTime 230 } 231 return nil 232 } 233 234 func (x *CertificateDetails) GetOcspDetails() *CertificateDetails_OcspDetails { 235 if x != nil { 236 return x.OcspDetails 237 } 238 return nil 239 } 240 241 type SubjectAlternateName struct { 242 state protoimpl.MessageState 243 sizeCache protoimpl.SizeCache 244 unknownFields protoimpl.UnknownFields 245 246 // Subject Alternate Name. 247 // 248 // Types that are assignable to Name: 249 // *SubjectAlternateName_Dns 250 // *SubjectAlternateName_Uri 251 // *SubjectAlternateName_IpAddress 252 Name isSubjectAlternateName_Name `protobuf_oneof:"name"` 253 } 254 255 func (x *SubjectAlternateName) Reset() { 256 *x = SubjectAlternateName{} 257 if protoimpl.UnsafeEnabled { 258 mi := &file_envoy_admin_v3_certs_proto_msgTypes[3] 259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 260 ms.StoreMessageInfo(mi) 261 } 262 } 263 264 func (x *SubjectAlternateName) String() string { 265 return protoimpl.X.MessageStringOf(x) 266 } 267 268 func (*SubjectAlternateName) ProtoMessage() {} 269 270 func (x *SubjectAlternateName) ProtoReflect() protoreflect.Message { 271 mi := &file_envoy_admin_v3_certs_proto_msgTypes[3] 272 if protoimpl.UnsafeEnabled && x != nil { 273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 274 if ms.LoadMessageInfo() == nil { 275 ms.StoreMessageInfo(mi) 276 } 277 return ms 278 } 279 return mi.MessageOf(x) 280 } 281 282 // Deprecated: Use SubjectAlternateName.ProtoReflect.Descriptor instead. 283 func (*SubjectAlternateName) Descriptor() ([]byte, []int) { 284 return file_envoy_admin_v3_certs_proto_rawDescGZIP(), []int{3} 285 } 286 287 func (m *SubjectAlternateName) GetName() isSubjectAlternateName_Name { 288 if m != nil { 289 return m.Name 290 } 291 return nil 292 } 293 294 func (x *SubjectAlternateName) GetDns() string { 295 if x, ok := x.GetName().(*SubjectAlternateName_Dns); ok { 296 return x.Dns 297 } 298 return "" 299 } 300 301 func (x *SubjectAlternateName) GetUri() string { 302 if x, ok := x.GetName().(*SubjectAlternateName_Uri); ok { 303 return x.Uri 304 } 305 return "" 306 } 307 308 func (x *SubjectAlternateName) GetIpAddress() string { 309 if x, ok := x.GetName().(*SubjectAlternateName_IpAddress); ok { 310 return x.IpAddress 311 } 312 return "" 313 } 314 315 type isSubjectAlternateName_Name interface { 316 isSubjectAlternateName_Name() 317 } 318 319 type SubjectAlternateName_Dns struct { 320 Dns string `protobuf:"bytes,1,opt,name=dns,proto3,oneof"` 321 } 322 323 type SubjectAlternateName_Uri struct { 324 Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` 325 } 326 327 type SubjectAlternateName_IpAddress struct { 328 IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3,oneof"` 329 } 330 331 func (*SubjectAlternateName_Dns) isSubjectAlternateName_Name() {} 332 333 func (*SubjectAlternateName_Uri) isSubjectAlternateName_Name() {} 334 335 func (*SubjectAlternateName_IpAddress) isSubjectAlternateName_Name() {} 336 337 type CertificateDetails_OcspDetails struct { 338 state protoimpl.MessageState 339 sizeCache protoimpl.SizeCache 340 unknownFields protoimpl.UnknownFields 341 342 // Indicates the time from which the OCSP response is valid. 343 ValidFrom *timestamp.Timestamp `protobuf:"bytes,1,opt,name=valid_from,json=validFrom,proto3" json:"valid_from,omitempty"` 344 // Indicates the time at which the OCSP response expires. 345 Expiration *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expiration,proto3" json:"expiration,omitempty"` 346 } 347 348 func (x *CertificateDetails_OcspDetails) Reset() { 349 *x = CertificateDetails_OcspDetails{} 350 if protoimpl.UnsafeEnabled { 351 mi := &file_envoy_admin_v3_certs_proto_msgTypes[4] 352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 353 ms.StoreMessageInfo(mi) 354 } 355 } 356 357 func (x *CertificateDetails_OcspDetails) String() string { 358 return protoimpl.X.MessageStringOf(x) 359 } 360 361 func (*CertificateDetails_OcspDetails) ProtoMessage() {} 362 363 func (x *CertificateDetails_OcspDetails) ProtoReflect() protoreflect.Message { 364 mi := &file_envoy_admin_v3_certs_proto_msgTypes[4] 365 if protoimpl.UnsafeEnabled && x != nil { 366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 367 if ms.LoadMessageInfo() == nil { 368 ms.StoreMessageInfo(mi) 369 } 370 return ms 371 } 372 return mi.MessageOf(x) 373 } 374 375 // Deprecated: Use CertificateDetails_OcspDetails.ProtoReflect.Descriptor instead. 376 func (*CertificateDetails_OcspDetails) Descriptor() ([]byte, []int) { 377 return file_envoy_admin_v3_certs_proto_rawDescGZIP(), []int{2, 0} 378 } 379 380 func (x *CertificateDetails_OcspDetails) GetValidFrom() *timestamp.Timestamp { 381 if x != nil { 382 return x.ValidFrom 383 } 384 return nil 385 } 386 387 func (x *CertificateDetails_OcspDetails) GetExpiration() *timestamp.Timestamp { 388 if x != nil { 389 return x.Expiration 390 } 391 return nil 392 } 393 394 var File_envoy_admin_v3_certs_proto protoreflect.FileDescriptor 395 396 var file_envoy_admin_v3_certs_proto_rawDesc = []byte{ 397 0x0a, 0x1a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33, 398 0x2f, 0x63, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x65, 0x6e, 399 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x67, 0x6f, 400 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 401 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 402 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 403 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 404 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 405 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 406 0x78, 0x0a, 0x0c, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12, 407 0x3f, 0x0a, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18, 408 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 409 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 410 0x74, 0x65, 0x52, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 411 0x3a, 0x27, 0x9a, 0xc5, 0x88, 0x1e, 0x22, 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 412 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 413 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x0b, 0x43, 0x65, 414 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x63, 0x61, 0x5f, 415 0x63, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 416 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x72, 0x74, 417 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x06, 418 0x63, 0x61, 0x43, 0x65, 0x72, 0x74, 0x12, 0x41, 0x0a, 0x0a, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x63, 419 0x68, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 420 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x72, 0x74, 421 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x09, 422 0x63, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x3a, 0x26, 0x9a, 0xc5, 0x88, 0x1e, 0x21, 423 0x0a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 424 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 425 0x65, 0x22, 0xdc, 0x04, 0x0a, 0x12, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 426 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 427 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x23, 0x0a, 0x0d, 428 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 429 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 430 0x72, 0x12, 0x50, 0x0a, 0x11, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x74, 431 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 432 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x75, 433 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4e, 0x61, 434 0x6d, 0x65, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x4e, 0x61, 435 0x6d, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x79, 0x73, 0x5f, 0x75, 0x6e, 0x74, 0x69, 436 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 437 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x79, 0x73, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x45, 0x78, 0x70, 438 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 439 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 440 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 441 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x46, 0x72, 442 0x6f, 0x6d, 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 443 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 444 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 445 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 446 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x6f, 0x63, 0x73, 0x70, 0x5f, 447 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 448 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 449 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 450 0x73, 0x2e, 0x4f, 0x63, 0x73, 0x70, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0b, 0x6f, 451 0x63, 0x73, 0x70, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x84, 0x01, 0x0a, 0x0b, 0x4f, 452 0x63, 0x73, 0x70, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x76, 0x61, 453 0x6c, 0x69, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 454 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 455 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 456 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x3a, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 457 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 458 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 459 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 460 0x6e, 0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e, 0x28, 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 461 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 462 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 463 0x22, 0x98, 0x01, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 464 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x64, 0x6e, 0x73, 465 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x64, 0x6e, 0x73, 0x12, 0x12, 0x0a, 466 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 467 0x69, 0x12, 0x1f, 0x0a, 0x0a, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 468 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 469 0x73, 0x73, 0x3a, 0x2f, 0x9a, 0xc5, 0x88, 0x1e, 0x2a, 0x0a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 470 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 471 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4e, 472 0x61, 0x6d, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x34, 0x0a, 0x1c, 0x69, 473 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 474 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x43, 0x65, 0x72, 475 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 476 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 477 } 478 479 var ( 480 file_envoy_admin_v3_certs_proto_rawDescOnce sync.Once 481 file_envoy_admin_v3_certs_proto_rawDescData = file_envoy_admin_v3_certs_proto_rawDesc 482 ) 483 484 func file_envoy_admin_v3_certs_proto_rawDescGZIP() []byte { 485 file_envoy_admin_v3_certs_proto_rawDescOnce.Do(func() { 486 file_envoy_admin_v3_certs_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_certs_proto_rawDescData) 487 }) 488 return file_envoy_admin_v3_certs_proto_rawDescData 489 } 490 491 var file_envoy_admin_v3_certs_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 492 var file_envoy_admin_v3_certs_proto_goTypes = []interface{}{ 493 (*Certificates)(nil), // 0: envoy.admin.v3.Certificates 494 (*Certificate)(nil), // 1: envoy.admin.v3.Certificate 495 (*CertificateDetails)(nil), // 2: envoy.admin.v3.CertificateDetails 496 (*SubjectAlternateName)(nil), // 3: envoy.admin.v3.SubjectAlternateName 497 (*CertificateDetails_OcspDetails)(nil), // 4: envoy.admin.v3.CertificateDetails.OcspDetails 498 (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp 499 } 500 var file_envoy_admin_v3_certs_proto_depIdxs = []int32{ 501 1, // 0: envoy.admin.v3.Certificates.certificates:type_name -> envoy.admin.v3.Certificate 502 2, // 1: envoy.admin.v3.Certificate.ca_cert:type_name -> envoy.admin.v3.CertificateDetails 503 2, // 2: envoy.admin.v3.Certificate.cert_chain:type_name -> envoy.admin.v3.CertificateDetails 504 3, // 3: envoy.admin.v3.CertificateDetails.subject_alt_names:type_name -> envoy.admin.v3.SubjectAlternateName 505 5, // 4: envoy.admin.v3.CertificateDetails.valid_from:type_name -> google.protobuf.Timestamp 506 5, // 5: envoy.admin.v3.CertificateDetails.expiration_time:type_name -> google.protobuf.Timestamp 507 4, // 6: envoy.admin.v3.CertificateDetails.ocsp_details:type_name -> envoy.admin.v3.CertificateDetails.OcspDetails 508 5, // 7: envoy.admin.v3.CertificateDetails.OcspDetails.valid_from:type_name -> google.protobuf.Timestamp 509 5, // 8: envoy.admin.v3.CertificateDetails.OcspDetails.expiration:type_name -> google.protobuf.Timestamp 510 9, // [9:9] is the sub-list for method output_type 511 9, // [9:9] is the sub-list for method input_type 512 9, // [9:9] is the sub-list for extension type_name 513 9, // [9:9] is the sub-list for extension extendee 514 0, // [0:9] is the sub-list for field type_name 515 } 516 517 func init() { file_envoy_admin_v3_certs_proto_init() } 518 func file_envoy_admin_v3_certs_proto_init() { 519 if File_envoy_admin_v3_certs_proto != nil { 520 return 521 } 522 if !protoimpl.UnsafeEnabled { 523 file_envoy_admin_v3_certs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 524 switch v := v.(*Certificates); i { 525 case 0: 526 return &v.state 527 case 1: 528 return &v.sizeCache 529 case 2: 530 return &v.unknownFields 531 default: 532 return nil 533 } 534 } 535 file_envoy_admin_v3_certs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 536 switch v := v.(*Certificate); i { 537 case 0: 538 return &v.state 539 case 1: 540 return &v.sizeCache 541 case 2: 542 return &v.unknownFields 543 default: 544 return nil 545 } 546 } 547 file_envoy_admin_v3_certs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 548 switch v := v.(*CertificateDetails); i { 549 case 0: 550 return &v.state 551 case 1: 552 return &v.sizeCache 553 case 2: 554 return &v.unknownFields 555 default: 556 return nil 557 } 558 } 559 file_envoy_admin_v3_certs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 560 switch v := v.(*SubjectAlternateName); i { 561 case 0: 562 return &v.state 563 case 1: 564 return &v.sizeCache 565 case 2: 566 return &v.unknownFields 567 default: 568 return nil 569 } 570 } 571 file_envoy_admin_v3_certs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 572 switch v := v.(*CertificateDetails_OcspDetails); i { 573 case 0: 574 return &v.state 575 case 1: 576 return &v.sizeCache 577 case 2: 578 return &v.unknownFields 579 default: 580 return nil 581 } 582 } 583 } 584 file_envoy_admin_v3_certs_proto_msgTypes[3].OneofWrappers = []interface{}{ 585 (*SubjectAlternateName_Dns)(nil), 586 (*SubjectAlternateName_Uri)(nil), 587 (*SubjectAlternateName_IpAddress)(nil), 588 } 589 type x struct{} 590 out := protoimpl.TypeBuilder{ 591 File: protoimpl.DescBuilder{ 592 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 593 RawDescriptor: file_envoy_admin_v3_certs_proto_rawDesc, 594 NumEnums: 0, 595 NumMessages: 5, 596 NumExtensions: 0, 597 NumServices: 0, 598 }, 599 GoTypes: file_envoy_admin_v3_certs_proto_goTypes, 600 DependencyIndexes: file_envoy_admin_v3_certs_proto_depIdxs, 601 MessageInfos: file_envoy_admin_v3_certs_proto_msgTypes, 602 }.Build() 603 File_envoy_admin_v3_certs_proto = out.File 604 file_envoy_admin_v3_certs_proto_rawDesc = nil 605 file_envoy_admin_v3_certs_proto_goTypes = nil 606 file_envoy_admin_v3_certs_proto_depIdxs = nil 607 }