1// Code generated by protoc-gen-go. DO NOT EDIT. 2// versions: 3// protoc-gen-go v1.25.0 4// protoc v3.14.0 5// source: envoy/admin/v4alpha/certs.proto 6 7package envoy_admin_v4alpha 8 9import ( 10 _ "github.com/cncf/udpa/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 19const ( 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. 28const _ = 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. 33type 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 42func (x *Certificates) Reset() { 43 *x = Certificates{} 44 if protoimpl.UnsafeEnabled { 45 mi := &file_envoy_admin_v4alpha_certs_proto_msgTypes[0] 46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 47 ms.StoreMessageInfo(mi) 48 } 49} 50 51func (x *Certificates) String() string { 52 return protoimpl.X.MessageStringOf(x) 53} 54 55func (*Certificates) ProtoMessage() {} 56 57func (x *Certificates) ProtoReflect() protoreflect.Message { 58 mi := &file_envoy_admin_v4alpha_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. 70func (*Certificates) Descriptor() ([]byte, []int) { 71 return file_envoy_admin_v4alpha_certs_proto_rawDescGZIP(), []int{0} 72} 73 74func (x *Certificates) GetCertificates() []*Certificate { 75 if x != nil { 76 return x.Certificates 77 } 78 return nil 79} 80 81type 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 92func (x *Certificate) Reset() { 93 *x = Certificate{} 94 if protoimpl.UnsafeEnabled { 95 mi := &file_envoy_admin_v4alpha_certs_proto_msgTypes[1] 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 ms.StoreMessageInfo(mi) 98 } 99} 100 101func (x *Certificate) String() string { 102 return protoimpl.X.MessageStringOf(x) 103} 104 105func (*Certificate) ProtoMessage() {} 106 107func (x *Certificate) ProtoReflect() protoreflect.Message { 108 mi := &file_envoy_admin_v4alpha_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. 120func (*Certificate) Descriptor() ([]byte, []int) { 121 return file_envoy_admin_v4alpha_certs_proto_rawDescGZIP(), []int{1} 122} 123 124func (x *Certificate) GetCaCert() []*CertificateDetails { 125 if x != nil { 126 return x.CaCert 127 } 128 return nil 129} 130 131func (x *Certificate) GetCertChain() []*CertificateDetails { 132 if x != nil { 133 return x.CertChain 134 } 135 return nil 136} 137 138// [#next-free-field: 8] 139type 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 160func (x *CertificateDetails) Reset() { 161 *x = CertificateDetails{} 162 if protoimpl.UnsafeEnabled { 163 mi := &file_envoy_admin_v4alpha_certs_proto_msgTypes[2] 164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 165 ms.StoreMessageInfo(mi) 166 } 167} 168 169func (x *CertificateDetails) String() string { 170 return protoimpl.X.MessageStringOf(x) 171} 172 173func (*CertificateDetails) ProtoMessage() {} 174 175func (x *CertificateDetails) ProtoReflect() protoreflect.Message { 176 mi := &file_envoy_admin_v4alpha_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. 188func (*CertificateDetails) Descriptor() ([]byte, []int) { 189 return file_envoy_admin_v4alpha_certs_proto_rawDescGZIP(), []int{2} 190} 191 192func (x *CertificateDetails) GetPath() string { 193 if x != nil { 194 return x.Path 195 } 196 return "" 197} 198 199func (x *CertificateDetails) GetSerialNumber() string { 200 if x != nil { 201 return x.SerialNumber 202 } 203 return "" 204} 205 206func (x *CertificateDetails) GetSubjectAltNames() []*SubjectAlternateName { 207 if x != nil { 208 return x.SubjectAltNames 209 } 210 return nil 211} 212 213func (x *CertificateDetails) GetDaysUntilExpiration() uint64 { 214 if x != nil { 215 return x.DaysUntilExpiration 216 } 217 return 0 218} 219 220func (x *CertificateDetails) GetValidFrom() *timestamp.Timestamp { 221 if x != nil { 222 return x.ValidFrom 223 } 224 return nil 225} 226 227func (x *CertificateDetails) GetExpirationTime() *timestamp.Timestamp { 228 if x != nil { 229 return x.ExpirationTime 230 } 231 return nil 232} 233 234func (x *CertificateDetails) GetOcspDetails() *CertificateDetails_OcspDetails { 235 if x != nil { 236 return x.OcspDetails 237 } 238 return nil 239} 240 241type 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 255func (x *SubjectAlternateName) Reset() { 256 *x = SubjectAlternateName{} 257 if protoimpl.UnsafeEnabled { 258 mi := &file_envoy_admin_v4alpha_certs_proto_msgTypes[3] 259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 260 ms.StoreMessageInfo(mi) 261 } 262} 263 264func (x *SubjectAlternateName) String() string { 265 return protoimpl.X.MessageStringOf(x) 266} 267 268func (*SubjectAlternateName) ProtoMessage() {} 269 270func (x *SubjectAlternateName) ProtoReflect() protoreflect.Message { 271 mi := &file_envoy_admin_v4alpha_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. 283func (*SubjectAlternateName) Descriptor() ([]byte, []int) { 284 return file_envoy_admin_v4alpha_certs_proto_rawDescGZIP(), []int{3} 285} 286 287func (m *SubjectAlternateName) GetName() isSubjectAlternateName_Name { 288 if m != nil { 289 return m.Name 290 } 291 return nil 292} 293 294func (x *SubjectAlternateName) GetDns() string { 295 if x, ok := x.GetName().(*SubjectAlternateName_Dns); ok { 296 return x.Dns 297 } 298 return "" 299} 300 301func (x *SubjectAlternateName) GetUri() string { 302 if x, ok := x.GetName().(*SubjectAlternateName_Uri); ok { 303 return x.Uri 304 } 305 return "" 306} 307 308func (x *SubjectAlternateName) GetIpAddress() string { 309 if x, ok := x.GetName().(*SubjectAlternateName_IpAddress); ok { 310 return x.IpAddress 311 } 312 return "" 313} 314 315type isSubjectAlternateName_Name interface { 316 isSubjectAlternateName_Name() 317} 318 319type SubjectAlternateName_Dns struct { 320 Dns string `protobuf:"bytes,1,opt,name=dns,proto3,oneof"` 321} 322 323type SubjectAlternateName_Uri struct { 324 Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` 325} 326 327type SubjectAlternateName_IpAddress struct { 328 IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3,oneof"` 329} 330 331func (*SubjectAlternateName_Dns) isSubjectAlternateName_Name() {} 332 333func (*SubjectAlternateName_Uri) isSubjectAlternateName_Name() {} 334 335func (*SubjectAlternateName_IpAddress) isSubjectAlternateName_Name() {} 336 337type 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 348func (x *CertificateDetails_OcspDetails) Reset() { 349 *x = CertificateDetails_OcspDetails{} 350 if protoimpl.UnsafeEnabled { 351 mi := &file_envoy_admin_v4alpha_certs_proto_msgTypes[4] 352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 353 ms.StoreMessageInfo(mi) 354 } 355} 356 357func (x *CertificateDetails_OcspDetails) String() string { 358 return protoimpl.X.MessageStringOf(x) 359} 360 361func (*CertificateDetails_OcspDetails) ProtoMessage() {} 362 363func (x *CertificateDetails_OcspDetails) ProtoReflect() protoreflect.Message { 364 mi := &file_envoy_admin_v4alpha_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. 376func (*CertificateDetails_OcspDetails) Descriptor() ([]byte, []int) { 377 return file_envoy_admin_v4alpha_certs_proto_rawDescGZIP(), []int{2, 0} 378} 379 380func (x *CertificateDetails_OcspDetails) GetValidFrom() *timestamp.Timestamp { 381 if x != nil { 382 return x.ValidFrom 383 } 384 return nil 385} 386 387func (x *CertificateDetails_OcspDetails) GetExpiration() *timestamp.Timestamp { 388 if x != nil { 389 return x.Expiration 390 } 391 return nil 392} 393 394var File_envoy_admin_v4alpha_certs_proto protoreflect.FileDescriptor 395 396var file_envoy_admin_v4alpha_certs_proto_rawDesc = []byte{ 397 0x0a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x34, 398 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 399 0x6f, 0x12, 0x13, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 400 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 401 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 402 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 403 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 404 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 405 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 406 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x0c, 0x43, 0x65, 0x72, 407 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x63, 0x65, 0x72, 408 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 409 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x34, 410 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 411 0x65, 0x52, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x3a, 412 0x22, 0x9a, 0xc5, 0x88, 0x1e, 0x1d, 0x0a, 0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 413 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 414 0x74, 0x65, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x0b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 415 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x63, 0x61, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x01, 416 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 417 0x69, 0x6e, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 418 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x06, 0x63, 419 0x61, 0x43, 0x65, 0x72, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x63, 0x68, 420 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 421 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 422 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 423 0x6c, 0x73, 0x52, 0x09, 0x63, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x3a, 0x21, 0x9a, 424 0xc5, 0x88, 0x1e, 0x1c, 0x0a, 0x1a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 425 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 426 0x22, 0x97, 0x05, 0x0a, 0x12, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 427 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 428 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x73, 429 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 430 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 431 0x12, 0x55, 0x0a, 0x11, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x5f, 432 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 433 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 434 0x61, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 435 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 436 0x6c, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x79, 0x73, 0x5f, 437 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 438 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x79, 0x73, 0x55, 0x6e, 0x74, 0x69, 439 0x6c, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x76, 440 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 441 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 442 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x76, 0x61, 0x6c, 443 0x69, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 444 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 445 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 446 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x65, 0x78, 0x70, 447 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x6f, 448 0x63, 0x73, 0x70, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 449 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 450 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 451 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x4f, 0x63, 0x73, 0x70, 0x44, 452 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0b, 0x6f, 0x63, 0x73, 0x70, 0x44, 0x65, 0x74, 0x61, 453 0x69, 0x6c, 0x73, 0x1a, 0xba, 0x01, 0x0a, 0x0b, 0x4f, 0x63, 0x73, 0x70, 0x44, 0x65, 0x74, 0x61, 454 0x69, 0x6c, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x66, 0x72, 0x6f, 455 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 456 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 457 0x61, 0x6d, 0x70, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x3a, 458 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 459 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 460 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 461 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x34, 0x9a, 0xc5, 0x88, 0x1e, 462 0x2f, 0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 463 0x33, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 464 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x4f, 0x63, 0x73, 0x70, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 465 0x3a, 0x28, 0x9a, 0xc5, 0x88, 0x1e, 0x23, 0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 466 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 467 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x14, 0x53, 468 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4e, 469 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x64, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 470 0x48, 0x00, 0x52, 0x03, 0x64, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 471 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x1f, 0x0a, 0x0a, 0x69, 472 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 473 0x00, 0x52, 0x09, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x2a, 0x9a, 0xc5, 474 0x88, 0x1e, 0x25, 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 475 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 476 0x6e, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 477 0x42, 0x39, 0x0a, 0x21, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 478 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x34, 479 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0a, 0x43, 0x65, 0x72, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 480 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x03, 0x62, 0x06, 0x70, 0x72, 0x6f, 481 0x74, 0x6f, 0x33, 482} 483 484var ( 485 file_envoy_admin_v4alpha_certs_proto_rawDescOnce sync.Once 486 file_envoy_admin_v4alpha_certs_proto_rawDescData = file_envoy_admin_v4alpha_certs_proto_rawDesc 487) 488 489func file_envoy_admin_v4alpha_certs_proto_rawDescGZIP() []byte { 490 file_envoy_admin_v4alpha_certs_proto_rawDescOnce.Do(func() { 491 file_envoy_admin_v4alpha_certs_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v4alpha_certs_proto_rawDescData) 492 }) 493 return file_envoy_admin_v4alpha_certs_proto_rawDescData 494} 495 496var file_envoy_admin_v4alpha_certs_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 497var file_envoy_admin_v4alpha_certs_proto_goTypes = []interface{}{ 498 (*Certificates)(nil), // 0: envoy.admin.v4alpha.Certificates 499 (*Certificate)(nil), // 1: envoy.admin.v4alpha.Certificate 500 (*CertificateDetails)(nil), // 2: envoy.admin.v4alpha.CertificateDetails 501 (*SubjectAlternateName)(nil), // 3: envoy.admin.v4alpha.SubjectAlternateName 502 (*CertificateDetails_OcspDetails)(nil), // 4: envoy.admin.v4alpha.CertificateDetails.OcspDetails 503 (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp 504} 505var file_envoy_admin_v4alpha_certs_proto_depIdxs = []int32{ 506 1, // 0: envoy.admin.v4alpha.Certificates.certificates:type_name -> envoy.admin.v4alpha.Certificate 507 2, // 1: envoy.admin.v4alpha.Certificate.ca_cert:type_name -> envoy.admin.v4alpha.CertificateDetails 508 2, // 2: envoy.admin.v4alpha.Certificate.cert_chain:type_name -> envoy.admin.v4alpha.CertificateDetails 509 3, // 3: envoy.admin.v4alpha.CertificateDetails.subject_alt_names:type_name -> envoy.admin.v4alpha.SubjectAlternateName 510 5, // 4: envoy.admin.v4alpha.CertificateDetails.valid_from:type_name -> google.protobuf.Timestamp 511 5, // 5: envoy.admin.v4alpha.CertificateDetails.expiration_time:type_name -> google.protobuf.Timestamp 512 4, // 6: envoy.admin.v4alpha.CertificateDetails.ocsp_details:type_name -> envoy.admin.v4alpha.CertificateDetails.OcspDetails 513 5, // 7: envoy.admin.v4alpha.CertificateDetails.OcspDetails.valid_from:type_name -> google.protobuf.Timestamp 514 5, // 8: envoy.admin.v4alpha.CertificateDetails.OcspDetails.expiration:type_name -> google.protobuf.Timestamp 515 9, // [9:9] is the sub-list for method output_type 516 9, // [9:9] is the sub-list for method input_type 517 9, // [9:9] is the sub-list for extension type_name 518 9, // [9:9] is the sub-list for extension extendee 519 0, // [0:9] is the sub-list for field type_name 520} 521 522func init() { file_envoy_admin_v4alpha_certs_proto_init() } 523func file_envoy_admin_v4alpha_certs_proto_init() { 524 if File_envoy_admin_v4alpha_certs_proto != nil { 525 return 526 } 527 if !protoimpl.UnsafeEnabled { 528 file_envoy_admin_v4alpha_certs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 529 switch v := v.(*Certificates); i { 530 case 0: 531 return &v.state 532 case 1: 533 return &v.sizeCache 534 case 2: 535 return &v.unknownFields 536 default: 537 return nil 538 } 539 } 540 file_envoy_admin_v4alpha_certs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 541 switch v := v.(*Certificate); i { 542 case 0: 543 return &v.state 544 case 1: 545 return &v.sizeCache 546 case 2: 547 return &v.unknownFields 548 default: 549 return nil 550 } 551 } 552 file_envoy_admin_v4alpha_certs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 553 switch v := v.(*CertificateDetails); i { 554 case 0: 555 return &v.state 556 case 1: 557 return &v.sizeCache 558 case 2: 559 return &v.unknownFields 560 default: 561 return nil 562 } 563 } 564 file_envoy_admin_v4alpha_certs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 565 switch v := v.(*SubjectAlternateName); i { 566 case 0: 567 return &v.state 568 case 1: 569 return &v.sizeCache 570 case 2: 571 return &v.unknownFields 572 default: 573 return nil 574 } 575 } 576 file_envoy_admin_v4alpha_certs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 577 switch v := v.(*CertificateDetails_OcspDetails); i { 578 case 0: 579 return &v.state 580 case 1: 581 return &v.sizeCache 582 case 2: 583 return &v.unknownFields 584 default: 585 return nil 586 } 587 } 588 } 589 file_envoy_admin_v4alpha_certs_proto_msgTypes[3].OneofWrappers = []interface{}{ 590 (*SubjectAlternateName_Dns)(nil), 591 (*SubjectAlternateName_Uri)(nil), 592 (*SubjectAlternateName_IpAddress)(nil), 593 } 594 type x struct{} 595 out := protoimpl.TypeBuilder{ 596 File: protoimpl.DescBuilder{ 597 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 598 RawDescriptor: file_envoy_admin_v4alpha_certs_proto_rawDesc, 599 NumEnums: 0, 600 NumMessages: 5, 601 NumExtensions: 0, 602 NumServices: 0, 603 }, 604 GoTypes: file_envoy_admin_v4alpha_certs_proto_goTypes, 605 DependencyIndexes: file_envoy_admin_v4alpha_certs_proto_depIdxs, 606 MessageInfos: file_envoy_admin_v4alpha_certs_proto_msgTypes, 607 }.Build() 608 File_envoy_admin_v4alpha_certs_proto = out.File 609 file_envoy_admin_v4alpha_certs_proto_rawDesc = nil 610 file_envoy_admin_v4alpha_certs_proto_goTypes = nil 611 file_envoy_admin_v4alpha_certs_proto_depIdxs = nil 612} 613