Files

3104 lines
99 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.12
// protoc v7.36.2
// source: ca.proto
package pb
import (
reflect "reflect"
sync "sync"
unsafe "unsafe"
_ "github.com/effective-security/protoc-gen-go/api"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// RegisterIssuerRequest specifies a request to create a new issuer
type RegisterIssuerRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID of the owning project; empty for an org-wide issuer
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Label of the issuer, unique per (Org, Project)
Label string `protobuf:"bytes,3,opt,name=Label,proto3" json:"Label,omitempty"`
// Type of the authority
Type AuthorityType_Enum `protobuf:"varint,4,opt,name=Type,proto3,enum=pb.AuthorityType_Enum" json:"Type,omitempty"`
// Subject of the issuer certificate
Subject *X509Subject `protobuf:"bytes,5,opt,name=Subject,proto3" json:"Subject,omitempty"`
// KeySpec of the key to generate; defaults to ECDSA P-256
KeySpec *KeySpec `protobuf:"bytes,6,opt,name=KeySpec,proto3" json:"KeySpec,omitempty"`
// KeyProvider selects the crypto provider; empty for the server default
KeyProvider string `protobuf:"bytes,7,opt,name=KeyProvider,proto3" json:"KeyProvider,omitempty"`
// ParentID specifies the signing issuer. It must belong to the same org,
// or be a platform issuer that allows the Profile.
// Empty for Root type, or to create a Pending issuer with a CSR.
ParentID string `protobuf:"bytes,8,opt,name=ParentID,proto3" json:"ParentID,omitempty"`
// Profile specifies the CA profile the parent uses to sign the issuer
// certificate. Required when ParentID is set or Type is Root.
Profile string `protobuf:"bytes,9,opt,name=Profile,proto3" json:"Profile,omitempty"`
// Config provides runtime settings
Config *IssuerConfig `protobuf:"bytes,10,opt,name=Config,proto3" json:"Config,omitempty"`
// SAN specifies Subject Alternative Names for the issuer certificate
SAN []string `protobuf:"bytes,11,rep,name=SAN,proto3" json:"SAN,omitempty"`
// Extensions specifies additional extensions for the issuer certificate
Extensions []*X509Extension `protobuf:"bytes,12,rep,name=Extensions,proto3" json:"Extensions,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RegisterIssuerRequest) Reset() {
*x = RegisterIssuerRequest{}
mi := &file_ca_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RegisterIssuerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegisterIssuerRequest) ProtoMessage() {}
func (x *RegisterIssuerRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RegisterIssuerRequest.ProtoReflect.Descriptor instead.
func (*RegisterIssuerRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{0}
}
func (x *RegisterIssuerRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
func (x *RegisterIssuerRequest) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *RegisterIssuerRequest) GetType() AuthorityType_Enum {
if x != nil {
return x.Type
}
return AuthorityType_Unknown
}
func (x *RegisterIssuerRequest) GetSubject() *X509Subject {
if x != nil {
return x.Subject
}
return nil
}
func (x *RegisterIssuerRequest) GetKeySpec() *KeySpec {
if x != nil {
return x.KeySpec
}
return nil
}
func (x *RegisterIssuerRequest) GetKeyProvider() string {
if x != nil {
return x.KeyProvider
}
return ""
}
func (x *RegisterIssuerRequest) GetParentID() string {
if x != nil {
return x.ParentID
}
return ""
}
func (x *RegisterIssuerRequest) GetProfile() string {
if x != nil {
return x.Profile
}
return ""
}
func (x *RegisterIssuerRequest) GetConfig() *IssuerConfig {
if x != nil {
return x.Config
}
return nil
}
func (x *RegisterIssuerRequest) GetSAN() []string {
if x != nil {
return x.SAN
}
return nil
}
func (x *RegisterIssuerRequest) GetExtensions() []*X509Extension {
if x != nil {
return x.Extensions
}
return nil
}
// ImportIssuerRequest specifies a request to import an existing issuer
type ImportIssuerRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID of the owning project; empty for an org-wide issuer
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Label of the issuer, unique per (Org, Project)
Label string `protobuf:"bytes,3,opt,name=Label,proto3" json:"Label,omitempty"`
// Type of the authority
Type AuthorityType_Enum `protobuf:"varint,4,opt,name=Type,proto3,enum=pb.AuthorityType_Enum" json:"Type,omitempty"`
// Certificate provides the issuer certificate in PEM format
Certificate string `protobuf:"bytes,5,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
// Intermediates provides the intermediate CA certificates in PEM format
Intermediates string `protobuf:"bytes,6,opt,name=Intermediates,proto3" json:"Intermediates,omitempty"`
// Root provides the Root CA certificate in PEM format
Root string `protobuf:"bytes,7,opt,name=Root,proto3" json:"Root,omitempty"`
// KeyURI references an existing key in a crypto provider,
// e.g. awskms://..., gcpkms://..., pkcs11:...
KeyURI string `protobuf:"bytes,8,opt,name=KeyURI,proto3" json:"KeyURI,omitempty"`
// KeyPem provides the private key in PEM format.
// It is stored protected by the data protection provider.
KeyPem string `protobuf:"bytes,9,opt,name=KeyPem,proto3" json:"KeyPem,omitempty"`
// Config provides runtime settings
Config *IssuerConfig `protobuf:"bytes,10,opt,name=Config,proto3" json:"Config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ImportIssuerRequest) Reset() {
*x = ImportIssuerRequest{}
mi := &file_ca_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ImportIssuerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ImportIssuerRequest) ProtoMessage() {}
func (x *ImportIssuerRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ImportIssuerRequest.ProtoReflect.Descriptor instead.
func (*ImportIssuerRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{1}
}
func (x *ImportIssuerRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
func (x *ImportIssuerRequest) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *ImportIssuerRequest) GetType() AuthorityType_Enum {
if x != nil {
return x.Type
}
return AuthorityType_Unknown
}
func (x *ImportIssuerRequest) GetCertificate() string {
if x != nil {
return x.Certificate
}
return ""
}
func (x *ImportIssuerRequest) GetIntermediates() string {
if x != nil {
return x.Intermediates
}
return ""
}
func (x *ImportIssuerRequest) GetRoot() string {
if x != nil {
return x.Root
}
return ""
}
func (x *ImportIssuerRequest) GetKeyURI() string {
if x != nil {
return x.KeyURI
}
return ""
}
func (x *ImportIssuerRequest) GetKeyPem() string {
if x != nil {
return x.KeyPem
}
return ""
}
func (x *ImportIssuerRequest) GetConfig() *IssuerConfig {
if x != nil {
return x.Config
}
return nil
}
// ActivateIssuerRequest specifies the externally signed certificate for a
// Pending issuer
type ActivateIssuerRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ID of the Pending issuer
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// Certificate provides the issuer certificate in PEM format
Certificate string `protobuf:"bytes,3,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
// Intermediates provides the intermediate CA certificates in PEM format
Intermediates string `protobuf:"bytes,4,opt,name=Intermediates,proto3" json:"Intermediates,omitempty"`
// Root provides the Root CA certificate in PEM format
Root string `protobuf:"bytes,5,opt,name=Root,proto3" json:"Root,omitempty"`
// ProjectID of the issuer's project. A caller whose role is granted
// in the project only must name it, since the request is authorized at
// that scope; the issuer must belong to it.
ProjectID string `protobuf:"bytes,6,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ActivateIssuerRequest) Reset() {
*x = ActivateIssuerRequest{}
mi := &file_ca_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ActivateIssuerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActivateIssuerRequest) ProtoMessage() {}
func (x *ActivateIssuerRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ActivateIssuerRequest.ProtoReflect.Descriptor instead.
func (*ActivateIssuerRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{2}
}
func (x *ActivateIssuerRequest) GetID() string {
if x != nil {
return x.ID
}
return ""
}
func (x *ActivateIssuerRequest) GetCertificate() string {
if x != nil {
return x.Certificate
}
return ""
}
func (x *ActivateIssuerRequest) GetIntermediates() string {
if x != nil {
return x.Intermediates
}
return ""
}
func (x *ActivateIssuerRequest) GetRoot() string {
if x != nil {
return x.Root
}
return ""
}
func (x *ActivateIssuerRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
// GetIssuerRequest specifies an issuer by ID, label or IKID
type GetIssuerRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID of the owning project; used with Label
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// ID of the issuer
ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
// Label of the issuer, resolved as (Org, Project) then (Org)
Label string `protobuf:"bytes,4,opt,name=Label,proto3" json:"Label,omitempty"`
// IKID specifies Issuer Key ID
IKID string `protobuf:"bytes,5,opt,name=IKID,proto3" json:"IKID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetIssuerRequest) Reset() {
*x = GetIssuerRequest{}
mi := &file_ca_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetIssuerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetIssuerRequest) ProtoMessage() {}
func (x *GetIssuerRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetIssuerRequest.ProtoReflect.Descriptor instead.
func (*GetIssuerRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{3}
}
func (x *GetIssuerRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
func (x *GetIssuerRequest) GetID() string {
if x != nil {
return x.ID
}
return ""
}
func (x *GetIssuerRequest) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *GetIssuerRequest) GetIKID() string {
if x != nil {
return x.IKID
}
return ""
}
// ListIssuersRequest specifies a paginated list of issuers
type ListIssuersRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID filters by project; empty returns org-wide and all project
// issuers
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Status filters by status; Unknown returns all
Status IssuerStatus_Enum `protobuf:"varint,3,opt,name=Status,proto3,enum=pb.IssuerStatus_Enum" json:"Status,omitempty"`
// Type filters by authority type; Unknown returns all
Type AuthorityType_Enum `protobuf:"varint,4,opt,name=Type,proto3,enum=pb.AuthorityType_Enum" json:"Type,omitempty"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,5,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,6,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination.
// Use "initial" to start the pagination or pass the cursor returned from
// the previous request.
Cursor string `protobuf:"bytes,7,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
// IDs limits the result to the issuers with the IDs, at most 500: the
// issuers of a page of certificates in one call. An issuer outside the
// scope of the request is not returned.
IDs []string `protobuf:"bytes,8,rep,name=IDs,proto3" json:"IDs,omitempty"`
// IKIDs limits the result to the issuers with the key identifiers, as
// the certificates they issued carry them (the SKID of the issuer), at
// most 500: the labels of the issuers of a page of certificates in one
// call
IKIDs []string `protobuf:"bytes,9,rep,name=IKIDs,proto3" json:"IKIDs,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListIssuersRequest) Reset() {
*x = ListIssuersRequest{}
mi := &file_ca_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListIssuersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListIssuersRequest) ProtoMessage() {}
func (x *ListIssuersRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListIssuersRequest.ProtoReflect.Descriptor instead.
func (*ListIssuersRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{4}
}
func (x *ListIssuersRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
func (x *ListIssuersRequest) GetStatus() IssuerStatus_Enum {
if x != nil {
return x.Status
}
return IssuerStatus_Unknown
}
func (x *ListIssuersRequest) GetType() AuthorityType_Enum {
if x != nil {
return x.Type
}
return AuthorityType_Unknown
}
func (x *ListIssuersRequest) GetLimit() uint32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListIssuersRequest) GetOffset() uint32 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListIssuersRequest) GetCursor() string {
if x != nil {
return x.Cursor
}
return ""
}
func (x *ListIssuersRequest) GetIDs() []string {
if x != nil {
return x.IDs
}
return nil
}
func (x *ListIssuersRequest) GetIKIDs() []string {
if x != nil {
return x.IKIDs
}
return nil
}
// IssuersResponse returns list of issuers
type IssuersResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Issuers []*Issuer `protobuf:"bytes,1,rep,name=Issuers,proto3" json:"Issuers,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IssuersResponse) Reset() {
*x = IssuersResponse{}
mi := &file_ca_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IssuersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IssuersResponse) ProtoMessage() {}
func (x *IssuersResponse) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use IssuersResponse.ProtoReflect.Descriptor instead.
func (*IssuersResponse) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{5}
}
func (x *IssuersResponse) GetIssuers() []*Issuer {
if x != nil {
return x.Issuers
}
return nil
}
func (x *IssuersResponse) GetNextPage() *NextPage {
if x != nil {
return x.NextPage
}
return nil
}
// UpdateIssuerRequest updates issuer config or status
type UpdateIssuerRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ID of the issuer
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// Config replaces runtime settings when provided
Config *IssuerConfig `protobuf:"bytes,3,opt,name=Config,proto3" json:"Config,omitempty"`
// Status changes the status when provided: Archived or Destroyed
Status IssuerStatus_Enum `protobuf:"varint,4,opt,name=Status,proto3,enum=pb.IssuerStatus_Enum" json:"Status,omitempty"`
// ProjectID of the issuer's project. A caller whose role is granted
// in the project only must name it, since the request is authorized at
// that scope; the issuer must belong to it.
ProjectID string `protobuf:"bytes,5,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateIssuerRequest) Reset() {
*x = UpdateIssuerRequest{}
mi := &file_ca_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateIssuerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateIssuerRequest) ProtoMessage() {}
func (x *UpdateIssuerRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateIssuerRequest.ProtoReflect.Descriptor instead.
func (*UpdateIssuerRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{6}
}
func (x *UpdateIssuerRequest) GetID() string {
if x != nil {
return x.ID
}
return ""
}
func (x *UpdateIssuerRequest) GetConfig() *IssuerConfig {
if x != nil {
return x.Config
}
return nil
}
func (x *UpdateIssuerRequest) GetStatus() IssuerStatus_Enum {
if x != nil {
return x.Status
}
return IssuerStatus_Unknown
}
func (x *UpdateIssuerRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
// RegisterRootRequest registers an external trust anchor
type RegisterRootRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Pem encoded root certificate
Pem string `protobuf:"bytes,2,opt,name=Pem,proto3" json:"Pem,omitempty"`
// Trust scope
Trust Trust_Enum `protobuf:"varint,3,opt,name=Trust,proto3,enum=pb.Trust_Enum" json:"Trust,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RegisterRootRequest) Reset() {
*x = RegisterRootRequest{}
mi := &file_ca_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RegisterRootRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegisterRootRequest) ProtoMessage() {}
func (x *RegisterRootRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RegisterRootRequest.ProtoReflect.Descriptor instead.
func (*RegisterRootRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{7}
}
func (x *RegisterRootRequest) GetPem() string {
if x != nil {
return x.Pem
}
return ""
}
func (x *RegisterRootRequest) GetTrust() Trust_Enum {
if x != nil {
return x.Trust
}
return Trust_Any
}
// ListRootsRequest specifies a list of trust anchors
type ListRootsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,3,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination
Cursor string `protobuf:"bytes,4,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListRootsRequest) Reset() {
*x = ListRootsRequest{}
mi := &file_ca_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListRootsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRootsRequest) ProtoMessage() {}
func (x *ListRootsRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListRootsRequest.ProtoReflect.Descriptor instead.
func (*ListRootsRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{8}
}
func (x *ListRootsRequest) GetLimit() uint32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListRootsRequest) GetOffset() uint32 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListRootsRequest) GetCursor() string {
if x != nil {
return x.Cursor
}
return ""
}
// RootsResponse returns Root Certificates
type RootsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Roots []*RootCertificate `protobuf:"bytes,1,rep,name=Roots,proto3" json:"Roots,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RootsResponse) Reset() {
*x = RootsResponse{}
mi := &file_ca_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RootsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RootsResponse) ProtoMessage() {}
func (x *RootsResponse) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RootsResponse.ProtoReflect.Descriptor instead.
func (*RootsResponse) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{9}
}
func (x *RootsResponse) GetRoots() []*RootCertificate {
if x != nil {
return x.Roots
}
return nil
}
func (x *RootsResponse) GetNextPage() *NextPage {
if x != nil {
return x.NextPage
}
return nil
}
// RegisterProfileRequest creates or replaces a profile
type RegisterProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID of the owning project; empty for an org-wide profile
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Profile provides the profile definition.
// Profile.Label and Profile.IssuerLabel are required.
Profile *CertProfile `protobuf:"bytes,3,opt,name=Profile,proto3" json:"Profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RegisterProfileRequest) Reset() {
*x = RegisterProfileRequest{}
mi := &file_ca_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RegisterProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegisterProfileRequest) ProtoMessage() {}
func (x *RegisterProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RegisterProfileRequest.ProtoReflect.Descriptor instead.
func (*RegisterProfileRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{10}
}
func (x *RegisterProfileRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
func (x *RegisterProfileRequest) GetProfile() *CertProfile {
if x != nil {
return x.Profile
}
return nil
}
// GetProfileRequest specifies a profile by ID or label
type GetProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID of the owning project; used with Label
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// ID of the profile
ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
// Label of the profile, resolved as (Org, Project) then (Org)
Label string `protobuf:"bytes,4,opt,name=Label,proto3" json:"Label,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetProfileRequest) Reset() {
*x = GetProfileRequest{}
mi := &file_ca_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetProfileRequest) ProtoMessage() {}
func (x *GetProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.
func (*GetProfileRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{11}
}
func (x *GetProfileRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
func (x *GetProfileRequest) GetID() string {
if x != nil {
return x.ID
}
return ""
}
func (x *GetProfileRequest) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
// ListProfilesRequest specifies a paginated list of profiles
type ListProfilesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID filters by project; empty returns org-wide and all project
// profiles
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// IssuerLabel filters by issuer label
IssuerLabel string `protobuf:"bytes,3,opt,name=IssuerLabel,proto3" json:"IssuerLabel,omitempty"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,4,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,5,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination
Cursor string `protobuf:"bytes,6,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
// IDs limits the result to the profiles with the IDs, at most 500. A
// profile outside the scope of the request is not returned.
IDs []string `protobuf:"bytes,7,rep,name=IDs,proto3" json:"IDs,omitempty"`
// Labels limits the result to the profiles with the labels, in every
// scope the request covers, at most 500: the profiles of a page of
// certificates in one call
Labels []string `protobuf:"bytes,8,rep,name=Labels,proto3" json:"Labels,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListProfilesRequest) Reset() {
*x = ListProfilesRequest{}
mi := &file_ca_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListProfilesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListProfilesRequest) ProtoMessage() {}
func (x *ListProfilesRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListProfilesRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{12}
}
func (x *ListProfilesRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
func (x *ListProfilesRequest) GetIssuerLabel() string {
if x != nil {
return x.IssuerLabel
}
return ""
}
func (x *ListProfilesRequest) GetLimit() uint32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListProfilesRequest) GetOffset() uint32 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListProfilesRequest) GetCursor() string {
if x != nil {
return x.Cursor
}
return ""
}
func (x *ListProfilesRequest) GetIDs() []string {
if x != nil {
return x.IDs
}
return nil
}
func (x *ListProfilesRequest) GetLabels() []string {
if x != nil {
return x.Labels
}
return nil
}
// ProfilesResponse returns list of profiles
type ProfilesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Profiles []*CertProfile `protobuf:"bytes,1,rep,name=Profiles,proto3" json:"Profiles,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ProfilesResponse) Reset() {
*x = ProfilesResponse{}
mi := &file_ca_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ProfilesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProfilesResponse) ProtoMessage() {}
func (x *ProfilesResponse) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ProfilesResponse.ProtoReflect.Descriptor instead.
func (*ProfilesResponse) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{13}
}
func (x *ProfilesResponse) GetProfiles() []*CertProfile {
if x != nil {
return x.Profiles
}
return nil
}
func (x *ProfilesResponse) GetNextPage() *NextPage {
if x != nil {
return x.NextPage
}
return nil
}
// DeleteProfileRequest deletes a profile
type DeleteProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ID of the profile
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// ProjectID of the profile's project. A caller whose role is granted
// in the project only must name it, since the request is authorized at
// that scope; the profile must belong to it.
ProjectID string `protobuf:"bytes,3,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteProfileRequest) Reset() {
*x = DeleteProfileRequest{}
mi := &file_ca_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteProfileRequest) ProtoMessage() {}
func (x *DeleteProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteProfileRequest.ProtoReflect.Descriptor instead.
func (*DeleteProfileRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{14}
}
func (x *DeleteProfileRequest) GetID() string {
if x != nil {
return x.ID
}
return ""
}
func (x *DeleteProfileRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
// SignCertificateRequest specifies certificate sign request
type SignCertificateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID of the owning project; recorded on the certificate and used to
// resolve project-scoped profiles and issuers
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Profile specifies the certificate profile label
Profile string `protobuf:"bytes,3,opt,name=Profile,proto3" json:"Profile,omitempty"`
// IssuerLabel selects the issuer when the profile binds to "*";
// otherwise it must match the profile's issuer
IssuerLabel string `protobuf:"bytes,4,opt,name=IssuerLabel,proto3" json:"IssuerLabel,omitempty"`
// RequestFormat provides the certificate request format: PEM or DER
RequestFormat EncodingFormat_Enum `protobuf:"varint,5,opt,name=RequestFormat,proto3,enum=pb.EncodingFormat_Enum" json:"RequestFormat,omitempty"`
// Request provides the PKCS#10 certificate request
Request []byte `protobuf:"bytes,6,opt,name=Request,proto3" json:"Request,omitempty"`
// SAN specifies Subject Alternative Names to add or override
SAN []string `protobuf:"bytes,7,rep,name=SAN,proto3" json:"SAN,omitempty"`
// Subject overrides the subject name from the request
Subject *X509Subject `protobuf:"bytes,8,opt,name=Subject,proto3" json:"Subject,omitempty"`
// NotBefore overrides the validity start in RFC3339 format;
// no backdate is applied when provided
NotBefore string `protobuf:"bytes,9,opt,name=NotBefore,proto3" json:"NotBefore,omitempty"`
// NotAfter overrides the validity end in RFC3339 format;
// it must not exceed the profile expiry
NotAfter string `protobuf:"bytes,10,opt,name=NotAfter,proto3" json:"NotAfter,omitempty"`
// Extensions specifies additional extensions to include, subject to the
// profile's AllowedExtensions
Extensions []*X509Extension `protobuf:"bytes,11,rep,name=Extensions,proto3" json:"Extensions,omitempty"`
// Label is provided by the client for search and display
Label string `protobuf:"bytes,12,opt,name=Label,proto3" json:"Label,omitempty"`
// Metadata is provided by the client
Metadata map[string]string `protobuf:"bytes,13,rep,name=Metadata,proto3" json:"Metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SignCertificateRequest) Reset() {
*x = SignCertificateRequest{}
mi := &file_ca_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SignCertificateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SignCertificateRequest) ProtoMessage() {}
func (x *SignCertificateRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SignCertificateRequest.ProtoReflect.Descriptor instead.
func (*SignCertificateRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{15}
}
func (x *SignCertificateRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
func (x *SignCertificateRequest) GetProfile() string {
if x != nil {
return x.Profile
}
return ""
}
func (x *SignCertificateRequest) GetIssuerLabel() string {
if x != nil {
return x.IssuerLabel
}
return ""
}
func (x *SignCertificateRequest) GetRequestFormat() EncodingFormat_Enum {
if x != nil {
return x.RequestFormat
}
return EncodingFormat_PEM
}
func (x *SignCertificateRequest) GetRequest() []byte {
if x != nil {
return x.Request
}
return nil
}
func (x *SignCertificateRequest) GetSAN() []string {
if x != nil {
return x.SAN
}
return nil
}
func (x *SignCertificateRequest) GetSubject() *X509Subject {
if x != nil {
return x.Subject
}
return nil
}
func (x *SignCertificateRequest) GetNotBefore() string {
if x != nil {
return x.NotBefore
}
return ""
}
func (x *SignCertificateRequest) GetNotAfter() string {
if x != nil {
return x.NotAfter
}
return ""
}
func (x *SignCertificateRequest) GetExtensions() []*X509Extension {
if x != nil {
return x.Extensions
}
return nil
}
func (x *SignCertificateRequest) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *SignCertificateRequest) GetMetadata() map[string]string {
if x != nil {
return x.Metadata
}
return nil
}
// UpdateCertificateLabelRequest specifies certificate label update request
type UpdateCertificateLabelRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ID specifies certificate ID
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// Label is provided by the client
Label string `protobuf:"bytes,3,opt,name=Label,proto3" json:"Label,omitempty"`
// Metadata replaces the client metadata when provided
Metadata map[string]string `protobuf:"bytes,4,rep,name=Metadata,proto3" json:"Metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// ProjectID of the certificate's project. A caller whose role is granted
// in the project only must name it, since the request is authorized at
// that scope; the certificate must belong to it.
ProjectID string `protobuf:"bytes,5,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateCertificateLabelRequest) Reset() {
*x = UpdateCertificateLabelRequest{}
mi := &file_ca_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateCertificateLabelRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateCertificateLabelRequest) ProtoMessage() {}
func (x *UpdateCertificateLabelRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateCertificateLabelRequest.ProtoReflect.Descriptor instead.
func (*UpdateCertificateLabelRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{16}
}
func (x *UpdateCertificateLabelRequest) GetID() string {
if x != nil {
return x.ID
}
return ""
}
func (x *UpdateCertificateLabelRequest) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *UpdateCertificateLabelRequest) GetMetadata() map[string]string {
if x != nil {
return x.Metadata
}
return nil
}
func (x *UpdateCertificateLabelRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
// GetCertificateRequest specifies certificate by ID, SKID, Sha256 or issuer
// and serial number
type GetCertificateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ID specifies certificate ID
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// SKID specifies Subject Key ID to search
SKID string `protobuf:"bytes,3,opt,name=SKID,proto3" json:"SKID,omitempty"`
// Sha256 specifies the certificate thumbprint to search
Sha256 string `protobuf:"bytes,4,opt,name=Sha256,proto3" json:"Sha256,omitempty"`
// IssuerSerial specifies Issuer Key ID and certificate serial number
IssuerSerial *IssuerSerial `protobuf:"bytes,5,opt,name=IssuerSerial,proto3" json:"IssuerSerial,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetCertificateRequest) Reset() {
*x = GetCertificateRequest{}
mi := &file_ca_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCertificateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetCertificateRequest) ProtoMessage() {}
func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.
func (*GetCertificateRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{17}
}
func (x *GetCertificateRequest) GetID() string {
if x != nil {
return x.ID
}
return ""
}
func (x *GetCertificateRequest) GetSKID() string {
if x != nil {
return x.SKID
}
return ""
}
func (x *GetCertificateRequest) GetSha256() string {
if x != nil {
return x.Sha256
}
return ""
}
func (x *GetCertificateRequest) GetIssuerSerial() *IssuerSerial {
if x != nil {
return x.IssuerSerial
}
return nil
}
// ListCertificatesRequest specifies a paginated list of certificates,
// sorted by ID descending (newest first)
type ListCertificatesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID filters by project; empty returns org-wide and all project
// certificates
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// IKID filters by issuer
IKID string `protobuf:"bytes,3,opt,name=IKID,proto3" json:"IKID,omitempty"`
// Profile filters by profile label
Profile string `protobuf:"bytes,4,opt,name=Profile,proto3" json:"Profile,omitempty"`
// Status filters by status; Unknown returns all
Status CertificateStatus_Enum `protobuf:"varint,5,opt,name=Status,proto3,enum=pb.CertificateStatus_Enum" json:"Status,omitempty"`
// ExpiringBefore filters certificates with NotAfter before the time,
// in RFC3339 format
ExpiringBefore string `protobuf:"bytes,6,opt,name=ExpiringBefore,proto3" json:"ExpiringBefore,omitempty"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,7,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,8,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination.
// Use "initial" to start the pagination or pass the cursor returned from
// the previous request.
Cursor string `protobuf:"bytes,9,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListCertificatesRequest) Reset() {
*x = ListCertificatesRequest{}
mi := &file_ca_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListCertificatesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListCertificatesRequest) ProtoMessage() {}
func (x *ListCertificatesRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListCertificatesRequest.ProtoReflect.Descriptor instead.
func (*ListCertificatesRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{18}
}
func (x *ListCertificatesRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
func (x *ListCertificatesRequest) GetIKID() string {
if x != nil {
return x.IKID
}
return ""
}
func (x *ListCertificatesRequest) GetProfile() string {
if x != nil {
return x.Profile
}
return ""
}
func (x *ListCertificatesRequest) GetStatus() CertificateStatus_Enum {
if x != nil {
return x.Status
}
return CertificateStatus_Unknown
}
func (x *ListCertificatesRequest) GetExpiringBefore() string {
if x != nil {
return x.ExpiringBefore
}
return ""
}
func (x *ListCertificatesRequest) GetLimit() uint32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListCertificatesRequest) GetOffset() uint32 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListCertificatesRequest) GetCursor() string {
if x != nil {
return x.Cursor
}
return ""
}
// ListRevokedCertificatesRequest specifies a paginated list of revoked
// certificates, sorted by revocation ID descending
type ListRevokedCertificatesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID filters by project
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// IKID filters by issuer
IKID string `protobuf:"bytes,3,opt,name=IKID,proto3" json:"IKID,omitempty"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,4,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,5,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination
Cursor string `protobuf:"bytes,6,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListRevokedCertificatesRequest) Reset() {
*x = ListRevokedCertificatesRequest{}
mi := &file_ca_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListRevokedCertificatesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRevokedCertificatesRequest) ProtoMessage() {}
func (x *ListRevokedCertificatesRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListRevokedCertificatesRequest.ProtoReflect.Descriptor instead.
func (*ListRevokedCertificatesRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{19}
}
func (x *ListRevokedCertificatesRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
func (x *ListRevokedCertificatesRequest) GetIKID() string {
if x != nil {
return x.IKID
}
return ""
}
func (x *ListRevokedCertificatesRequest) GetLimit() uint32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListRevokedCertificatesRequest) GetOffset() uint32 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListRevokedCertificatesRequest) GetCursor() string {
if x != nil {
return x.Cursor
}
return ""
}
// RevokeCertificateRequest specifies revocation request
type RevokeCertificateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ID specifies certificate ID
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// SKID specifies Subject Key ID to search
SKID string `protobuf:"bytes,3,opt,name=SKID,proto3" json:"SKID,omitempty"`
// IssuerSerial specifies Issuer Key ID and certificate serial number
IssuerSerial *IssuerSerial `protobuf:"bytes,4,opt,name=IssuerSerial,proto3" json:"IssuerSerial,omitempty"`
// Reason for revocation; RemoveFromCRL is refused, since it releases a
// certificate from hold instead of revoking it
Reason ReasonCode_Enum `protobuf:"varint,5,opt,name=Reason,proto3,enum=pb.ReasonCode_Enum" json:"Reason,omitempty"`
// ReasonText provides optional free-form revocation note
ReasonText string `protobuf:"bytes,6,opt,name=ReasonText,proto3" json:"ReasonText,omitempty"`
// ProjectID of the certificate's project. A caller whose role is granted
// in the project only must name it, since the request is authorized at
// that scope; the certificate must belong to it.
ProjectID string `protobuf:"bytes,7,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RevokeCertificateRequest) Reset() {
*x = RevokeCertificateRequest{}
mi := &file_ca_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RevokeCertificateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RevokeCertificateRequest) ProtoMessage() {}
func (x *RevokeCertificateRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RevokeCertificateRequest.ProtoReflect.Descriptor instead.
func (*RevokeCertificateRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{20}
}
func (x *RevokeCertificateRequest) GetID() string {
if x != nil {
return x.ID
}
return ""
}
func (x *RevokeCertificateRequest) GetSKID() string {
if x != nil {
return x.SKID
}
return ""
}
func (x *RevokeCertificateRequest) GetIssuerSerial() *IssuerSerial {
if x != nil {
return x.IssuerSerial
}
return nil
}
func (x *RevokeCertificateRequest) GetReason() ReasonCode_Enum {
if x != nil {
return x.Reason
}
return ReasonCode_Unspecified
}
func (x *RevokeCertificateRequest) GetReasonText() string {
if x != nil {
return x.ReasonText
}
return ""
}
func (x *RevokeCertificateRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
// CertificateResponse returns Certificate
type CertificateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Certificate *Certificate `protobuf:"bytes,1,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CertificateResponse) Reset() {
*x = CertificateResponse{}
mi := &file_ca_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CertificateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CertificateResponse) ProtoMessage() {}
func (x *CertificateResponse) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CertificateResponse.ProtoReflect.Descriptor instead.
func (*CertificateResponse) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{21}
}
func (x *CertificateResponse) GetCertificate() *Certificate {
if x != nil {
return x.Certificate
}
return nil
}
// CertificatesResponse returns Certificates list
type CertificatesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Certificates []*Certificate `protobuf:"bytes,1,rep,name=Certificates,proto3" json:"Certificates,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CertificatesResponse) Reset() {
*x = CertificatesResponse{}
mi := &file_ca_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CertificatesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CertificatesResponse) ProtoMessage() {}
func (x *CertificatesResponse) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CertificatesResponse.ProtoReflect.Descriptor instead.
func (*CertificatesResponse) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{22}
}
func (x *CertificatesResponse) GetCertificates() []*Certificate {
if x != nil {
return x.Certificates
}
return nil
}
func (x *CertificatesResponse) GetNextPage() *NextPage {
if x != nil {
return x.NextPage
}
return nil
}
// RevokedCertificateResponse returns Revoked Certificate
type RevokedCertificateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Revoked *RevokedCertificate `protobuf:"bytes,1,opt,name=Revoked,proto3" json:"Revoked,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RevokedCertificateResponse) Reset() {
*x = RevokedCertificateResponse{}
mi := &file_ca_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RevokedCertificateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RevokedCertificateResponse) ProtoMessage() {}
func (x *RevokedCertificateResponse) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RevokedCertificateResponse.ProtoReflect.Descriptor instead.
func (*RevokedCertificateResponse) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{23}
}
func (x *RevokedCertificateResponse) GetRevoked() *RevokedCertificate {
if x != nil {
return x.Revoked
}
return nil
}
// RevokedCertificatesResponse returns Revoked Certificates list
type RevokedCertificatesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
RevokedCertificates []*RevokedCertificate `protobuf:"bytes,1,rep,name=RevokedCertificates,proto3" json:"RevokedCertificates,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RevokedCertificatesResponse) Reset() {
*x = RevokedCertificatesResponse{}
mi := &file_ca_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RevokedCertificatesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RevokedCertificatesResponse) ProtoMessage() {}
func (x *RevokedCertificatesResponse) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RevokedCertificatesResponse.ProtoReflect.Descriptor instead.
func (*RevokedCertificatesResponse) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{24}
}
func (x *RevokedCertificatesResponse) GetRevokedCertificates() []*RevokedCertificate {
if x != nil {
return x.RevokedCertificates
}
return nil
}
func (x *RevokedCertificatesResponse) GetNextPage() *NextPage {
if x != nil {
return x.NextPage
}
return nil
}
// GetCrlRequest specifies CRL request by IKID
type GetCrlRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// IKID specifies Issuer Key ID
IKID string `protobuf:"bytes,2,opt,name=IKID,proto3" json:"IKID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetCrlRequest) Reset() {
*x = GetCrlRequest{}
mi := &file_ca_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCrlRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetCrlRequest) ProtoMessage() {}
func (x *GetCrlRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetCrlRequest.ProtoReflect.Descriptor instead.
func (*GetCrlRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{25}
}
func (x *GetCrlRequest) GetIKID() string {
if x != nil {
return x.IKID
}
return ""
}
// PublishCrlsRequest allows to publish CRLs on demand
type PublishCrlsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID limits the scope to the project: the issuer of the IKID
// must belong to it, and without an IKID the issuers of the project
// publish. Empty publishes for the org-wide issuers and the projects the
// caller may read; a project Admin names the project, and an API key
// restricted to a project publishes for its project.
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// IKID specifies Issuer Key ID; empty to publish for all issuers in scope
IKID string `protobuf:"bytes,3,opt,name=IKID,proto3" json:"IKID,omitempty"`
// Force specifies to publish even if the current CRL is not due for renewal
Force bool `protobuf:"varint,4,opt,name=Force,proto3" json:"Force,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PublishCrlsRequest) Reset() {
*x = PublishCrlsRequest{}
mi := &file_ca_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PublishCrlsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PublishCrlsRequest) ProtoMessage() {}
func (x *PublishCrlsRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PublishCrlsRequest.ProtoReflect.Descriptor instead.
func (*PublishCrlsRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{26}
}
func (x *PublishCrlsRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
func (x *PublishCrlsRequest) GetIKID() string {
if x != nil {
return x.IKID
}
return ""
}
func (x *PublishCrlsRequest) GetForce() bool {
if x != nil {
return x.Force
}
return false
}
// CrlsResponse returns published CRLs
type CrlsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Crls []*Crl `protobuf:"bytes,1,rep,name=Crls,proto3" json:"Crls,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CrlsResponse) Reset() {
*x = CrlsResponse{}
mi := &file_ca_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CrlsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CrlsResponse) ProtoMessage() {}
func (x *CrlsResponse) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CrlsResponse.ProtoReflect.Descriptor instead.
func (*CrlsResponse) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{27}
}
func (x *CrlsResponse) GetCrls() []*Crl {
if x != nil {
return x.Crls
}
return nil
}
// CrlResponse returns CRL
type CrlResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Crl *Crl `protobuf:"bytes,1,opt,name=Crl,proto3" json:"Crl,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CrlResponse) Reset() {
*x = CrlResponse{}
mi := &file_ca_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CrlResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CrlResponse) ProtoMessage() {}
func (x *CrlResponse) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CrlResponse.ProtoReflect.Descriptor instead.
func (*CrlResponse) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{28}
}
func (x *CrlResponse) GetCrl() *Crl {
if x != nil {
return x.Crl
}
return nil
}
// OCSPRequest provides DER encoded OCSP request
type OCSPRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Der provides DER encoded request
Der []byte `protobuf:"bytes,1,opt,name=Der,proto3" json:"Der,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OCSPRequest) Reset() {
*x = OCSPRequest{}
mi := &file_ca_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OCSPRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OCSPRequest) ProtoMessage() {}
func (x *OCSPRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OCSPRequest.ProtoReflect.Descriptor instead.
func (*OCSPRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{29}
}
func (x *OCSPRequest) GetDer() []byte {
if x != nil {
return x.Der
}
return nil
}
// OCSPResponse returns DER encoded OCSP response
type OCSPResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Der provides DER encoded response
Der []byte `protobuf:"bytes,1,opt,name=Der,proto3" json:"Der,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OCSPResponse) Reset() {
*x = OCSPResponse{}
mi := &file_ca_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OCSPResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OCSPResponse) ProtoMessage() {}
func (x *OCSPResponse) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OCSPResponse.ProtoReflect.Descriptor instead.
func (*OCSPResponse) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{30}
}
func (x *OCSPResponse) GetDer() []byte {
if x != nil {
return x.Der
}
return nil
}
// GetSummaryRequest specifies the scope of the summary
type GetSummaryRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ProjectID limits the summary to the project; empty summarizes the
// org-wide rows and the projects the caller may read. An API key
// restricted to a project gets its project.
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSummaryRequest) Reset() {
*x = GetSummaryRequest{}
mi := &file_ca_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSummaryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSummaryRequest) ProtoMessage() {}
func (x *GetSummaryRequest) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetSummaryRequest.ProtoReflect.Descriptor instead.
func (*GetSummaryRequest) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{31}
}
func (x *GetSummaryRequest) GetProjectID() string {
if x != nil {
return x.ProjectID
}
return ""
}
// SummaryResponse returns the counts of the rows of the scope at the time
// of the request. The counts are exact: a count of the certificates of a
// scope reads their index entries, so it grows with the tenant.
type SummaryResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// At is the time of the counts, RFC3339
At string `protobuf:"bytes,1,opt,name=At,proto3" json:"At,omitempty"`
// Issuers counts the issuers by lifecycle status; every status is
// reported, with a zero count when the scope has none
Issuers []*IssuerStatusCount `protobuf:"bytes,2,rep,name=Issuers,proto3" json:"Issuers,omitempty"`
// Certificates counts the certificates by status; every status is
// reported, with a zero count when the scope has none
Certificates []*CertificateStatusCount `protobuf:"bytes,3,rep,name=Certificates,proto3" json:"Certificates,omitempty"`
// Expiring counts the Active certificates whose validity ends within
// the days after At. The buckets are cumulative: 7, 30 and 90 days. A
// certificate past its NotAfter is expired, not expiring, whatever its
// status.
Expiring []*ExpiryBucket `protobuf:"bytes,4,rep,name=Expiring,proto3" json:"Expiring,omitempty"`
// Crls counts the issuers that publish CRLs by the state of their CRL
Crls *CrlCounts `protobuf:"bytes,5,opt,name=Crls,proto3" json:"Crls,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SummaryResponse) Reset() {
*x = SummaryResponse{}
mi := &file_ca_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SummaryResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SummaryResponse) ProtoMessage() {}
func (x *SummaryResponse) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SummaryResponse.ProtoReflect.Descriptor instead.
func (*SummaryResponse) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{32}
}
func (x *SummaryResponse) GetAt() string {
if x != nil {
return x.At
}
return ""
}
func (x *SummaryResponse) GetIssuers() []*IssuerStatusCount {
if x != nil {
return x.Issuers
}
return nil
}
func (x *SummaryResponse) GetCertificates() []*CertificateStatusCount {
if x != nil {
return x.Certificates
}
return nil
}
func (x *SummaryResponse) GetExpiring() []*ExpiryBucket {
if x != nil {
return x.Expiring
}
return nil
}
func (x *SummaryResponse) GetCrls() *CrlCounts {
if x != nil {
return x.Crls
}
return nil
}
// IssuerStatusCount is the number of issuers of a lifecycle status
type IssuerStatusCount struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Status of the issuers
Status IssuerStatus_Enum `protobuf:"varint,1,opt,name=Status,proto3,enum=pb.IssuerStatus_Enum" json:"Status,omitempty"`
// Count of the issuers of the status
Count uint32 `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IssuerStatusCount) Reset() {
*x = IssuerStatusCount{}
mi := &file_ca_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IssuerStatusCount) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IssuerStatusCount) ProtoMessage() {}
func (x *IssuerStatusCount) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use IssuerStatusCount.ProtoReflect.Descriptor instead.
func (*IssuerStatusCount) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{33}
}
func (x *IssuerStatusCount) GetStatus() IssuerStatus_Enum {
if x != nil {
return x.Status
}
return IssuerStatus_Unknown
}
func (x *IssuerStatusCount) GetCount() uint32 {
if x != nil {
return x.Count
}
return 0
}
// CertificateStatusCount is the number of certificates of a status
type CertificateStatusCount struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Status of the certificates
Status CertificateStatus_Enum `protobuf:"varint,1,opt,name=Status,proto3,enum=pb.CertificateStatus_Enum" json:"Status,omitempty"`
// Count of the certificates of the status
Count uint32 `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CertificateStatusCount) Reset() {
*x = CertificateStatusCount{}
mi := &file_ca_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CertificateStatusCount) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CertificateStatusCount) ProtoMessage() {}
func (x *CertificateStatusCount) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CertificateStatusCount.ProtoReflect.Descriptor instead.
func (*CertificateStatusCount) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{34}
}
func (x *CertificateStatusCount) GetStatus() CertificateStatus_Enum {
if x != nil {
return x.Status
}
return CertificateStatus_Unknown
}
func (x *CertificateStatusCount) GetCount() uint32 {
if x != nil {
return x.Count
}
return 0
}
// ExpiryBucket is the number of Active certificates whose validity ends
// within a number of days after the time of the summary
type ExpiryBucket struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Days after the time of the summary
Days uint32 `protobuf:"varint,1,opt,name=Days,proto3" json:"Days,omitempty"`
// Count of the Active certificates that expire within the days
Count uint32 `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExpiryBucket) Reset() {
*x = ExpiryBucket{}
mi := &file_ca_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExpiryBucket) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExpiryBucket) ProtoMessage() {}
func (x *ExpiryBucket) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ExpiryBucket.ProtoReflect.Descriptor instead.
func (*ExpiryBucket) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{35}
}
func (x *ExpiryBucket) GetDays() uint32 {
if x != nil {
return x.Days
}
return 0
}
func (x *ExpiryBucket) GetCount() uint32 {
if x != nil {
return x.Count
}
return 0
}
// CrlCounts counts the issuers that publish CRLs, the Active and Archived
// issuers whose certificate is valid, by the state of their current CRL at
// the time of the summary: Issuers is Current, Due, Overdue and Missing
// together.
type CrlCounts struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Issuers is the number of issuers that publish CRLs
Issuers uint32 `protobuf:"varint,1,opt,name=Issuers,proto3" json:"Issuers,omitempty"`
// Current is the number of CRLs whose next update is later than the
// renewal period of their issuer
Current uint32 `protobuf:"varint,2,opt,name=Current,proto3" json:"Current,omitempty"`
// Due is the number of CRLs whose next update is within the renewal
// period of their issuer; the renewal task publishes them on its next
// run
Due uint32 `protobuf:"varint,3,opt,name=Due,proto3" json:"Due,omitempty"`
// Overdue is the number of CRLs whose next update has passed: relying
// parties see a stale CRL until it is published
Overdue uint32 `protobuf:"varint,4,opt,name=Overdue,proto3" json:"Overdue,omitempty"`
// Missing is the number of issuers that have published no CRL yet
Missing uint32 `protobuf:"varint,5,opt,name=Missing,proto3" json:"Missing,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CrlCounts) Reset() {
*x = CrlCounts{}
mi := &file_ca_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CrlCounts) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CrlCounts) ProtoMessage() {}
func (x *CrlCounts) ProtoReflect() protoreflect.Message {
mi := &file_ca_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CrlCounts.ProtoReflect.Descriptor instead.
func (*CrlCounts) Descriptor() ([]byte, []int) {
return file_ca_proto_rawDescGZIP(), []int{36}
}
func (x *CrlCounts) GetIssuers() uint32 {
if x != nil {
return x.Issuers
}
return 0
}
func (x *CrlCounts) GetCurrent() uint32 {
if x != nil {
return x.Current
}
return 0
}
func (x *CrlCounts) GetDue() uint32 {
if x != nil {
return x.Due
}
return 0
}
func (x *CrlCounts) GetOverdue() uint32 {
if x != nil {
return x.Overdue
}
return 0
}
func (x *CrlCounts) GetMissing() uint32 {
if x != nil {
return x.Missing
}
return 0
}
var File_ca_proto protoreflect.FileDescriptor
const file_ca_proto_rawDesc = "" +
"\n" +
"\bca.proto\x12\x02pb\x1a\x18es/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\vtypes.proto\x1a\n" +
"pkix.proto\"\xb3\x03\n" +
"\x15RegisterIssuerRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectID\x12\x1e\n" +
"\x05Label\x18\x03 \x01(\tB\b\xe8\xf3\x18\x01\x80\xf4\x18@R\x05Label\x120\n" +
"\x04Type\x18\x04 \x01(\x0e2\x16.pb.AuthorityType.EnumB\x04\xe8\xf3\x18\x01R\x04Type\x12/\n" +
"\aSubject\x18\x05 \x01(\v2\x0f.pb.X509SubjectB\x04\xe8\xf3\x18\x01R\aSubject\x12%\n" +
"\aKeySpec\x18\x06 \x01(\v2\v.pb.KeySpecR\aKeySpec\x12 \n" +
"\vKeyProvider\x18\a \x01(\tR\vKeyProvider\x12\x1a\n" +
"\bParentID\x18\b \x01(\tR\bParentID\x12\x18\n" +
"\aProfile\x18\t \x01(\tR\aProfile\x12(\n" +
"\x06Config\x18\n" +
" \x01(\v2\x10.pb.IssuerConfigR\x06Config\x12\x10\n" +
"\x03SAN\x18\v \x03(\tR\x03SAN\x121\n" +
"\n" +
"Extensions\x18\f \x03(\v2\x11.pb.X509ExtensionR\n" +
"ExtensionsJ\x04\b\x01\x10\x02R\x05OrgID\"\xe6\x02\n" +
"\x13ImportIssuerRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectID\x12\x1e\n" +
"\x05Label\x18\x03 \x01(\tB\b\xe8\xf3\x18\x01\x80\xf4\x18@R\x05Label\x120\n" +
"\x04Type\x18\x04 \x01(\x0e2\x16.pb.AuthorityType.EnumB\x04\xe8\xf3\x18\x01R\x04Type\x12&\n" +
"\vCertificate\x18\x05 \x01(\tB\x04\xe8\xf3\x18\x01R\vCertificate\x12$\n" +
"\rIntermediates\x18\x06 \x01(\tR\rIntermediates\x12\x12\n" +
"\x04Root\x18\a \x01(\tR\x04Root\x12\"\n" +
"\x06KeyURI\x18\b \x01(\tB\n" +
"\xf2\xf3\x18\x06KeyPemR\x06KeyURI\x12\"\n" +
"\x06KeyPem\x18\t \x01(\tB\n" +
"\xf2\xf3\x18\x06KeyURIR\x06KeyPem\x12(\n" +
"\x06Config\x18\n" +
" \x01(\v2\x10.pb.IssuerConfigR\x06ConfigJ\x04\b\x01\x10\x02R\x05OrgID\"\xba\x01\n" +
"\x15ActivateIssuerRequest\x12\x14\n" +
"\x02ID\x18\x02 \x01(\tB\x04\xe8\xf3\x18\x01R\x02ID\x12&\n" +
"\vCertificate\x18\x03 \x01(\tB\x04\xe8\xf3\x18\x01R\vCertificate\x12$\n" +
"\rIntermediates\x18\x04 \x01(\tR\rIntermediates\x12\x12\n" +
"\x04Root\x18\x05 \x01(\tR\x04Root\x12\x1c\n" +
"\tProjectID\x18\x06 \x01(\tR\tProjectIDJ\x04\b\x01\x10\x02R\x05OrgID\"\xa2\x01\n" +
"\x10GetIssuerRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectID\x12\x1e\n" +
"\x02ID\x18\x03 \x01(\tB\x0e\xf2\xf3\x18\n" +
"Label,IKIDR\x02ID\x12!\n" +
"\x05Label\x18\x04 \x01(\tB\v\xf2\xf3\x18\aID,IKIDR\x05Label\x12 \n" +
"\x04IKID\x18\x05 \x01(\tB\f\xf2\xf3\x18\bID,LabelR\x04IKIDJ\x04\b\x01\x10\x02R\x05OrgID\"\x88\x02\n" +
"\x12ListIssuersRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectID\x12-\n" +
"\x06Status\x18\x03 \x01(\x0e2\x15.pb.IssuerStatus.EnumR\x06Status\x12*\n" +
"\x04Type\x18\x04 \x01(\x0e2\x16.pb.AuthorityType.EnumR\x04Type\x12\x14\n" +
"\x05Limit\x18\x05 \x01(\rR\x05Limit\x12\x16\n" +
"\x06Offset\x18\x06 \x01(\rR\x06Offset\x12\x16\n" +
"\x06Cursor\x18\a \x01(\tR\x06Cursor\x12\x10\n" +
"\x03IDs\x18\b \x03(\tR\x03IDs\x12\x14\n" +
"\x05IKIDs\x18\t \x03(\tR\x05IKIDsJ\x04\b\x01\x10\x02R\x05OrgID\"a\n" +
"\x0fIssuersResponse\x12$\n" +
"\aIssuers\x18\x01 \x03(\v2\n" +
".pb.IssuerR\aIssuers\x12(\n" +
"\bNextPage\x18\x02 \x01(\v2\f.pb.NextPageR\bNextPage\"\xaf\x01\n" +
"\x13UpdateIssuerRequest\x12\x14\n" +
"\x02ID\x18\x02 \x01(\tB\x04\xe8\xf3\x18\x01R\x02ID\x12(\n" +
"\x06Config\x18\x03 \x01(\v2\x10.pb.IssuerConfigR\x06Config\x12-\n" +
"\x06Status\x18\x04 \x01(\x0e2\x15.pb.IssuerStatus.EnumR\x06Status\x12\x1c\n" +
"\tProjectID\x18\x05 \x01(\tR\tProjectIDJ\x04\b\x01\x10\x02R\x05OrgID\"`\n" +
"\x13RegisterRootRequest\x12\x16\n" +
"\x03Pem\x18\x02 \x01(\tB\x04\xe8\xf3\x18\x01R\x03Pem\x12$\n" +
"\x05Trust\x18\x03 \x01(\x0e2\x0e.pb.Trust.EnumR\x05TrustJ\x04\b\x01\x10\x02R\x05OrgID\"e\n" +
"\x10ListRootsRequest\x12\x14\n" +
"\x05Limit\x18\x02 \x01(\rR\x05Limit\x12\x16\n" +
"\x06Offset\x18\x03 \x01(\rR\x06Offset\x12\x16\n" +
"\x06Cursor\x18\x04 \x01(\tR\x06CursorJ\x04\b\x01\x10\x02R\x05OrgID\"d\n" +
"\rRootsResponse\x12)\n" +
"\x05Roots\x18\x01 \x03(\v2\x13.pb.RootCertificateR\x05Roots\x12(\n" +
"\bNextPage\x18\x02 \x01(\v2\f.pb.NextPageR\bNextPage\"t\n" +
"\x16RegisterProfileRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectID\x12/\n" +
"\aProfile\x18\x03 \x01(\v2\x0f.pb.CertProfileB\x04\xe8\xf3\x18\x01R\aProfileJ\x04\b\x01\x10\x02R\x05OrgID\"w\n" +
"\x11GetProfileRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectID\x12\x19\n" +
"\x02ID\x18\x03 \x01(\tB\t\xf2\xf3\x18\x05LabelR\x02ID\x12\x1c\n" +
"\x05Label\x18\x04 \x01(\tB\x06\xf2\xf3\x18\x02IDR\x05LabelJ\x04\b\x01\x10\x02R\x05OrgID\"\xd2\x01\n" +
"\x13ListProfilesRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectID\x12 \n" +
"\vIssuerLabel\x18\x03 \x01(\tR\vIssuerLabel\x12\x14\n" +
"\x05Limit\x18\x04 \x01(\rR\x05Limit\x12\x16\n" +
"\x06Offset\x18\x05 \x01(\rR\x06Offset\x12\x16\n" +
"\x06Cursor\x18\x06 \x01(\tR\x06Cursor\x12\x10\n" +
"\x03IDs\x18\a \x03(\tR\x03IDs\x12\x16\n" +
"\x06Labels\x18\b \x03(\tR\x06LabelsJ\x04\b\x01\x10\x02R\x05OrgID\"i\n" +
"\x10ProfilesResponse\x12+\n" +
"\bProfiles\x18\x01 \x03(\v2\x0f.pb.CertProfileR\bProfiles\x12(\n" +
"\bNextPage\x18\x02 \x01(\v2\f.pb.NextPageR\bNextPage\"W\n" +
"\x14DeleteProfileRequest\x12\x14\n" +
"\x02ID\x18\x02 \x01(\tB\x04\xe8\xf3\x18\x01R\x02ID\x12\x1c\n" +
"\tProjectID\x18\x03 \x01(\tR\tProjectIDJ\x04\b\x01\x10\x02R\x05OrgID\"\xae\x04\n" +
"\x16SignCertificateRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectID\x12\x1e\n" +
"\aProfile\x18\x03 \x01(\tB\x04\xe8\xf3\x18\x01R\aProfile\x12 \n" +
"\vIssuerLabel\x18\x04 \x01(\tR\vIssuerLabel\x12=\n" +
"\rRequestFormat\x18\x05 \x01(\x0e2\x17.pb.EncodingFormat.EnumR\rRequestFormat\x12\x1e\n" +
"\aRequest\x18\x06 \x01(\fB\x04\xe8\xf3\x18\x01R\aRequest\x12\x10\n" +
"\x03SAN\x18\a \x03(\tR\x03SAN\x12)\n" +
"\aSubject\x18\b \x01(\v2\x0f.pb.X509SubjectR\aSubject\x12\x1c\n" +
"\tNotBefore\x18\t \x01(\tR\tNotBefore\x12\x1a\n" +
"\bNotAfter\x18\n" +
" \x01(\tR\bNotAfter\x121\n" +
"\n" +
"Extensions\x18\v \x03(\v2\x11.pb.X509ExtensionR\n" +
"Extensions\x12\x1b\n" +
"\x05Label\x18\f \x01(\tB\x05\x80\xf4\x18\x84\x02R\x05Label\x12D\n" +
"\bMetadata\x18\r \x03(\v2(.pb.SignCertificateRequest.MetadataEntryR\bMetadata\x1a;\n" +
"\rMetadataEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01J\x04\b\x01\x10\x02R\x05OrgID\"\x87\x02\n" +
"\x1dUpdateCertificateLabelRequest\x12\x14\n" +
"\x02ID\x18\x02 \x01(\tB\x04\xe8\xf3\x18\x01R\x02ID\x12\x1b\n" +
"\x05Label\x18\x03 \x01(\tB\x05\x80\xf4\x18\x84\x02R\x05Label\x12K\n" +
"\bMetadata\x18\x04 \x03(\v2/.pb.UpdateCertificateLabelRequest.MetadataEntryR\bMetadata\x12\x1c\n" +
"\tProjectID\x18\x05 \x01(\tR\tProjectID\x1a;\n" +
"\rMetadataEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01J\x04\b\x01\x10\x02R\x05OrgID\"\xfe\x01\n" +
"\x15GetCertificateRequest\x12,\n" +
"\x02ID\x18\x02 \x01(\tB\x1c\xf2\xf3\x18\x18SKID,Sha256,IssuerSerialR\x02ID\x12.\n" +
"\x04SKID\x18\x03 \x01(\tB\x1a\xf2\xf3\x18\x16ID,Sha256,IssuerSerialR\x04SKID\x120\n" +
"\x06Sha256\x18\x04 \x01(\tB\x18\xf2\xf3\x18\x14ID,SKID,IssuerSerialR\x06Sha256\x12H\n" +
"\fIssuerSerial\x18\x05 \x01(\v2\x10.pb.IssuerSerialB\x12\xf2\xf3\x18\x0eID,SKID,Sha256R\fIssuerSerialJ\x04\b\x01\x10\x02R\x05OrgID\"\x94\x02\n" +
"\x17ListCertificatesRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectID\x12\x12\n" +
"\x04IKID\x18\x03 \x01(\tR\x04IKID\x12\x18\n" +
"\aProfile\x18\x04 \x01(\tR\aProfile\x122\n" +
"\x06Status\x18\x05 \x01(\x0e2\x1a.pb.CertificateStatus.EnumR\x06Status\x12&\n" +
"\x0eExpiringBefore\x18\x06 \x01(\tR\x0eExpiringBefore\x12\x14\n" +
"\x05Limit\x18\a \x01(\rR\x05Limit\x12\x16\n" +
"\x06Offset\x18\b \x01(\rR\x06Offset\x12\x16\n" +
"\x06Cursor\x18\t \x01(\tR\x06CursorJ\x04\b\x01\x10\x02R\x05OrgID\"\xa5\x01\n" +
"\x1eListRevokedCertificatesRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectID\x12\x12\n" +
"\x04IKID\x18\x03 \x01(\tR\x04IKID\x12\x14\n" +
"\x05Limit\x18\x04 \x01(\rR\x05Limit\x12\x16\n" +
"\x06Offset\x18\x05 \x01(\rR\x06Offset\x12\x16\n" +
"\x06Cursor\x18\x06 \x01(\tR\x06CursorJ\x04\b\x01\x10\x02R\x05OrgID\"\xac\x02\n" +
"\x18RevokeCertificateRequest\x12%\n" +
"\x02ID\x18\x02 \x01(\tB\x15\xf2\xf3\x18\x11SKID,IssuerSerialR\x02ID\x12'\n" +
"\x04SKID\x18\x03 \x01(\tB\x13\xf2\xf3\x18\x0fID,IssuerSerialR\x04SKID\x12A\n" +
"\fIssuerSerial\x18\x04 \x01(\v2\x10.pb.IssuerSerialB\v\xf2\xf3\x18\aID,SKIDR\fIssuerSerial\x12+\n" +
"\x06Reason\x18\x05 \x01(\x0e2\x13.pb.ReasonCode.EnumR\x06Reason\x12%\n" +
"\n" +
"ReasonText\x18\x06 \x01(\tB\x05\x80\xf4\x18\x84\x02R\n" +
"ReasonText\x12\x1c\n" +
"\tProjectID\x18\a \x01(\tR\tProjectIDJ\x04\b\x01\x10\x02R\x05OrgID\"H\n" +
"\x13CertificateResponse\x121\n" +
"\vCertificate\x18\x01 \x01(\v2\x0f.pb.CertificateR\vCertificate\"u\n" +
"\x14CertificatesResponse\x123\n" +
"\fCertificates\x18\x01 \x03(\v2\x0f.pb.CertificateR\fCertificates\x12(\n" +
"\bNextPage\x18\x02 \x01(\v2\f.pb.NextPageR\bNextPage\"N\n" +
"\x1aRevokedCertificateResponse\x120\n" +
"\aRevoked\x18\x01 \x01(\v2\x16.pb.RevokedCertificateR\aRevoked\"\x91\x01\n" +
"\x1bRevokedCertificatesResponse\x12H\n" +
"\x13RevokedCertificates\x18\x01 \x03(\v2\x16.pb.RevokedCertificateR\x13RevokedCertificates\x12(\n" +
"\bNextPage\x18\x02 \x01(\v2\f.pb.NextPageR\bNextPage\"6\n" +
"\rGetCrlRequest\x12\x18\n" +
"\x04IKID\x18\x02 \x01(\tB\x04\xe8\xf3\x18\x01R\x04IKIDJ\x04\b\x01\x10\x02R\x05OrgID\"i\n" +
"\x12PublishCrlsRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectID\x12\x12\n" +
"\x04IKID\x18\x03 \x01(\tR\x04IKID\x12\x14\n" +
"\x05Force\x18\x04 \x01(\bR\x05ForceJ\x04\b\x01\x10\x02R\x05OrgID\"+\n" +
"\fCrlsResponse\x12\x1b\n" +
"\x04Crls\x18\x01 \x03(\v2\a.pb.CrlR\x04Crls\"(\n" +
"\vCrlResponse\x12\x19\n" +
"\x03Crl\x18\x01 \x01(\v2\a.pb.CrlR\x03Crl\"%\n" +
"\vOCSPRequest\x12\x16\n" +
"\x03Der\x18\x01 \x01(\fB\x04\xe8\xf3\x18\x01R\x03Der\" \n" +
"\fOCSPResponse\x12\x10\n" +
"\x03Der\x18\x01 \x01(\fR\x03Der\">\n" +
"\x11GetSummaryRequest\x12\x1c\n" +
"\tProjectID\x18\x02 \x01(\tR\tProjectIDJ\x04\b\x01\x10\x02R\x05OrgID\"\xe3\x01\n" +
"\x0fSummaryResponse\x12\x0e\n" +
"\x02At\x18\x01 \x01(\tR\x02At\x12/\n" +
"\aIssuers\x18\x02 \x03(\v2\x15.pb.IssuerStatusCountR\aIssuers\x12>\n" +
"\fCertificates\x18\x03 \x03(\v2\x1a.pb.CertificateStatusCountR\fCertificates\x12,\n" +
"\bExpiring\x18\x04 \x03(\v2\x10.pb.ExpiryBucketR\bExpiring\x12!\n" +
"\x04Crls\x18\x05 \x01(\v2\r.pb.CrlCountsR\x04Crls\"X\n" +
"\x11IssuerStatusCount\x12-\n" +
"\x06Status\x18\x01 \x01(\x0e2\x15.pb.IssuerStatus.EnumR\x06Status\x12\x14\n" +
"\x05Count\x18\x02 \x01(\rR\x05Count\"b\n" +
"\x16CertificateStatusCount\x122\n" +
"\x06Status\x18\x01 \x01(\x0e2\x1a.pb.CertificateStatus.EnumR\x06Status\x12\x14\n" +
"\x05Count\x18\x02 \x01(\rR\x05Count\"8\n" +
"\fExpiryBucket\x12\x12\n" +
"\x04Days\x18\x01 \x01(\rR\x04Days\x12\x14\n" +
"\x05Count\x18\x02 \x01(\rR\x05Count\"\x85\x01\n" +
"\tCrlCounts\x12\x18\n" +
"\aIssuers\x18\x01 \x01(\rR\aIssuers\x12\x18\n" +
"\aCurrent\x18\x02 \x01(\rR\aCurrent\x12\x10\n" +
"\x03Due\x18\x03 \x01(\rR\x03Due\x12\x18\n" +
"\aOverdue\x18\x04 \x01(\rR\aOverdue\x12\x18\n" +
"\aMissing\x18\x05 \x01(\rR\aMissing2\xc7\x0f\n" +
"\x02CA\x12L\n" +
"\x0eRegisterIssuer\x12\x19.pb.RegisterIssuerRequest\x1a\n" +
".pb.Issuer\"\x13\xfaB\x05Admin\x92C\bca:write\x12H\n" +
"\fUpdateIssuer\x12\x17.pb.UpdateIssuerRequest\x1a\n" +
".pb.Issuer\"\x13\xfaB\x05Admin\x92C\bca:write\x12H\n" +
"\fImportIssuer\x12\x17.pb.ImportIssuerRequest\x1a\n" +
".pb.Issuer\"\x13\xfaB\x05Admin\x92C\bca:write\x12L\n" +
"\x0eActivateIssuer\x12\x19.pb.ActivateIssuerRequest\x1a\n" +
".pb.Issuer\"\x13\xfaB\x05Admin\x92C\bca:write\x12I\n" +
"\tGetIssuer\x12\x14.pb.GetIssuerRequest\x1a\n" +
".pb.Issuer\"\x1a\xfaB\rViewer,APIKey\x92C\aca:read\x12V\n" +
"\vListIssuers\x12\x16.pb.ListIssuersRequest\x1a\x13.pb.IssuersResponse\"\x1a\xfaB\rViewer,APIKey\x92C\aca:read\x12Q\n" +
"\fRegisterRoot\x12\x17.pb.RegisterRootRequest\x1a\x13.pb.RootCertificate\"\x13\xfaB\x05Admin\x92C\bca:write\x12P\n" +
"\tListRoots\x12\x14.pb.ListRootsRequest\x1a\x11.pb.RootsResponse\"\x1a\xfaB\rViewer,APIKey\x92C\aca:read\x12S\n" +
"\x0fRegisterProfile\x12\x1a.pb.RegisterProfileRequest\x1a\x0f.pb.CertProfile\"\x13\xfaB\x05Admin\x92C\bca:write\x12P\n" +
"\n" +
"GetProfile\x12\x15.pb.GetProfileRequest\x1a\x0f.pb.CertProfile\"\x1a\xfaB\rViewer,APIKey\x92C\aca:read\x12Y\n" +
"\fListProfiles\x12\x17.pb.ListProfilesRequest\x1a\x14.pb.ProfilesResponse\"\x1a\xfaB\rViewer,APIKey\x92C\aca:read\x12V\n" +
"\rDeleteProfile\x12\x18.pb.DeleteProfileRequest\x1a\x16.google.protobuf.Empty\"\x13\xfaB\x05Admin\x92C\bca:write\x12d\n" +
"\x0fSignCertificate\x12\x1a.pb.SignCertificateRequest\x1a\x17.pb.CertificateResponse\"\x1c\xfaB\vUser,APIKey\x92C\vcerts:issue\x12c\n" +
"\x0eGetCertificate\x12\x19.pb.GetCertificateRequest\x1a\x17.pb.CertificateResponse\"\x1d\xfaB\rViewer,APIKey\x92C\n" +
"certs:read\x12h\n" +
"\x10ListCertificates\x12\x1b.pb.ListCertificatesRequest\x1a\x18.pb.CertificatesResponse\"\x1d\xfaB\rViewer,APIKey\x92C\n" +
"certs:read\x12r\n" +
"\x16UpdateCertificateLabel\x12!.pb.UpdateCertificateLabelRequest\x1a\x17.pb.CertificateResponse\"\x1c\xfaB\vUser,APIKey\x92C\vcerts:issue\x12y\n" +
"\x11RevokeCertificate\x12\x1c.pb.RevokeCertificateRequest\x1a\x1e.pb.RevokedCertificateResponse\"&\xfaB\x14User,APIKey,Security\x92C\fcerts:revoke\x12}\n" +
"\x17ListRevokedCertificates\x12\".pb.ListRevokedCertificatesRequest\x1a\x1f.pb.RevokedCertificatesResponse\"\x1d\xfaB\rViewer,APIKey\x92C\n" +
"certs:read\x12K\n" +
"\x06GetCRL\x12\x11.pb.GetCrlRequest\x1a\x0f.pb.CrlResponse\"\x1d\xfaB\rViewer,APIKey\x92C\n" +
"certs:read\x12\\\n" +
"\vPublishCrls\x12\x16.pb.PublishCrlsRequest\x1a\x10.pb.CrlsResponse\"#\xfaB\x15Admin,Security,APIKey\x92C\bca:write\x12K\n" +
"\bSignOCSP\x12\x0f.pb.OCSPRequest\x1a\x10.pb.OCSPResponse\"\x1c\xfaB\x0eAdmin,Security\x92C\bca:write\x12T\n" +
"\n" +
"GetSummary\x12\x15.pb.GetSummaryRequest\x1a\x13.pb.SummaryResponse\"\x1a\xfaB\rViewer,APIKey\x92C\aca:readB/Z-github.com/effective-security/trustyca/api/pbb\x06proto3"
var (
file_ca_proto_rawDescOnce sync.Once
file_ca_proto_rawDescData []byte
)
func file_ca_proto_rawDescGZIP() []byte {
file_ca_proto_rawDescOnce.Do(func() {
file_ca_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ca_proto_rawDesc), len(file_ca_proto_rawDesc)))
})
return file_ca_proto_rawDescData
}
var file_ca_proto_msgTypes = make([]protoimpl.MessageInfo, 39)
var file_ca_proto_goTypes = []any{
(*RegisterIssuerRequest)(nil), // 0: pb.RegisterIssuerRequest
(*ImportIssuerRequest)(nil), // 1: pb.ImportIssuerRequest
(*ActivateIssuerRequest)(nil), // 2: pb.ActivateIssuerRequest
(*GetIssuerRequest)(nil), // 3: pb.GetIssuerRequest
(*ListIssuersRequest)(nil), // 4: pb.ListIssuersRequest
(*IssuersResponse)(nil), // 5: pb.IssuersResponse
(*UpdateIssuerRequest)(nil), // 6: pb.UpdateIssuerRequest
(*RegisterRootRequest)(nil), // 7: pb.RegisterRootRequest
(*ListRootsRequest)(nil), // 8: pb.ListRootsRequest
(*RootsResponse)(nil), // 9: pb.RootsResponse
(*RegisterProfileRequest)(nil), // 10: pb.RegisterProfileRequest
(*GetProfileRequest)(nil), // 11: pb.GetProfileRequest
(*ListProfilesRequest)(nil), // 12: pb.ListProfilesRequest
(*ProfilesResponse)(nil), // 13: pb.ProfilesResponse
(*DeleteProfileRequest)(nil), // 14: pb.DeleteProfileRequest
(*SignCertificateRequest)(nil), // 15: pb.SignCertificateRequest
(*UpdateCertificateLabelRequest)(nil), // 16: pb.UpdateCertificateLabelRequest
(*GetCertificateRequest)(nil), // 17: pb.GetCertificateRequest
(*ListCertificatesRequest)(nil), // 18: pb.ListCertificatesRequest
(*ListRevokedCertificatesRequest)(nil), // 19: pb.ListRevokedCertificatesRequest
(*RevokeCertificateRequest)(nil), // 20: pb.RevokeCertificateRequest
(*CertificateResponse)(nil), // 21: pb.CertificateResponse
(*CertificatesResponse)(nil), // 22: pb.CertificatesResponse
(*RevokedCertificateResponse)(nil), // 23: pb.RevokedCertificateResponse
(*RevokedCertificatesResponse)(nil), // 24: pb.RevokedCertificatesResponse
(*GetCrlRequest)(nil), // 25: pb.GetCrlRequest
(*PublishCrlsRequest)(nil), // 26: pb.PublishCrlsRequest
(*CrlsResponse)(nil), // 27: pb.CrlsResponse
(*CrlResponse)(nil), // 28: pb.CrlResponse
(*OCSPRequest)(nil), // 29: pb.OCSPRequest
(*OCSPResponse)(nil), // 30: pb.OCSPResponse
(*GetSummaryRequest)(nil), // 31: pb.GetSummaryRequest
(*SummaryResponse)(nil), // 32: pb.SummaryResponse
(*IssuerStatusCount)(nil), // 33: pb.IssuerStatusCount
(*CertificateStatusCount)(nil), // 34: pb.CertificateStatusCount
(*ExpiryBucket)(nil), // 35: pb.ExpiryBucket
(*CrlCounts)(nil), // 36: pb.CrlCounts
nil, // 37: pb.SignCertificateRequest.MetadataEntry
nil, // 38: pb.UpdateCertificateLabelRequest.MetadataEntry
(AuthorityType_Enum)(0), // 39: pb.AuthorityType.Enum
(*X509Subject)(nil), // 40: pb.X509Subject
(*KeySpec)(nil), // 41: pb.KeySpec
(*IssuerConfig)(nil), // 42: pb.IssuerConfig
(*X509Extension)(nil), // 43: pb.X509Extension
(IssuerStatus_Enum)(0), // 44: pb.IssuerStatus.Enum
(*Issuer)(nil), // 45: pb.Issuer
(*NextPage)(nil), // 46: pb.NextPage
(Trust_Enum)(0), // 47: pb.Trust.Enum
(*RootCertificate)(nil), // 48: pb.RootCertificate
(*CertProfile)(nil), // 49: pb.CertProfile
(EncodingFormat_Enum)(0), // 50: pb.EncodingFormat.Enum
(*IssuerSerial)(nil), // 51: pb.IssuerSerial
(CertificateStatus_Enum)(0), // 52: pb.CertificateStatus.Enum
(ReasonCode_Enum)(0), // 53: pb.ReasonCode.Enum
(*Certificate)(nil), // 54: pb.Certificate
(*RevokedCertificate)(nil), // 55: pb.RevokedCertificate
(*Crl)(nil), // 56: pb.Crl
(*emptypb.Empty)(nil), // 57: google.protobuf.Empty
}
var file_ca_proto_depIdxs = []int32{
39, // 0: pb.RegisterIssuerRequest.Type:type_name -> pb.AuthorityType.Enum
40, // 1: pb.RegisterIssuerRequest.Subject:type_name -> pb.X509Subject
41, // 2: pb.RegisterIssuerRequest.KeySpec:type_name -> pb.KeySpec
42, // 3: pb.RegisterIssuerRequest.Config:type_name -> pb.IssuerConfig
43, // 4: pb.RegisterIssuerRequest.Extensions:type_name -> pb.X509Extension
39, // 5: pb.ImportIssuerRequest.Type:type_name -> pb.AuthorityType.Enum
42, // 6: pb.ImportIssuerRequest.Config:type_name -> pb.IssuerConfig
44, // 7: pb.ListIssuersRequest.Status:type_name -> pb.IssuerStatus.Enum
39, // 8: pb.ListIssuersRequest.Type:type_name -> pb.AuthorityType.Enum
45, // 9: pb.IssuersResponse.Issuers:type_name -> pb.Issuer
46, // 10: pb.IssuersResponse.NextPage:type_name -> pb.NextPage
42, // 11: pb.UpdateIssuerRequest.Config:type_name -> pb.IssuerConfig
44, // 12: pb.UpdateIssuerRequest.Status:type_name -> pb.IssuerStatus.Enum
47, // 13: pb.RegisterRootRequest.Trust:type_name -> pb.Trust.Enum
48, // 14: pb.RootsResponse.Roots:type_name -> pb.RootCertificate
46, // 15: pb.RootsResponse.NextPage:type_name -> pb.NextPage
49, // 16: pb.RegisterProfileRequest.Profile:type_name -> pb.CertProfile
49, // 17: pb.ProfilesResponse.Profiles:type_name -> pb.CertProfile
46, // 18: pb.ProfilesResponse.NextPage:type_name -> pb.NextPage
50, // 19: pb.SignCertificateRequest.RequestFormat:type_name -> pb.EncodingFormat.Enum
40, // 20: pb.SignCertificateRequest.Subject:type_name -> pb.X509Subject
43, // 21: pb.SignCertificateRequest.Extensions:type_name -> pb.X509Extension
37, // 22: pb.SignCertificateRequest.Metadata:type_name -> pb.SignCertificateRequest.MetadataEntry
38, // 23: pb.UpdateCertificateLabelRequest.Metadata:type_name -> pb.UpdateCertificateLabelRequest.MetadataEntry
51, // 24: pb.GetCertificateRequest.IssuerSerial:type_name -> pb.IssuerSerial
52, // 25: pb.ListCertificatesRequest.Status:type_name -> pb.CertificateStatus.Enum
51, // 26: pb.RevokeCertificateRequest.IssuerSerial:type_name -> pb.IssuerSerial
53, // 27: pb.RevokeCertificateRequest.Reason:type_name -> pb.ReasonCode.Enum
54, // 28: pb.CertificateResponse.Certificate:type_name -> pb.Certificate
54, // 29: pb.CertificatesResponse.Certificates:type_name -> pb.Certificate
46, // 30: pb.CertificatesResponse.NextPage:type_name -> pb.NextPage
55, // 31: pb.RevokedCertificateResponse.Revoked:type_name -> pb.RevokedCertificate
55, // 32: pb.RevokedCertificatesResponse.RevokedCertificates:type_name -> pb.RevokedCertificate
46, // 33: pb.RevokedCertificatesResponse.NextPage:type_name -> pb.NextPage
56, // 34: pb.CrlsResponse.Crls:type_name -> pb.Crl
56, // 35: pb.CrlResponse.Crl:type_name -> pb.Crl
33, // 36: pb.SummaryResponse.Issuers:type_name -> pb.IssuerStatusCount
34, // 37: pb.SummaryResponse.Certificates:type_name -> pb.CertificateStatusCount
35, // 38: pb.SummaryResponse.Expiring:type_name -> pb.ExpiryBucket
36, // 39: pb.SummaryResponse.Crls:type_name -> pb.CrlCounts
44, // 40: pb.IssuerStatusCount.Status:type_name -> pb.IssuerStatus.Enum
52, // 41: pb.CertificateStatusCount.Status:type_name -> pb.CertificateStatus.Enum
0, // 42: pb.CA.RegisterIssuer:input_type -> pb.RegisterIssuerRequest
6, // 43: pb.CA.UpdateIssuer:input_type -> pb.UpdateIssuerRequest
1, // 44: pb.CA.ImportIssuer:input_type -> pb.ImportIssuerRequest
2, // 45: pb.CA.ActivateIssuer:input_type -> pb.ActivateIssuerRequest
3, // 46: pb.CA.GetIssuer:input_type -> pb.GetIssuerRequest
4, // 47: pb.CA.ListIssuers:input_type -> pb.ListIssuersRequest
7, // 48: pb.CA.RegisterRoot:input_type -> pb.RegisterRootRequest
8, // 49: pb.CA.ListRoots:input_type -> pb.ListRootsRequest
10, // 50: pb.CA.RegisterProfile:input_type -> pb.RegisterProfileRequest
11, // 51: pb.CA.GetProfile:input_type -> pb.GetProfileRequest
12, // 52: pb.CA.ListProfiles:input_type -> pb.ListProfilesRequest
14, // 53: pb.CA.DeleteProfile:input_type -> pb.DeleteProfileRequest
15, // 54: pb.CA.SignCertificate:input_type -> pb.SignCertificateRequest
17, // 55: pb.CA.GetCertificate:input_type -> pb.GetCertificateRequest
18, // 56: pb.CA.ListCertificates:input_type -> pb.ListCertificatesRequest
16, // 57: pb.CA.UpdateCertificateLabel:input_type -> pb.UpdateCertificateLabelRequest
20, // 58: pb.CA.RevokeCertificate:input_type -> pb.RevokeCertificateRequest
19, // 59: pb.CA.ListRevokedCertificates:input_type -> pb.ListRevokedCertificatesRequest
25, // 60: pb.CA.GetCRL:input_type -> pb.GetCrlRequest
26, // 61: pb.CA.PublishCrls:input_type -> pb.PublishCrlsRequest
29, // 62: pb.CA.SignOCSP:input_type -> pb.OCSPRequest
31, // 63: pb.CA.GetSummary:input_type -> pb.GetSummaryRequest
45, // 64: pb.CA.RegisterIssuer:output_type -> pb.Issuer
45, // 65: pb.CA.UpdateIssuer:output_type -> pb.Issuer
45, // 66: pb.CA.ImportIssuer:output_type -> pb.Issuer
45, // 67: pb.CA.ActivateIssuer:output_type -> pb.Issuer
45, // 68: pb.CA.GetIssuer:output_type -> pb.Issuer
5, // 69: pb.CA.ListIssuers:output_type -> pb.IssuersResponse
48, // 70: pb.CA.RegisterRoot:output_type -> pb.RootCertificate
9, // 71: pb.CA.ListRoots:output_type -> pb.RootsResponse
49, // 72: pb.CA.RegisterProfile:output_type -> pb.CertProfile
49, // 73: pb.CA.GetProfile:output_type -> pb.CertProfile
13, // 74: pb.CA.ListProfiles:output_type -> pb.ProfilesResponse
57, // 75: pb.CA.DeleteProfile:output_type -> google.protobuf.Empty
21, // 76: pb.CA.SignCertificate:output_type -> pb.CertificateResponse
21, // 77: pb.CA.GetCertificate:output_type -> pb.CertificateResponse
22, // 78: pb.CA.ListCertificates:output_type -> pb.CertificatesResponse
21, // 79: pb.CA.UpdateCertificateLabel:output_type -> pb.CertificateResponse
23, // 80: pb.CA.RevokeCertificate:output_type -> pb.RevokedCertificateResponse
24, // 81: pb.CA.ListRevokedCertificates:output_type -> pb.RevokedCertificatesResponse
28, // 82: pb.CA.GetCRL:output_type -> pb.CrlResponse
27, // 83: pb.CA.PublishCrls:output_type -> pb.CrlsResponse
30, // 84: pb.CA.SignOCSP:output_type -> pb.OCSPResponse
32, // 85: pb.CA.GetSummary:output_type -> pb.SummaryResponse
64, // [64:86] is the sub-list for method output_type
42, // [42:64] is the sub-list for method input_type
42, // [42:42] is the sub-list for extension type_name
42, // [42:42] is the sub-list for extension extendee
0, // [0:42] is the sub-list for field type_name
}
func init() { file_ca_proto_init() }
func file_ca_proto_init() {
if File_ca_proto != nil {
return
}
file_types_proto_init()
file_pkix_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_ca_proto_rawDesc), len(file_ca_proto_rawDesc)),
NumEnums: 0,
NumMessages: 39,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_ca_proto_goTypes,
DependencyIndexes: file_ca_proto_depIdxs,
MessageInfos: file_ca_proto_msgTypes,
}.Build()
File_ca_proto = out.File
file_ca_proto_goTypes = nil
file_ca_proto_depIdxs = nil
}