go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/tokenserver/api/admin/v1/certificate_authorities.pb.go (about) 1 // Copyright 2016 The LUCI Authors. All rights reserved. 2 // Use of this source code is governed under the Apache License, Version 2.0 3 // that can be found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.31.0 8 // protoc v3.21.7 9 // source: go.chromium.org/luci/tokenserver/api/admin/v1/certificate_authorities.proto 10 11 package admin 12 13 import ( 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 emptypb "google.golang.org/protobuf/types/known/emptypb" 17 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 // FetchCRLRequest identifies a name of CA to fetch CRL for. 30 type FetchCRLRequest struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 Cn string `protobuf:"bytes,1,opt,name=cn,proto3" json:"cn,omitempty"` // Common Name of the CA 36 Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // fetch and parse CRL even if we have it already 37 } 38 39 func (x *FetchCRLRequest) Reset() { 40 *x = FetchCRLRequest{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *FetchCRLRequest) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*FetchCRLRequest) ProtoMessage() {} 53 54 func (x *FetchCRLRequest) ProtoReflect() protoreflect.Message { 55 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[0] 56 if protoimpl.UnsafeEnabled && x != nil { 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 if ms.LoadMessageInfo() == nil { 59 ms.StoreMessageInfo(mi) 60 } 61 return ms 62 } 63 return mi.MessageOf(x) 64 } 65 66 // Deprecated: Use FetchCRLRequest.ProtoReflect.Descriptor instead. 67 func (*FetchCRLRequest) Descriptor() ([]byte, []int) { 68 return file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *FetchCRLRequest) GetCn() string { 72 if x != nil { 73 return x.Cn 74 } 75 return "" 76 } 77 78 func (x *FetchCRLRequest) GetForce() bool { 79 if x != nil { 80 return x.Force 81 } 82 return false 83 } 84 85 // FetchCRLResponse is returned by FetchCRL. 86 type FetchCRLResponse struct { 87 state protoimpl.MessageState 88 sizeCache protoimpl.SizeCache 89 unknownFields protoimpl.UnknownFields 90 91 CrlStatus *CRLStatus `protobuf:"bytes,1,opt,name=crl_status,json=crlStatus,proto3" json:"crl_status,omitempty"` // status of the CRL after the fetch 92 } 93 94 func (x *FetchCRLResponse) Reset() { 95 *x = FetchCRLResponse{} 96 if protoimpl.UnsafeEnabled { 97 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[1] 98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 99 ms.StoreMessageInfo(mi) 100 } 101 } 102 103 func (x *FetchCRLResponse) String() string { 104 return protoimpl.X.MessageStringOf(x) 105 } 106 107 func (*FetchCRLResponse) ProtoMessage() {} 108 109 func (x *FetchCRLResponse) ProtoReflect() protoreflect.Message { 110 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[1] 111 if protoimpl.UnsafeEnabled && x != nil { 112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 113 if ms.LoadMessageInfo() == nil { 114 ms.StoreMessageInfo(mi) 115 } 116 return ms 117 } 118 return mi.MessageOf(x) 119 } 120 121 // Deprecated: Use FetchCRLResponse.ProtoReflect.Descriptor instead. 122 func (*FetchCRLResponse) Descriptor() ([]byte, []int) { 123 return file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescGZIP(), []int{1} 124 } 125 126 func (x *FetchCRLResponse) GetCrlStatus() *CRLStatus { 127 if x != nil { 128 return x.CrlStatus 129 } 130 return nil 131 } 132 133 // ListCAsResponse is returned by ListCAs. 134 type ListCAsResponse struct { 135 state protoimpl.MessageState 136 sizeCache protoimpl.SizeCache 137 unknownFields protoimpl.UnknownFields 138 139 Cn []string `protobuf:"bytes,1,rep,name=cn,proto3" json:"cn,omitempty"` // Common Name of the CA 140 } 141 142 func (x *ListCAsResponse) Reset() { 143 *x = ListCAsResponse{} 144 if protoimpl.UnsafeEnabled { 145 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[2] 146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 147 ms.StoreMessageInfo(mi) 148 } 149 } 150 151 func (x *ListCAsResponse) String() string { 152 return protoimpl.X.MessageStringOf(x) 153 } 154 155 func (*ListCAsResponse) ProtoMessage() {} 156 157 func (x *ListCAsResponse) ProtoReflect() protoreflect.Message { 158 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[2] 159 if protoimpl.UnsafeEnabled && x != nil { 160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 161 if ms.LoadMessageInfo() == nil { 162 ms.StoreMessageInfo(mi) 163 } 164 return ms 165 } 166 return mi.MessageOf(x) 167 } 168 169 // Deprecated: Use ListCAsResponse.ProtoReflect.Descriptor instead. 170 func (*ListCAsResponse) Descriptor() ([]byte, []int) { 171 return file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescGZIP(), []int{2} 172 } 173 174 func (x *ListCAsResponse) GetCn() []string { 175 if x != nil { 176 return x.Cn 177 } 178 return nil 179 } 180 181 // GetCAStatusRequest identifies a name of CA to fetch. 182 type GetCAStatusRequest struct { 183 state protoimpl.MessageState 184 sizeCache protoimpl.SizeCache 185 unknownFields protoimpl.UnknownFields 186 187 Cn string `protobuf:"bytes,1,opt,name=cn,proto3" json:"cn,omitempty"` // Common Name of the CA 188 } 189 190 func (x *GetCAStatusRequest) Reset() { 191 *x = GetCAStatusRequest{} 192 if protoimpl.UnsafeEnabled { 193 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[3] 194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 195 ms.StoreMessageInfo(mi) 196 } 197 } 198 199 func (x *GetCAStatusRequest) String() string { 200 return protoimpl.X.MessageStringOf(x) 201 } 202 203 func (*GetCAStatusRequest) ProtoMessage() {} 204 205 func (x *GetCAStatusRequest) ProtoReflect() protoreflect.Message { 206 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[3] 207 if protoimpl.UnsafeEnabled && x != nil { 208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 209 if ms.LoadMessageInfo() == nil { 210 ms.StoreMessageInfo(mi) 211 } 212 return ms 213 } 214 return mi.MessageOf(x) 215 } 216 217 // Deprecated: Use GetCAStatusRequest.ProtoReflect.Descriptor instead. 218 func (*GetCAStatusRequest) Descriptor() ([]byte, []int) { 219 return file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescGZIP(), []int{3} 220 } 221 222 func (x *GetCAStatusRequest) GetCn() string { 223 if x != nil { 224 return x.Cn 225 } 226 return "" 227 } 228 229 // GetCAStatusResponse is returned by GetCAStatus method. 230 // 231 // If requested CA doesn't exist, all fields are empty. 232 type GetCAStatusResponse struct { 233 state protoimpl.MessageState 234 sizeCache protoimpl.SizeCache 235 unknownFields protoimpl.UnknownFields 236 237 Config *CertificateAuthorityConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // current config 238 Cert string `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"` // pem-encoded CA certificate 239 Removed bool `protobuf:"varint,3,opt,name=removed,proto3" json:"removed,omitempty"` // true if this CA was removed from the config 240 Ready bool `protobuf:"varint,4,opt,name=ready,proto3" json:"ready,omitempty"` // true if this CA is ready for usage 241 AddedRev string `protobuf:"bytes,5,opt,name=added_rev,json=addedRev,proto3" json:"added_rev,omitempty"` // config rev when this CA appeared 242 UpdatedRev string `protobuf:"bytes,6,opt,name=updated_rev,json=updatedRev,proto3" json:"updated_rev,omitempty"` // config rev when this CA was updated 243 RemovedRev string `protobuf:"bytes,7,opt,name=removed_rev,json=removedRev,proto3" json:"removed_rev,omitempty"` // config rev when this CA was removed 244 CrlStatus *CRLStatus `protobuf:"bytes,8,opt,name=crl_status,json=crlStatus,proto3" json:"crl_status,omitempty"` // last known status of the CRL for this CA 245 } 246 247 func (x *GetCAStatusResponse) Reset() { 248 *x = GetCAStatusResponse{} 249 if protoimpl.UnsafeEnabled { 250 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[4] 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 ms.StoreMessageInfo(mi) 253 } 254 } 255 256 func (x *GetCAStatusResponse) String() string { 257 return protoimpl.X.MessageStringOf(x) 258 } 259 260 func (*GetCAStatusResponse) ProtoMessage() {} 261 262 func (x *GetCAStatusResponse) ProtoReflect() protoreflect.Message { 263 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[4] 264 if protoimpl.UnsafeEnabled && x != nil { 265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 266 if ms.LoadMessageInfo() == nil { 267 ms.StoreMessageInfo(mi) 268 } 269 return ms 270 } 271 return mi.MessageOf(x) 272 } 273 274 // Deprecated: Use GetCAStatusResponse.ProtoReflect.Descriptor instead. 275 func (*GetCAStatusResponse) Descriptor() ([]byte, []int) { 276 return file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescGZIP(), []int{4} 277 } 278 279 func (x *GetCAStatusResponse) GetConfig() *CertificateAuthorityConfig { 280 if x != nil { 281 return x.Config 282 } 283 return nil 284 } 285 286 func (x *GetCAStatusResponse) GetCert() string { 287 if x != nil { 288 return x.Cert 289 } 290 return "" 291 } 292 293 func (x *GetCAStatusResponse) GetRemoved() bool { 294 if x != nil { 295 return x.Removed 296 } 297 return false 298 } 299 300 func (x *GetCAStatusResponse) GetReady() bool { 301 if x != nil { 302 return x.Ready 303 } 304 return false 305 } 306 307 func (x *GetCAStatusResponse) GetAddedRev() string { 308 if x != nil { 309 return x.AddedRev 310 } 311 return "" 312 } 313 314 func (x *GetCAStatusResponse) GetUpdatedRev() string { 315 if x != nil { 316 return x.UpdatedRev 317 } 318 return "" 319 } 320 321 func (x *GetCAStatusResponse) GetRemovedRev() string { 322 if x != nil { 323 return x.RemovedRev 324 } 325 return "" 326 } 327 328 func (x *GetCAStatusResponse) GetCrlStatus() *CRLStatus { 329 if x != nil { 330 return x.CrlStatus 331 } 332 return nil 333 } 334 335 // IsRevokedCertRequest contains a name of the CA and a cert serial number. 336 type IsRevokedCertRequest struct { 337 state protoimpl.MessageState 338 sizeCache protoimpl.SizeCache 339 unknownFields protoimpl.UnknownFields 340 341 Ca string `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"` // Common Name of the CA 342 Sn string `protobuf:"bytes,2,opt,name=sn,proto3" json:"sn,omitempty"` // cert's serial number (big.Int encoded as a decimal string) 343 } 344 345 func (x *IsRevokedCertRequest) Reset() { 346 *x = IsRevokedCertRequest{} 347 if protoimpl.UnsafeEnabled { 348 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[5] 349 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 350 ms.StoreMessageInfo(mi) 351 } 352 } 353 354 func (x *IsRevokedCertRequest) String() string { 355 return protoimpl.X.MessageStringOf(x) 356 } 357 358 func (*IsRevokedCertRequest) ProtoMessage() {} 359 360 func (x *IsRevokedCertRequest) ProtoReflect() protoreflect.Message { 361 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[5] 362 if protoimpl.UnsafeEnabled && x != nil { 363 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 364 if ms.LoadMessageInfo() == nil { 365 ms.StoreMessageInfo(mi) 366 } 367 return ms 368 } 369 return mi.MessageOf(x) 370 } 371 372 // Deprecated: Use IsRevokedCertRequest.ProtoReflect.Descriptor instead. 373 func (*IsRevokedCertRequest) Descriptor() ([]byte, []int) { 374 return file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescGZIP(), []int{5} 375 } 376 377 func (x *IsRevokedCertRequest) GetCa() string { 378 if x != nil { 379 return x.Ca 380 } 381 return "" 382 } 383 384 func (x *IsRevokedCertRequest) GetSn() string { 385 if x != nil { 386 return x.Sn 387 } 388 return "" 389 } 390 391 // IsRevokedCertResponse is returned by IsRevokedCert 392 type IsRevokedCertResponse struct { 393 state protoimpl.MessageState 394 sizeCache protoimpl.SizeCache 395 unknownFields protoimpl.UnknownFields 396 397 Revoked bool `protobuf:"varint,1,opt,name=revoked,proto3" json:"revoked,omitempty"` // true if the cert with given SN is in CRL 398 } 399 400 func (x *IsRevokedCertResponse) Reset() { 401 *x = IsRevokedCertResponse{} 402 if protoimpl.UnsafeEnabled { 403 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[6] 404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 405 ms.StoreMessageInfo(mi) 406 } 407 } 408 409 func (x *IsRevokedCertResponse) String() string { 410 return protoimpl.X.MessageStringOf(x) 411 } 412 413 func (*IsRevokedCertResponse) ProtoMessage() {} 414 415 func (x *IsRevokedCertResponse) ProtoReflect() protoreflect.Message { 416 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[6] 417 if protoimpl.UnsafeEnabled && x != nil { 418 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 419 if ms.LoadMessageInfo() == nil { 420 ms.StoreMessageInfo(mi) 421 } 422 return ms 423 } 424 return mi.MessageOf(x) 425 } 426 427 // Deprecated: Use IsRevokedCertResponse.ProtoReflect.Descriptor instead. 428 func (*IsRevokedCertResponse) Descriptor() ([]byte, []int) { 429 return file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescGZIP(), []int{6} 430 } 431 432 func (x *IsRevokedCertResponse) GetRevoked() bool { 433 if x != nil { 434 return x.Revoked 435 } 436 return false 437 } 438 439 // CheckCertificateRequest contains a pem encoded certificate to check. 440 type CheckCertificateRequest struct { 441 state protoimpl.MessageState 442 sizeCache protoimpl.SizeCache 443 unknownFields protoimpl.UnknownFields 444 445 CertPem string `protobuf:"bytes,1,opt,name=cert_pem,json=certPem,proto3" json:"cert_pem,omitempty"` // pem encoded certificate to check for validity 446 } 447 448 func (x *CheckCertificateRequest) Reset() { 449 *x = CheckCertificateRequest{} 450 if protoimpl.UnsafeEnabled { 451 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[7] 452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 453 ms.StoreMessageInfo(mi) 454 } 455 } 456 457 func (x *CheckCertificateRequest) String() string { 458 return protoimpl.X.MessageStringOf(x) 459 } 460 461 func (*CheckCertificateRequest) ProtoMessage() {} 462 463 func (x *CheckCertificateRequest) ProtoReflect() protoreflect.Message { 464 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[7] 465 if protoimpl.UnsafeEnabled && x != nil { 466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 467 if ms.LoadMessageInfo() == nil { 468 ms.StoreMessageInfo(mi) 469 } 470 return ms 471 } 472 return mi.MessageOf(x) 473 } 474 475 // Deprecated: Use CheckCertificateRequest.ProtoReflect.Descriptor instead. 476 func (*CheckCertificateRequest) Descriptor() ([]byte, []int) { 477 return file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescGZIP(), []int{7} 478 } 479 480 func (x *CheckCertificateRequest) GetCertPem() string { 481 if x != nil { 482 return x.CertPem 483 } 484 return "" 485 } 486 487 // CheckCertificateResponse is returned by CheckCertificate. 488 type CheckCertificateResponse struct { 489 state protoimpl.MessageState 490 sizeCache protoimpl.SizeCache 491 unknownFields protoimpl.UnknownFields 492 493 IsValid bool `protobuf:"varint,1,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"` // true when certificate is valid 494 InvalidReason string `protobuf:"bytes,2,opt,name=invalid_reason,json=invalidReason,proto3" json:"invalid_reason,omitempty"` // a reason for certificate invalidity if it is invalid 495 } 496 497 func (x *CheckCertificateResponse) Reset() { 498 *x = CheckCertificateResponse{} 499 if protoimpl.UnsafeEnabled { 500 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[8] 501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 502 ms.StoreMessageInfo(mi) 503 } 504 } 505 506 func (x *CheckCertificateResponse) String() string { 507 return protoimpl.X.MessageStringOf(x) 508 } 509 510 func (*CheckCertificateResponse) ProtoMessage() {} 511 512 func (x *CheckCertificateResponse) ProtoReflect() protoreflect.Message { 513 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[8] 514 if protoimpl.UnsafeEnabled && x != nil { 515 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 516 if ms.LoadMessageInfo() == nil { 517 ms.StoreMessageInfo(mi) 518 } 519 return ms 520 } 521 return mi.MessageOf(x) 522 } 523 524 // Deprecated: Use CheckCertificateResponse.ProtoReflect.Descriptor instead. 525 func (*CheckCertificateResponse) Descriptor() ([]byte, []int) { 526 return file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescGZIP(), []int{8} 527 } 528 529 func (x *CheckCertificateResponse) GetIsValid() bool { 530 if x != nil { 531 return x.IsValid 532 } 533 return false 534 } 535 536 func (x *CheckCertificateResponse) GetInvalidReason() string { 537 if x != nil { 538 return x.InvalidReason 539 } 540 return "" 541 } 542 543 // CRLStatus describes the latest known state of imported CRL. 544 type CRLStatus struct { 545 state protoimpl.MessageState 546 sizeCache protoimpl.SizeCache 547 unknownFields protoimpl.UnknownFields 548 549 LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` // time when CRL was generated by the CA 550 LastFetchTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_fetch_time,json=lastFetchTime,proto3" json:"last_fetch_time,omitempty"` // time when CRL was fetched 551 LastFetchEtag string `protobuf:"bytes,3,opt,name=last_fetch_etag,json=lastFetchEtag,proto3" json:"last_fetch_etag,omitempty"` // etag of last successfully fetched CRL 552 RevokedCertsCount int64 `protobuf:"varint,4,opt,name=revoked_certs_count,json=revokedCertsCount,proto3" json:"revoked_certs_count,omitempty"` // number of revoked certificates in the CRL 553 } 554 555 func (x *CRLStatus) Reset() { 556 *x = CRLStatus{} 557 if protoimpl.UnsafeEnabled { 558 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[9] 559 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 560 ms.StoreMessageInfo(mi) 561 } 562 } 563 564 func (x *CRLStatus) String() string { 565 return protoimpl.X.MessageStringOf(x) 566 } 567 568 func (*CRLStatus) ProtoMessage() {} 569 570 func (x *CRLStatus) ProtoReflect() protoreflect.Message { 571 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[9] 572 if protoimpl.UnsafeEnabled && x != nil { 573 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 574 if ms.LoadMessageInfo() == nil { 575 ms.StoreMessageInfo(mi) 576 } 577 return ms 578 } 579 return mi.MessageOf(x) 580 } 581 582 // Deprecated: Use CRLStatus.ProtoReflect.Descriptor instead. 583 func (*CRLStatus) Descriptor() ([]byte, []int) { 584 return file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescGZIP(), []int{9} 585 } 586 587 func (x *CRLStatus) GetLastUpdateTime() *timestamppb.Timestamp { 588 if x != nil { 589 return x.LastUpdateTime 590 } 591 return nil 592 } 593 594 func (x *CRLStatus) GetLastFetchTime() *timestamppb.Timestamp { 595 if x != nil { 596 return x.LastFetchTime 597 } 598 return nil 599 } 600 601 func (x *CRLStatus) GetLastFetchEtag() string { 602 if x != nil { 603 return x.LastFetchEtag 604 } 605 return "" 606 } 607 608 func (x *CRLStatus) GetRevokedCertsCount() int64 { 609 if x != nil { 610 return x.RevokedCertsCount 611 } 612 return 0 613 } 614 615 var File_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto protoreflect.FileDescriptor 616 617 var file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDesc = []byte{ 618 0x0a, 0x4b, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 619 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 620 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 621 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 622 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x74, 623 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 624 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 625 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 626 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 627 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 628 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 629 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 630 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 631 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x0f, 0x46, 0x65, 632 0x74, 0x63, 0x68, 0x43, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 633 0x02, 0x63, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x63, 0x6e, 0x12, 0x14, 0x0a, 634 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 635 0x72, 0x63, 0x65, 0x22, 0x4f, 0x0a, 0x10, 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 0x52, 0x4c, 0x52, 636 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x72, 0x6c, 0x5f, 0x73, 637 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x6f, 638 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 639 0x43, 0x52, 0x4c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x63, 0x72, 0x6c, 0x53, 0x74, 640 0x61, 0x74, 0x75, 0x73, 0x22, 0x21, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x41, 0x73, 0x52, 641 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x6e, 0x18, 0x01, 0x20, 642 0x03, 0x28, 0x09, 0x52, 0x02, 0x63, 0x6e, 0x22, 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x41, 643 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 644 0x02, 0x63, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x63, 0x6e, 0x22, 0xbc, 0x02, 645 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x41, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 646 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 647 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 648 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 649 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 650 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 651 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, 652 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 653 0x08, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 654 0x61, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 655 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x18, 0x05, 0x20, 656 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x64, 0x64, 0x65, 0x64, 0x52, 0x65, 0x76, 0x12, 0x1f, 0x0a, 657 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x18, 0x06, 0x20, 0x01, 658 0x28, 0x09, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x76, 0x12, 0x1f, 659 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x18, 0x07, 0x20, 660 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x52, 0x65, 0x76, 0x12, 661 0x3b, 0x0a, 0x0a, 0x63, 0x72, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 662 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 663 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x43, 0x52, 0x4c, 0x53, 0x74, 0x61, 0x74, 0x75, 664 0x73, 0x52, 0x09, 0x63, 0x72, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x36, 0x0a, 0x14, 665 0x49, 0x73, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 666 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 667 0x52, 0x02, 0x63, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x73, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 668 0x52, 0x02, 0x73, 0x6e, 0x22, 0x31, 0x0a, 0x15, 0x49, 0x73, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 669 0x64, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 670 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 671 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x22, 0x34, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 672 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 673 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x65, 0x6d, 0x18, 0x01, 674 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x65, 0x72, 0x74, 0x50, 0x65, 0x6d, 0x22, 0x5c, 0x0a, 675 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 676 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 677 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x56, 678 0x61, 0x6c, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 679 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 680 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xed, 0x01, 0x0a, 0x09, 681 0x43, 0x52, 0x4c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x44, 0x0a, 0x10, 0x6c, 0x61, 0x73, 682 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 683 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 684 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 685 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 686 0x42, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 687 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 688 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 689 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x46, 0x65, 0x74, 0x63, 0x68, 0x54, 690 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x66, 0x65, 0x74, 0x63, 691 0x68, 0x5f, 0x65, 0x74, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 692 0x73, 0x74, 0x46, 0x65, 0x74, 0x63, 0x68, 0x45, 0x74, 0x61, 0x67, 0x12, 0x2e, 0x0a, 0x13, 0x72, 693 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 694 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 695 0x64, 0x43, 0x65, 0x72, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xe3, 0x03, 0x0a, 0x16, 696 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 697 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x53, 0x0a, 0x08, 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 698 0x52, 0x4c, 0x12, 0x22, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 699 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 0x52, 0x4c, 0x52, 700 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 701 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 702 0x43, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x07, 0x4c, 703 0x69, 0x73, 0x74, 0x43, 0x41, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 704 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x22, 705 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 706 0x69, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x41, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 707 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x41, 0x53, 0x74, 0x61, 0x74, 0x75, 708 0x73, 0x12, 0x25, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 709 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x41, 0x53, 0x74, 0x61, 0x74, 0x75, 710 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 711 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x74, 712 0x43, 0x41, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 713 0x12, 0x62, 0x0a, 0x0d, 0x49, 0x73, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x43, 0x65, 0x72, 714 0x74, 0x12, 0x27, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 715 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x49, 0x73, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x43, 716 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x74, 0x6f, 0x6b, 717 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x49, 718 0x73, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 719 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x65, 0x72, 720 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 721 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x43, 0x68, 0x65, 722 0x63, 0x6b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 723 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 724 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x65, 725 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 726 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 727 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 728 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 729 0x76, 0x31, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 730 } 731 732 var ( 733 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescOnce sync.Once 734 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescData = file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDesc 735 ) 736 737 func file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescGZIP() []byte { 738 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescOnce.Do(func() { 739 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescData) 740 }) 741 return file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDescData 742 } 743 744 var file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 745 var file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_goTypes = []interface{}{ 746 (*FetchCRLRequest)(nil), // 0: tokenserver.admin.FetchCRLRequest 747 (*FetchCRLResponse)(nil), // 1: tokenserver.admin.FetchCRLResponse 748 (*ListCAsResponse)(nil), // 2: tokenserver.admin.ListCAsResponse 749 (*GetCAStatusRequest)(nil), // 3: tokenserver.admin.GetCAStatusRequest 750 (*GetCAStatusResponse)(nil), // 4: tokenserver.admin.GetCAStatusResponse 751 (*IsRevokedCertRequest)(nil), // 5: tokenserver.admin.IsRevokedCertRequest 752 (*IsRevokedCertResponse)(nil), // 6: tokenserver.admin.IsRevokedCertResponse 753 (*CheckCertificateRequest)(nil), // 7: tokenserver.admin.CheckCertificateRequest 754 (*CheckCertificateResponse)(nil), // 8: tokenserver.admin.CheckCertificateResponse 755 (*CRLStatus)(nil), // 9: tokenserver.admin.CRLStatus 756 (*CertificateAuthorityConfig)(nil), // 10: tokenserver.admin.CertificateAuthorityConfig 757 (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp 758 (*emptypb.Empty)(nil), // 12: google.protobuf.Empty 759 } 760 var file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_depIdxs = []int32{ 761 9, // 0: tokenserver.admin.FetchCRLResponse.crl_status:type_name -> tokenserver.admin.CRLStatus 762 10, // 1: tokenserver.admin.GetCAStatusResponse.config:type_name -> tokenserver.admin.CertificateAuthorityConfig 763 9, // 2: tokenserver.admin.GetCAStatusResponse.crl_status:type_name -> tokenserver.admin.CRLStatus 764 11, // 3: tokenserver.admin.CRLStatus.last_update_time:type_name -> google.protobuf.Timestamp 765 11, // 4: tokenserver.admin.CRLStatus.last_fetch_time:type_name -> google.protobuf.Timestamp 766 0, // 5: tokenserver.admin.CertificateAuthorities.FetchCRL:input_type -> tokenserver.admin.FetchCRLRequest 767 12, // 6: tokenserver.admin.CertificateAuthorities.ListCAs:input_type -> google.protobuf.Empty 768 3, // 7: tokenserver.admin.CertificateAuthorities.GetCAStatus:input_type -> tokenserver.admin.GetCAStatusRequest 769 5, // 8: tokenserver.admin.CertificateAuthorities.IsRevokedCert:input_type -> tokenserver.admin.IsRevokedCertRequest 770 7, // 9: tokenserver.admin.CertificateAuthorities.CheckCertificate:input_type -> tokenserver.admin.CheckCertificateRequest 771 1, // 10: tokenserver.admin.CertificateAuthorities.FetchCRL:output_type -> tokenserver.admin.FetchCRLResponse 772 2, // 11: tokenserver.admin.CertificateAuthorities.ListCAs:output_type -> tokenserver.admin.ListCAsResponse 773 4, // 12: tokenserver.admin.CertificateAuthorities.GetCAStatus:output_type -> tokenserver.admin.GetCAStatusResponse 774 6, // 13: tokenserver.admin.CertificateAuthorities.IsRevokedCert:output_type -> tokenserver.admin.IsRevokedCertResponse 775 8, // 14: tokenserver.admin.CertificateAuthorities.CheckCertificate:output_type -> tokenserver.admin.CheckCertificateResponse 776 10, // [10:15] is the sub-list for method output_type 777 5, // [5:10] is the sub-list for method input_type 778 5, // [5:5] is the sub-list for extension type_name 779 5, // [5:5] is the sub-list for extension extendee 780 0, // [0:5] is the sub-list for field type_name 781 } 782 783 func init() { file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_init() } 784 func file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_init() { 785 if File_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto != nil { 786 return 787 } 788 file_go_chromium_org_luci_tokenserver_api_admin_v1_config_proto_init() 789 if !protoimpl.UnsafeEnabled { 790 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 791 switch v := v.(*FetchCRLRequest); i { 792 case 0: 793 return &v.state 794 case 1: 795 return &v.sizeCache 796 case 2: 797 return &v.unknownFields 798 default: 799 return nil 800 } 801 } 802 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 803 switch v := v.(*FetchCRLResponse); i { 804 case 0: 805 return &v.state 806 case 1: 807 return &v.sizeCache 808 case 2: 809 return &v.unknownFields 810 default: 811 return nil 812 } 813 } 814 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 815 switch v := v.(*ListCAsResponse); i { 816 case 0: 817 return &v.state 818 case 1: 819 return &v.sizeCache 820 case 2: 821 return &v.unknownFields 822 default: 823 return nil 824 } 825 } 826 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 827 switch v := v.(*GetCAStatusRequest); i { 828 case 0: 829 return &v.state 830 case 1: 831 return &v.sizeCache 832 case 2: 833 return &v.unknownFields 834 default: 835 return nil 836 } 837 } 838 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 839 switch v := v.(*GetCAStatusResponse); i { 840 case 0: 841 return &v.state 842 case 1: 843 return &v.sizeCache 844 case 2: 845 return &v.unknownFields 846 default: 847 return nil 848 } 849 } 850 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 851 switch v := v.(*IsRevokedCertRequest); i { 852 case 0: 853 return &v.state 854 case 1: 855 return &v.sizeCache 856 case 2: 857 return &v.unknownFields 858 default: 859 return nil 860 } 861 } 862 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 863 switch v := v.(*IsRevokedCertResponse); i { 864 case 0: 865 return &v.state 866 case 1: 867 return &v.sizeCache 868 case 2: 869 return &v.unknownFields 870 default: 871 return nil 872 } 873 } 874 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 875 switch v := v.(*CheckCertificateRequest); i { 876 case 0: 877 return &v.state 878 case 1: 879 return &v.sizeCache 880 case 2: 881 return &v.unknownFields 882 default: 883 return nil 884 } 885 } 886 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 887 switch v := v.(*CheckCertificateResponse); i { 888 case 0: 889 return &v.state 890 case 1: 891 return &v.sizeCache 892 case 2: 893 return &v.unknownFields 894 default: 895 return nil 896 } 897 } 898 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 899 switch v := v.(*CRLStatus); i { 900 case 0: 901 return &v.state 902 case 1: 903 return &v.sizeCache 904 case 2: 905 return &v.unknownFields 906 default: 907 return nil 908 } 909 } 910 } 911 type x struct{} 912 out := protoimpl.TypeBuilder{ 913 File: protoimpl.DescBuilder{ 914 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 915 RawDescriptor: file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDesc, 916 NumEnums: 0, 917 NumMessages: 10, 918 NumExtensions: 0, 919 NumServices: 1, 920 }, 921 GoTypes: file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_goTypes, 922 DependencyIndexes: file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_depIdxs, 923 MessageInfos: file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_msgTypes, 924 }.Build() 925 File_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto = out.File 926 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_rawDesc = nil 927 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_goTypes = nil 928 file_go_chromium_org_luci_tokenserver_api_admin_v1_certificate_authorities_proto_depIdxs = nil 929 }