Files

354 KiB

privpb

import "github.com/effective-security/trustyca/privpb"

Index

Constants

const (
    Admin_ListOrgs_FullMethodName         = "/privpb.Admin/ListOrgs"
    Admin_ListProjects_FullMethodName     = "/privpb.Admin/ListProjects"
    Admin_ListIssuers_FullMethodName      = "/privpb.Admin/ListIssuers"
    Admin_ListCertificates_FullMethodName = "/privpb.Admin/ListCertificates"
)

const (
    Backend_RegisterIssuer_FullMethodName          = "/privpb.Backend/RegisterIssuer"
    Backend_ImportIssuer_FullMethodName            = "/privpb.Backend/ImportIssuer"
    Backend_ActivateIssuer_FullMethodName          = "/privpb.Backend/ActivateIssuer"
    Backend_UpdateIssuer_FullMethodName            = "/privpb.Backend/UpdateIssuer"
    Backend_GetIssuer_FullMethodName               = "/privpb.Backend/GetIssuer"
    Backend_ListIssuers_FullMethodName             = "/privpb.Backend/ListIssuers"
    Backend_RegisterRoot_FullMethodName            = "/privpb.Backend/RegisterRoot"
    Backend_ListRoots_FullMethodName               = "/privpb.Backend/ListRoots"
    Backend_RegisterProfile_FullMethodName         = "/privpb.Backend/RegisterProfile"
    Backend_GetProfile_FullMethodName              = "/privpb.Backend/GetProfile"
    Backend_ListProfiles_FullMethodName            = "/privpb.Backend/ListProfiles"
    Backend_DeleteProfile_FullMethodName           = "/privpb.Backend/DeleteProfile"
    Backend_SignCertificate_FullMethodName         = "/privpb.Backend/SignCertificate"
    Backend_GetCertificate_FullMethodName          = "/privpb.Backend/GetCertificate"
    Backend_ListCertificates_FullMethodName        = "/privpb.Backend/ListCertificates"
    Backend_UpdateCertificateLabel_FullMethodName  = "/privpb.Backend/UpdateCertificateLabel"
    Backend_RevokeCertificate_FullMethodName       = "/privpb.Backend/RevokeCertificate"
    Backend_ListRevokedCertificates_FullMethodName = "/privpb.Backend/ListRevokedCertificates"
    Backend_GetCRL_FullMethodName                  = "/privpb.Backend/GetCRL"
    Backend_PublishCrls_FullMethodName             = "/privpb.Backend/PublishCrls"
    Backend_SignOCSP_FullMethodName                = "/privpb.Backend/SignOCSP"
    Backend_GetSummary_FullMethodName              = "/privpb.Backend/GetSummary"
)

Variables

var ActivateIssuerRequest_MessageDescription = &api.MessageDescription{
    Name:     "ActivateIssuerRequest",
    Display:  "Activate Issuer Request",
    FullName: "privpb.ActivateIssuerRequest",
    Documentation: `ActivateIssuerRequest specifies the externally signed certificate for a
Pending issuer
with the org named explicitly: the request of Backend.ActivateIssuer`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.ActivateIssuerRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ID",
            FullName:      "privpb.ActivateIssuerRequest.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `ID of the Pending issuer`,
        },
        {
            Name:          "Certificate",
            FullName:      "privpb.ActivateIssuerRequest.Certificate",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `Certificate provides the issuer certificate in PEM format`,
        },
        {
            Name:          "Intermediates",
            FullName:      "privpb.ActivateIssuerRequest.Intermediates",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Intermediates provides the intermediate CA certificates in PEM format`,
        },
        {
            Name:          "Root",
            FullName:      "privpb.ActivateIssuerRequest.Root",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Root provides the Root CA certificate in PEM format`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.ActivateIssuerRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `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.`,
        },
    },
}

Admin_ServiceDesc is the grpc.ServiceDesc for Admin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

var Admin_ServiceDesc = grpc.ServiceDesc{
    ServiceName: "privpb.Admin",
    HandlerType: (*AdminServer)(nil),
    Methods: []grpc.MethodDesc{
        {
            MethodName: "ListOrgs",
            Handler:    _Admin_ListOrgs_Handler,
        },
        {
            MethodName: "ListProjects",
            Handler:    _Admin_ListProjects_Handler,
        },
        {
            MethodName: "ListIssuers",
            Handler:    _Admin_ListIssuers_Handler,
        },
        {
            MethodName: "ListCertificates",
            Handler:    _Admin_ListCertificates_Handler,
        },
    },
    Streams:  []grpc.StreamDesc{},
    Metadata: "admin.proto",
}

Backend_ServiceDesc is the grpc.ServiceDesc for Backend service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

var Backend_ServiceDesc = grpc.ServiceDesc{
    ServiceName: "privpb.Backend",
    HandlerType: (*BackendServer)(nil),
    Methods: []grpc.MethodDesc{
        {
            MethodName: "RegisterIssuer",
            Handler:    _Backend_RegisterIssuer_Handler,
        },
        {
            MethodName: "ImportIssuer",
            Handler:    _Backend_ImportIssuer_Handler,
        },
        {
            MethodName: "ActivateIssuer",
            Handler:    _Backend_ActivateIssuer_Handler,
        },
        {
            MethodName: "UpdateIssuer",
            Handler:    _Backend_UpdateIssuer_Handler,
        },
        {
            MethodName: "GetIssuer",
            Handler:    _Backend_GetIssuer_Handler,
        },
        {
            MethodName: "ListIssuers",
            Handler:    _Backend_ListIssuers_Handler,
        },
        {
            MethodName: "RegisterRoot",
            Handler:    _Backend_RegisterRoot_Handler,
        },
        {
            MethodName: "ListRoots",
            Handler:    _Backend_ListRoots_Handler,
        },
        {
            MethodName: "RegisterProfile",
            Handler:    _Backend_RegisterProfile_Handler,
        },
        {
            MethodName: "GetProfile",
            Handler:    _Backend_GetProfile_Handler,
        },
        {
            MethodName: "ListProfiles",
            Handler:    _Backend_ListProfiles_Handler,
        },
        {
            MethodName: "DeleteProfile",
            Handler:    _Backend_DeleteProfile_Handler,
        },
        {
            MethodName: "SignCertificate",
            Handler:    _Backend_SignCertificate_Handler,
        },
        {
            MethodName: "GetCertificate",
            Handler:    _Backend_GetCertificate_Handler,
        },
        {
            MethodName: "ListCertificates",
            Handler:    _Backend_ListCertificates_Handler,
        },
        {
            MethodName: "UpdateCertificateLabel",
            Handler:    _Backend_UpdateCertificateLabel_Handler,
        },
        {
            MethodName: "RevokeCertificate",
            Handler:    _Backend_RevokeCertificate_Handler,
        },
        {
            MethodName: "ListRevokedCertificates",
            Handler:    _Backend_ListRevokedCertificates_Handler,
        },
        {
            MethodName: "GetCRL",
            Handler:    _Backend_GetCRL_Handler,
        },
        {
            MethodName: "PublishCrls",
            Handler:    _Backend_PublishCrls_Handler,
        },
        {
            MethodName: "SignOCSP",
            Handler:    _Backend_SignOCSP_Handler,
        },
        {
            MethodName: "GetSummary",
            Handler:    _Backend_GetSummary_Handler,
        },
    },
    Streams:  []grpc.StreamDesc{},
    Metadata: "backend.proto",
}

var CAConstraint_MessageDescription = &api.MessageDescription{
    Name:     "CAConstraint",
    Display:  "CA Constraint",
    FullName: "pb.CAConstraint",
    Documentation: `CAConstraint specifies various CA constraints on the signed certificate.
CAConstraint would verify against (and override) the CA
extensions in the given CSR.`,
    Fields: []*api.FieldMeta{
        {
            Name:          "IsCA",
            FullName:      "pb.CAConstraint.IsCA",
            Display:       "Is CA",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "MaxPathLen",
            FullName:      "pb.CAConstraint.MaxPathLen",
            Display:       "Max Path Len",
            Type:          "int32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
        },
    },
}

var CSRAllowedFields_MessageDescription = &api.MessageDescription{
    Name:          "CSRAllowedFields",
    Display:       "CSR Allowed Fields",
    FullName:      "pb.CSRAllowedFields",
    Documentation: `CSRAllowedFields specifies which fields may be copied from a CSR`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Subject",
            FullName:      "pb.CSRAllowedFields.Subject",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Dns",
            FullName:      "pb.CSRAllowedFields.Dns",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Ip",
            FullName:      "pb.CSRAllowedFields.Ip",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Email",
            FullName:      "pb.CSRAllowedFields.Email",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Uri",
            FullName:      "pb.CSRAllowedFields.Uri",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
        },
    },
}

var CertProfile_MessageDescription = &api.MessageDescription{
    Name:     "CertProfile",
    Display:  "Cert Profile",
    FullName: "pb.CertProfile",
    Documentation: `CertProfile provides certificate profile.
The shape matches the YAML profiles in ca-config files.`,
    Fields: []*api.FieldMeta{
        {
            Name:          "ID",
            FullName:      "pb.CertProfile.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ID of the profile; empty for profiles loaded from files`,
        },
        {
            Name:          "OrgID",
            FullName:      "pb.CertProfile.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OrgID of the owning org; empty for platform profiles`,
        },
        {
            Name:          "ProjectID",
            FullName:      "pb.CertProfile.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID of the owning project; empty for org-wide profiles`,
        },
        {
            Name:          "Label",
            FullName:      "pb.CertProfile.Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Label is the profile name, unique per (Org, Project)`,
        },
        {
            Name:          "IssuerLabel",
            FullName:      "pb.CertProfile.IssuerLabel",
            Display:       "Issuer Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IssuerLabel binds the profile to an issuer of the same org.
"*" allows any issuer that lists the profile in AllowedProfiles.`,
        },
        {
            Name:          "Description",
            FullName:      "pb.CertProfile.Description",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Description of the profile`,
        },
        {
            Name:          "Usages",
            FullName:      "pb.CertProfile.Usages",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Usages provides a list of key usages and extended key usages`,
        },
        {
            Name:          "CAConstraint",
            FullName:      "pb.CertProfile.CAConstraint",
            Display:       "CA Constraint",
            Type:          "struct",
            StructName:    "pb.CAConstraint",
            SearchType:    "flat_object",
            Documentation: `CAConstraint specifies the basic constraints for CA certificates`,
        },
        {
            Name:          "OcspNoCheck",
            FullName:      "pb.CertProfile.OcspNoCheck",
            Display:       "Ocsp No Check",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OcspNoCheck specifies to add id-pkix-ocsp-nocheck extension`,
        },
        {
            Name:          "Expiry",
            FullName:      "pb.CertProfile.Expiry",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Expiry specifies the validity duration, e.g. 168h`,
        },
        {
            Name:          "Backdate",
            FullName:      "pb.CertProfile.Backdate",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Backdate specifies the NotBefore backdate duration, e.g. 30m`,
        },
        {
            Name:          "Extensions",
            FullName:      "pb.CertProfile.Extensions",
            Type:          "[]struct",
            StructName:    "pb.X509Extension",
            SearchType:    "flat_object",
            Documentation: `Extensions specifies extensions to always add to the certificate`,
        },
        {
            Name:          "AllowedExtensions",
            FullName:      "pb.CertProfile.AllowedExtensions",
            Display:       "Allowed Extensions",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `AllowedExtensions specifies OIDs of extensions allowed from the request`,
        },
        {
            Name:          "AllowedNames",
            FullName:      "pb.CertProfile.AllowedNames",
            Display:       "Allowed Names",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `AllowedNames specifies a RegExp to check for allowed names.
If not provided, then all values are allowed`,
        },
        {
            Name:          "AllowedDns",
            FullName:      "pb.CertProfile.AllowedDns",
            Display:       "Allowed Dns",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `AllowedDns specifies a RegExp to check for allowed DNS.
If not provided, then all values are allowed`,
        },
        {
            Name:          "AllowedEmail",
            FullName:      "pb.CertProfile.AllowedEmail",
            Display:       "Allowed Email",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `AllowedEmail specifies a RegExp to check for allowed email.
If not provided, then all values are allowed`,
        },
        {
            Name:          "AllowedUri",
            FullName:      "pb.CertProfile.AllowedUri",
            Display:       "Allowed Uri",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `AllowedUri specifies a RegExp to check for allowed URI.
If not provided, then all values are allowed`,
        },
        {
            Name:       "AllowedFields",
            FullName:   "pb.CertProfile.AllowedFields",
            Display:    "Allowed Fields",
            Type:       "struct",
            StructName: "pb.CSRAllowedFields",
            SearchType: "flat_object",
            Documentation: `AllowedFields provides booleans for fields in the CSR.
If AllowedFields is not present in a CertProfile,
all of these fields may be copied from the CSR into the signed
certificate. If AllowedFields *is* present in a CertProfile, only those
fields with a 'true' value in the AllowedFields may be copied from the
CSR to the signed certificate. Note that some of these fields, like
Subject, can be provided or partially provided through the API. Since API
clients are expected to be trusted, but CSRs are not, fields provided
through the API are not subject to validation through this mechanism.`,
        },
        {
            Name:          "Policies",
            FullName:      "pb.CertProfile.Policies",
            Type:          "[]struct",
            StructName:    "pb.CertificatePolicy",
            SearchType:    "flat_object",
            Documentation: `Policies specifies Certificate Policies to include`,
        },
        {
            Name:          "PoliciesCritical",
            FullName:      "pb.CertProfile.PoliciesCritical",
            Display:       "Policies Critical",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `PoliciesCritical specifies to mark Policies as Critical extension`,
        },
        {
            Name:          "AllowedRoles",
            FullName:      "pb.CertProfile.AllowedRoles",
            Display:       "Allowed Roles",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `AllowedRoles specifies caller roles allowed to request the profile`,
        },
        {
            Name:          "DeniedRoles",
            FullName:      "pb.CertProfile.DeniedRoles",
            Display:       "Denied Roles",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `DeniedRoles specifies caller roles denied to request the profile`,
        },
        {
            Name:            "Status",
            FullName:        "pb.CertProfile.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.ItemStatus_Enum_EnumDescription,
            Documentation:   `Status of the profile`,
        },
        {
            Name:          "CreatedAt",
            FullName:      "pb.CertProfile.CreatedAt",
            Display:       "Created At",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `CreatedAt in RFC3339 format`,
        },
        {
            Name:          "UpdatedAt",
            FullName:      "pb.CertProfile.UpdatedAt",
            Display:       "Updated At",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `UpdatedAt in RFC3339 format`,
        },
    },
}

var CertificatePolicyQualifier_MessageDescription = &api.MessageDescription{
    Name:     "CertificatePolicyQualifier",
    Display:  "Certificate Policy Qualifier",
    FullName: "pb.CertificatePolicyQualifier",
    Documentation: `CertificatePolicyQualifier specifies a policy qualifier: id-qt-cps or
id-qt-unotice`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Type",
            FullName:      "pb.CertificatePolicyQualifier.Type",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Value",
            FullName:      "pb.CertificatePolicyQualifier.Value",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
    },
}

var CertificatePolicy_MessageDescription = &api.MessageDescription{
    Name:          "CertificatePolicy",
    Display:       "Certificate Policy",
    FullName:      "pb.CertificatePolicy",
    Documentation: `CertificatePolicy specifies a Certificate Policy extension entry`,
    Fields: []*api.FieldMeta{
        {
            Name:          "ID",
            FullName:      "pb.CertificatePolicy.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ID is OID of Certificate Policy`,
        },
        {
            Name:       "Qualifiers",
            FullName:   "pb.CertificatePolicy.Qualifiers",
            Type:       "[]struct",
            StructName: "pb.CertificatePolicyQualifier",
            SearchType: "flat_object",
        },
    },
}

var CertificateResponse_MessageDescription = &api.MessageDescription{
    Name:          "CertificateResponse",
    Display:       "Certificate Response",
    FullName:      "pb.CertificateResponse",
    Documentation: `CertificateResponse returns Certificate`,
    Fields: []*api.FieldMeta{
        {
            Name:       "Certificate",
            FullName:   "pb.CertificateResponse.Certificate",
            Type:       "struct",
            StructName: "pb.Certificate",
            SearchType: "flat_object",
        },
    },
}

var CertificateStatusCount_MessageDescription = &api.MessageDescription{
    Name:          "CertificateStatusCount",
    Display:       "Certificate Status Count",
    FullName:      "pb.CertificateStatusCount",
    Documentation: `CertificateStatusCount is the number of certificates of a status`,
    Fields: []*api.FieldMeta{
        {
            Name:            "Status",
            FullName:        "pb.CertificateStatusCount.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.CertificateStatus_Enum_EnumDescription,
            Documentation:   `Status of the certificates`,
        },
        {
            Name:          "Count",
            FullName:      "pb.CertificateStatusCount.Count",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Count of the certificates of the status`,
        },
    },
}

var Certificate_MessageDescription = &api.MessageDescription{
    Name:          "Certificate",
    FullName:      "pb.Certificate",
    Documentation: `Certificate provides X509 Certificate information`,
    Fields: []*api.FieldMeta{
        {
            Name:          "ID",
            FullName:      "pb.Certificate.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ID of the certificate`,
        },
        {
            Name:          "OrgID",
            FullName:      "pb.Certificate.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OrgID of the owning org`,
        },
        {
            Name:          "ProjectID",
            FullName:      "pb.Certificate.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID of the owning project; empty for org-wide certificates`,
        },
        {
            Name:          "SKID",
            FullName:      "pb.Certificate.SKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `SKID provides Subject Key Identifier`,
        },
        {
            Name:          "IKID",
            FullName:      "pb.Certificate.IKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IKID provides Issuer Key Identifier`,
        },
        {
            Name:          "SerialNumber",
            FullName:      "pb.Certificate.SerialNumber",
            Display:       "Serial Number",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `SerialNumber provides Serial Number`,
        },
        {
            Name:          "NotBefore",
            FullName:      "pb.Certificate.NotBefore",
            Display:       "Not Before",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `NotBefore is the time when the validity period starts in RFC3339 format`,
        },
        {
            Name:          "NotAfter",
            FullName:      "pb.Certificate.NotAfter",
            Display:       "Not After",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `NotAfter is the time when the validity period ends in RFC3339 format`,
        },
        {
            Name:          "Subject",
            FullName:      "pb.Certificate.Subject",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Subject name`,
        },
        {
            Name:          "Issuer",
            FullName:      "pb.Certificate.Issuer",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Issuer name`,
        },
        {
            Name:          "Sha256",
            FullName:      "pb.Certificate.Sha256",
            Display:       "Sha 256",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Sha256 thumbprint of the cert`,
        },
        {
            Name:          "Profile",
            FullName:      "pb.Certificate.Profile",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Profile used to issue the certificate`,
        },
        {
            Name:          "Pem",
            FullName:      "pb.Certificate.Pem",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Pem encoded certificate`,
        },
        {
            Name:          "IssuersPem",
            FullName:      "pb.Certificate.IssuersPem",
            Display:       "Issuers Pem",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IssuersPem provides PEM encoded issuers chain`,
        },
        {
            Name:          "Locations",
            FullName:      "pb.Certificate.Locations",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Locations of the published certificate`,
        },
        {
            Name:          "Label",
            FullName:      "pb.Certificate.Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Label of the certificate provided by the client`,
        },
        {
            Name:          "Metadata",
            FullName:      "pb.Certificate.Metadata",
            Type:          "map",
            StructName:    "pb.Certificate.MetadataEntry",
            SearchType:    "flat_object",
            Documentation: `Metadata of the certificate provided by the client`,
        },
        {
            Name:            "Status",
            FullName:        "pb.Certificate.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.CertificateStatus_Enum_EnumDescription,
            Documentation:   `Status of the certificate`,
        },
        {
            Name:          "CreatedAt",
            FullName:      "pb.Certificate.CreatedAt",
            Display:       "Created At",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `CreatedAt is the issuance time in RFC3339 format`,
        },
    },
}

var Certificate_MetadataEntry_MessageDescription = &api.MessageDescription{
    Name:     "Certificate_MetadataEntry",
    Display:  "Metadata Entry",
    FullName: "pb.Certificate.MetadataEntry",
    Fields: []*api.FieldMeta{
        {
            Name:          "Key",
            FullName:      "pb.Certificate.MetadataEntry.Key",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
        },
        {
            Name:          "Value",
            FullName:      "pb.Certificate.MetadataEntry.Value",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
        },
    },
}

var CertificatesResponse_MessageDescription = &api.MessageDescription{
    Name:          "CertificatesResponse",
    Display:       "Certificates Response",
    FullName:      "pb.CertificatesResponse",
    Documentation: `CertificatesResponse returns Certificates list`,
    Fields: []*api.FieldMeta{
        {
            Name:       "Certificates",
            FullName:   "pb.CertificatesResponse.Certificates",
            Type:       "[]struct",
            StructName: "pb.Certificate",
            SearchType: "flat_object",
        },
        {
            Name:       "NextPage",
            FullName:   "pb.CertificatesResponse.NextPage",
            Display:    "Next Page",
            Type:       "struct",
            StructName: "pb.NextPage",
            SearchType: "flat_object",
            Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
        },
    },
}

var CrlCounts_MessageDescription = &api.MessageDescription{
    Name:     "CrlCounts",
    Display:  "Crl Counts",
    FullName: "pb.CrlCounts",
    Documentation: `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.`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Issuers",
            FullName:      "pb.CrlCounts.Issuers",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Issuers is the number of issuers that publish CRLs`,
        },
        {
            Name:          "Current",
            FullName:      "pb.CrlCounts.Current",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Current is the number of CRLs whose next update is later than the
renewal period of their issuer`,
        },
        {
            Name:          "Due",
            FullName:      "pb.CrlCounts.Due",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `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`,
        },
        {
            Name:          "Overdue",
            FullName:      "pb.CrlCounts.Overdue",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Overdue is the number of CRLs whose next update has passed: relying
parties see a stale CRL until it is published`,
        },
        {
            Name:          "Missing",
            FullName:      "pb.CrlCounts.Missing",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Missing is the number of issuers that have published no CRL yet`,
        },
    },
}

var CrlResponse_MessageDescription = &api.MessageDescription{
    Name:          "CrlResponse",
    Display:       "Crl Response",
    FullName:      "pb.CrlResponse",
    Documentation: `CrlResponse returns CRL`,
    Fields: []*api.FieldMeta{
        {
            Name:       "Crl",
            FullName:   "pb.CrlResponse.Crl",
            Type:       "struct",
            StructName: "pb.Crl",
            SearchType: "flat_object",
        },
    },
}

var Crl_MessageDescription = &api.MessageDescription{
    Name:          "Crl",
    FullName:      "pb.Crl",
    Documentation: `Crl provides X509 CRL information`,
    Fields: []*api.FieldMeta{
        {
            Name:          "ID",
            FullName:      "pb.Crl.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ID of the CRL`,
        },
        {
            Name:          "OrgID",
            FullName:      "pb.Crl.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OrgID of the issuer's org`,
        },
        {
            Name:          "IssuerID",
            FullName:      "pb.Crl.IssuerID",
            Display:       "Issuer ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IssuerID of the issuer`,
        },
        {
            Name:          "IKID",
            FullName:      "pb.Crl.IKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IKID provides Issuer Key Identifier`,
        },
        {
            Name:          "Number",
            FullName:      "pb.Crl.Number",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Number is the monotonic CRL number`,
        },
        {
            Name:          "ThisUpdate",
            FullName:      "pb.Crl.ThisUpdate",
            Display:       "This Update",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ThisUpdate is the time when the CRL was issued in RFC3339 format`,
        },
        {
            Name:          "NextUpdate",
            FullName:      "pb.Crl.NextUpdate",
            Display:       "Next Update",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `NextUpdate is the time for the next update in RFC3339 format`,
        },
        {
            Name:          "Issuer",
            FullName:      "pb.Crl.Issuer",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Issuer name`,
        },
        {
            Name:          "Pem",
            FullName:      "pb.Crl.Pem",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Pem encoded CRL`,
        },
        {
            Name:          "Locations",
            FullName:      "pb.Crl.Locations",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Locations of the published CRL`,
        },
    },
}

var CrlsResponse_MessageDescription = &api.MessageDescription{
    Name:          "CrlsResponse",
    Display:       "Crls Response",
    FullName:      "pb.CrlsResponse",
    Documentation: `CrlsResponse returns published CRLs`,
    Fields: []*api.FieldMeta{
        {
            Name:       "Crls",
            FullName:   "pb.CrlsResponse.Crls",
            Type:       "[]struct",
            StructName: "pb.Crl",
            SearchType: "flat_object",
        },
    },
}

var DeleteProfileRequest_MessageDescription = &api.MessageDescription{
    Name:     "DeleteProfileRequest",
    Display:  "Delete Profile Request",
    FullName: "privpb.DeleteProfileRequest",
    Documentation: `DeleteProfileRequest deletes a profile
with the org named explicitly: the request of Backend.DeleteProfile`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.DeleteProfileRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ID",
            FullName:      "privpb.DeleteProfileRequest.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `ID of the profile`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.DeleteProfileRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `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.`,
        },
    },
}

var Empty_MessageDescription = &api.MessageDescription{
    Name:     "Empty",
    FullName: "google.protobuf.Empty",
    Documentation: `A generic empty message that you can re-use to avoid defining duplicated
empty messages in your APIs. A typical example is to use it as the request
or the response type of an API method. For instance:
service Foo {
rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
}`,
    Fields: []*api.FieldMeta{},
}

var EnumNameTypes = map[string]reflect.Type{}

var ExpiryBucket_MessageDescription = &api.MessageDescription{
    Name:     "ExpiryBucket",
    Display:  "Expiry Bucket",
    FullName: "pb.ExpiryBucket",
    Documentation: `ExpiryBucket is the number of Active certificates whose validity ends
within a number of days after the time of the summary`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Days",
            FullName:      "pb.ExpiryBucket.Days",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Days after the time of the summary`,
        },
        {
            Name:          "Count",
            FullName:      "pb.ExpiryBucket.Count",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Count of the Active certificates that expire within the days`,
        },
    },
}

var File_admin_proto protoreflect.FileDescriptor

var File_backend_proto protoreflect.FileDescriptor

var GetCertificateRequest_MessageDescription = &api.MessageDescription{
    Name:     "GetCertificateRequest",
    Display:  "Get Certificate Request",
    FullName: "privpb.GetCertificateRequest",
    Documentation: `GetCertificateRequest specifies certificate by ID, SKID, Sha256 or issuer
and serial number
with the org named explicitly: the request of Backend.GetCertificate`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.GetCertificateRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ID",
            FullName:      "privpb.GetCertificateRequest.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"SKID", "Sha256", "IssuerSerial"},
            Documentation: `ID specifies certificate ID`,
        },
        {
            Name:          "SKID",
            FullName:      "privpb.GetCertificateRequest.SKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"ID", "Sha256", "IssuerSerial"},
            Documentation: `SKID specifies Subject Key ID to search`,
        },
        {
            Name:          "Sha256",
            FullName:      "privpb.GetCertificateRequest.Sha256",
            Display:       "Sha 256",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"ID", "SKID", "IssuerSerial"},
            Documentation: `Sha256 specifies the certificate thumbprint to search`,
        },
        {
            Name:          "IssuerSerial",
            FullName:      "privpb.GetCertificateRequest.IssuerSerial",
            Display:       "Issuer Serial",
            Type:          "struct",
            StructName:    "pb.IssuerSerial",
            SearchType:    "flat_object",
            RequiredOr:    []string{"ID", "SKID", "Sha256"},
            Documentation: `IssuerSerial specifies Issuer Key ID and certificate serial number`,
        },
    },
}

var GetCrlRequest_MessageDescription = &api.MessageDescription{
    Name:     "GetCrlRequest",
    Display:  "Get Crl Request",
    FullName: "privpb.GetCrlRequest",
    Documentation: `GetCrlRequest specifies CRL request by IKID
with the org named explicitly: the request of Backend.GetCRL`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.GetCrlRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OrgID of the org of the issuer; empty reads the CRL of any issuer,
for a service identity only`,
        },
        {
            Name:          "IKID",
            FullName:      "privpb.GetCrlRequest.IKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `IKID specifies Issuer Key ID`,
        },
    },
}

var GetIssuerRequest_MessageDescription = &api.MessageDescription{
    Name:     "GetIssuerRequest",
    Display:  "Get Issuer Request",
    FullName: "privpb.GetIssuerRequest",
    Documentation: `GetIssuerRequest specifies an issuer by ID, label or IKID
with the org named explicitly: the request of Backend.GetIssuer`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.GetIssuerRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.GetIssuerRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID of the owning project; used with Label`,
        },
        {
            Name:          "ID",
            FullName:      "privpb.GetIssuerRequest.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"Label", "IKID"},
            Documentation: `ID of the issuer`,
        },
        {
            Name:          "Label",
            FullName:      "privpb.GetIssuerRequest.Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"ID", "IKID"},
            Documentation: `Label of the issuer, resolved as (Org, Project) then (Org)`,
        },
        {
            Name:          "IKID",
            FullName:      "privpb.GetIssuerRequest.IKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"ID", "Label"},
            Documentation: `IKID specifies Issuer Key ID`,
        },
    },
}

var GetProfileRequest_MessageDescription = &api.MessageDescription{
    Name:     "GetProfileRequest",
    Display:  "Get Profile Request",
    FullName: "privpb.GetProfileRequest",
    Documentation: `GetProfileRequest specifies a profile by ID or label
with the org named explicitly: the request of Backend.GetProfile`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.GetProfileRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.GetProfileRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID of the owning project; used with Label`,
        },
        {
            Name:          "ID",
            FullName:      "privpb.GetProfileRequest.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"Label"},
            Documentation: `ID of the profile`,
        },
        {
            Name:          "Label",
            FullName:      "privpb.GetProfileRequest.Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"ID"},
            Documentation: `Label of the profile, resolved as (Org, Project) then (Org)`,
        },
    },
}

var GetSummaryRequest_MessageDescription = &api.MessageDescription{
    Name:     "GetSummaryRequest",
    Display:  "Get Summary Request",
    FullName: "privpb.GetSummaryRequest",
    Documentation: `GetSummaryRequest specifies the scope of the summary
with the org named explicitly: the request of Backend.GetSummary`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.GetSummaryRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.GetSummaryRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID limits the summary to the project; empty summarizes the
org-wide rows and the projects the caller may read`,
        },
    },
}

var ImportIssuerRequest_MessageDescription = &api.MessageDescription{
    Name:     "ImportIssuerRequest",
    Display:  "Import Issuer Request",
    FullName: "privpb.ImportIssuerRequest",
    Documentation: `ImportIssuerRequest specifies a request to import an existing issuer
with the org named explicitly: the request of Backend.ImportIssuer`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.ImportIssuerRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.ImportIssuerRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID of the owning project; empty for an org-wide issuer`,
        },
        {
            Name:          "Label",
            FullName:      "privpb.ImportIssuerRequest.Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Max:           64,
            Documentation: `Label of the issuer, unique per (Org, Project)`,
        },
        {
            Name:            "Type",
            FullName:        "privpb.ImportIssuerRequest.Type",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.AuthorityType_Enum_EnumDescription,
            Required:        true,
            Documentation:   `Type of the authority`,
        },
        {
            Name:          "Certificate",
            FullName:      "privpb.ImportIssuerRequest.Certificate",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `Certificate provides the issuer certificate in PEM format`,
        },
        {
            Name:          "Intermediates",
            FullName:      "privpb.ImportIssuerRequest.Intermediates",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Intermediates provides the intermediate CA certificates in PEM format`,
        },
        {
            Name:          "Root",
            FullName:      "privpb.ImportIssuerRequest.Root",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Root provides the Root CA certificate in PEM format`,
        },
        {
            Name:          "KeyURI",
            FullName:      "privpb.ImportIssuerRequest.KeyURI",
            Display:       "Key URI",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"KeyPem"},
            Documentation: `KeyURI references an existing key in a crypto provider,
e.g. awskms://..., gcpkms://..., pkcs11:...`,
        },
        {
            Name:          "KeyPem",
            FullName:      "privpb.ImportIssuerRequest.KeyPem",
            Display:       "Key Pem",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"KeyURI"},
            Documentation: `KeyPem provides the private key in PEM format.
It is stored protected by the data protection provider.`,
        },
        {
            Name:          "Config",
            FullName:      "privpb.ImportIssuerRequest.Config",
            Type:          "struct",
            StructName:    "pb.IssuerConfig",
            SearchType:    "flat_object",
            Documentation: `Config provides runtime settings`,
        },
    },
}

var IssuerConfig_MessageDescription = &api.MessageDescription{
    Name:     "IssuerConfig",
    Display:  "Issuer Config",
    FullName: "pb.IssuerConfig",
    Documentation: `IssuerConfig provides runtime settings of an issuer.
The shape matches the 'issuers[].aia' section of ca-config files.
The URL templates name the issuer with ':ISSUER_ID', which is replaced
with the issuer's SKID. The API also accepts '${ISSUER_ID}'; a ca-config
file cannot use it, since its loader expands '${...}' as an environment
variable, and the bootstrap refuses such a file.`,
    Fields: []*api.FieldMeta{
        {
            Name:          "AiaURL",
            FullName:      "pb.IssuerConfig.AiaURL",
            Display:       "Aia URL",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `AiaURL specifies a template for the AIA Issuer URL`,
        },
        {
            Name:          "OcspURL",
            FullName:      "pb.IssuerConfig.OcspURL",
            Display:       "Ocsp URL",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OcspURL specifies a template for the OCSP URL`,
        },
        {
            Name:          "CrlURL",
            FullName:      "pb.IssuerConfig.CrlURL",
            Display:       "Crl URL",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `CrlURL specifies a template for the CRL Distribution Point URL`,
        },
        {
            Name:          "CrlExpiry",
            FullName:      "pb.IssuerConfig.CrlExpiry",
            Display:       "Crl Expiry",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `CrlExpiry specifies the duration of CRL validity, e.g. 48h`,
        },
        {
            Name:          "CrlRenewal",
            FullName:      "pb.IssuerConfig.CrlRenewal",
            Display:       "Crl Renewal",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `CrlRenewal specifies how long before NextUpdate the CRL is renewed`,
        },
        {
            Name:          "OcspExpiry",
            FullName:      "pb.IssuerConfig.OcspExpiry",
            Display:       "Ocsp Expiry",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OcspExpiry specifies the duration of OCSP response validity`,
        },
        {
            Name:          "DelegatedOcspProfile",
            FullName:      "pb.IssuerConfig.DelegatedOcspProfile",
            Display:       "Delegated Ocsp Profile",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `DelegatedOcspProfile specifies the profile to issue a delegated OCSP
responder certificate; empty to sign OCSP with the issuer key`,
        },
        {
            Name:          "AllowedProfiles",
            FullName:      "pb.IssuerConfig.AllowedProfiles",
            Display:       "Allowed Profiles",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `AllowedProfiles restricts the profiles the issuer may sign.
Required for profiles with IssuerLabel "*".`,
        },
        {
            Name:          "OmitDisabledExtensions",
            FullName:      "pb.IssuerConfig.OmitDisabledExtensions",
            Display:       "Omit Disabled Extensions",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OmitDisabledExtensions specifies to drop not allowed extensions
instead of failing the request`,
        },
    },
}

var IssuerSerial_MessageDescription = &api.MessageDescription{
    Name:          "IssuerSerial",
    Display:       "Issuer Serial",
    FullName:      "pb.IssuerSerial",
    Documentation: `IssuerSerial identifies a certificate by its issuer and serial number`,
    Fields: []*api.FieldMeta{
        {
            Name:          "IKID",
            FullName:      "pb.IssuerSerial.IKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IKID provides Issuer Key Identifier`,
        },
        {
            Name:          "SerialNumber",
            FullName:      "pb.IssuerSerial.SerialNumber",
            Display:       "Serial Number",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `SerialNumber provides certificate's serial number`,
        },
    },
}

var IssuerStatusCount_MessageDescription = &api.MessageDescription{
    Name:          "IssuerStatusCount",
    Display:       "Issuer Status Count",
    FullName:      "pb.IssuerStatusCount",
    Documentation: `IssuerStatusCount is the number of issuers of a lifecycle status`,
    Fields: []*api.FieldMeta{
        {
            Name:            "Status",
            FullName:        "pb.IssuerStatusCount.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.IssuerStatus_Enum_EnumDescription,
            Documentation:   `Status of the issuers`,
        },
        {
            Name:          "Count",
            FullName:      "pb.IssuerStatusCount.Count",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Count of the issuers of the status`,
        },
    },
}

var Issuer_MessageDescription = &api.MessageDescription{
    Name:     "Issuer",
    FullName: "pb.Issuer",
    Documentation: `Issuer provides issuing authority information.
Private key material is never returned.`,
    Fields: []*api.FieldMeta{
        {
            Name:          "ID",
            FullName:      "pb.Issuer.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ID of the issuer`,
        },
        {
            Name:          "OrgID",
            FullName:      "pb.Issuer.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OrgID of the owning org; empty for platform issuers`,
        },
        {
            Name:          "ProjectID",
            FullName:      "pb.Issuer.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID of the owning project; empty for org-wide issuers`,
        },
        {
            Name:          "Label",
            FullName:      "pb.Issuer.Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Label of the issuer, unique per (Org, Project)`,
        },
        {
            Name:            "Type",
            FullName:        "pb.Issuer.Type",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.AuthorityType_Enum_EnumDescription,
            Documentation:   `Type of the authority`,
        },
        {
            Name:            "Status",
            FullName:        "pb.Issuer.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.IssuerStatus_Enum_EnumDescription,
            Documentation:   `Status of the issuer`,
        },
        {
            Name:          "ParentID",
            FullName:      "pb.Issuer.ParentID",
            Display:       "Parent ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ParentID of the issuer that signed this one; empty for roots and
externally signed issuers`,
        },
        {
            Name:          "SKID",
            FullName:      "pb.Issuer.SKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `SKID provides Subject Key Identifier`,
        },
        {
            Name:          "IKID",
            FullName:      "pb.Issuer.IKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IKID provides Issuer Key Identifier`,
        },
        {
            Name:          "SerialNumber",
            FullName:      "pb.Issuer.SerialNumber",
            Display:       "Serial Number",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `SerialNumber of the issuer certificate`,
        },
        {
            Name:          "Subject",
            FullName:      "pb.Issuer.Subject",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Subject name`,
        },
        {
            Name:          "Issuer",
            FullName:      "pb.Issuer.Issuer",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Issuer name`,
        },
        {
            Name:          "Sha256",
            FullName:      "pb.Issuer.Sha256",
            Display:       "Sha 256",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Sha256 thumbprint of the certificate`,
        },
        {
            Name:          "NotBefore",
            FullName:      "pb.Issuer.NotBefore",
            Display:       "Not Before",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `NotBefore in RFC3339 format`,
        },
        {
            Name:          "NotAfter",
            FullName:      "pb.Issuer.NotAfter",
            Display:       "Not After",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `NotAfter in RFC3339 format`,
        },
        {
            Name:          "Certificate",
            FullName:      "pb.Issuer.Certificate",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Certificate provides the issuer certificate in PEM format`,
        },
        {
            Name:          "Intermediates",
            FullName:      "pb.Issuer.Intermediates",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Intermediates provides the intermediate CA certificates in PEM format`,
        },
        {
            Name:          "Root",
            FullName:      "pb.Issuer.Root",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Root provides the Root CA certificate in PEM format`,
        },
        {
            Name:          "Csr",
            FullName:      "pb.Issuer.Csr",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Csr provides the PEM encoded CSR while the issuer is Pending`,
        },
        {
            Name:          "KeyProvider",
            FullName:      "pb.Issuer.KeyProvider",
            Display:       "Key Provider",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `KeyProvider is the crypto provider holding the private key`,
        },
        {
            Name:          "Config",
            FullName:      "pb.Issuer.Config",
            Type:          "struct",
            StructName:    "pb.IssuerConfig",
            SearchType:    "flat_object",
            Documentation: `Config provides runtime settings`,
        },
        {
            Name:          "Profiles",
            FullName:      "pb.Issuer.Profiles",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Profiles specifies the list of profile labels the issuer supports`,
        },
        {
            Name:          "CrlNumber",
            FullName:      "pb.Issuer.CrlNumber",
            Display:       "Crl Number",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `CrlNumber is the last published CRL number`,
        },
        {
            Name:          "CreatedAt",
            FullName:      "pb.Issuer.CreatedAt",
            Display:       "Created At",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `CreatedAt in RFC3339 format`,
        },
        {
            Name:          "UpdatedAt",
            FullName:      "pb.Issuer.UpdatedAt",
            Display:       "Updated At",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `UpdatedAt in RFC3339 format`,
        },
    },
}

var IssuersResponse_MessageDescription = &api.MessageDescription{
    Name:          "IssuersResponse",
    Display:       "Issuers Response",
    FullName:      "pb.IssuersResponse",
    Documentation: `IssuersResponse returns list of issuers`,
    Fields: []*api.FieldMeta{
        {
            Name:       "Issuers",
            FullName:   "pb.IssuersResponse.Issuers",
            Type:       "[]struct",
            StructName: "pb.Issuer",
            SearchType: "flat_object",
        },
        {
            Name:       "NextPage",
            FullName:   "pb.IssuersResponse.NextPage",
            Display:    "Next Page",
            Type:       "struct",
            StructName: "pb.NextPage",
            SearchType: "flat_object",
            Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
        },
    },
}

var JsonMarshalOptions = protojson.MarshalOptions{
    UseEnumNumbers:  true,
    EmitUnpopulated: false,
    UseProtoNames:   true,
    AllowPartial:    true,
}

var JsonUnmarshalOptions = protojson.UnmarshalOptions{
    AllowPartial:   true,
    DiscardUnknown: true,
}

var KeySpec_MessageDescription = &api.MessageDescription{
    Name:          "KeySpec",
    Display:       "Key Spec",
    FullName:      "pb.KeySpec",
    Documentation: `KeySpec specifies the key to generate for an issuer`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Algo",
            FullName:      "pb.KeySpec.Algo",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Algo specifies the key algorithm: RSA|ECDSA`,
        },
        {
            Name:          "Size",
            FullName:      "pb.KeySpec.Size",
            Type:          "int32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Size specifies RSA key size in bits or ECDSA curve size: 256|384|521`,
        },
    },
}

var ListAllCertificatesRequest_MessageDescription = &api.MessageDescription{
    Name:     "ListAllCertificatesRequest",
    Display:  "List All Certificates Request",
    FullName: "privpb.ListAllCertificatesRequest",
    Documentation: `ListAllCertificatesRequest specifies a paginated list of certificates across
orgs, newest first`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Limit",
            FullName:      "privpb.ListAllCertificatesRequest.Limit",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Limit specifies maximum number of records to return`,
        },
        {
            Name:          "Offset",
            FullName:      "privpb.ListAllCertificatesRequest.Offset",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Offset specifies offset for the offset-based pagination`,
        },
        {
            Name:          "Cursor",
            FullName:      "privpb.ListAllCertificatesRequest.Cursor",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Cursor specifies cursor for the cursor-based pagination.
Use "initial" to start the pagination or pass the cursor returned from
the previous request.`,
        },
        {
            Name:          "OrgID",
            FullName:      "privpb.ListAllCertificatesRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OrgID limits the result to the org. Empty lists the certificates of
every org and of the platform, or of the platform only with Platform.`,
        },
        {
            Name:          "Platform",
            FullName:      "privpb.ListAllCertificatesRequest.Platform",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Platform limits the result to the platform certificates (no org) when
OrgID is empty`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.ListAllCertificatesRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID limits the result to the project; used with OrgID`,
        },
        {
            Name:          "IKID",
            FullName:      "privpb.ListAllCertificatesRequest.IKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IKID filters by issuer`,
        },
        {
            Name:          "Profile",
            FullName:      "privpb.ListAllCertificatesRequest.Profile",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Profile filters by profile label`,
        },
        {
            Name:            "Status",
            FullName:        "privpb.ListAllCertificatesRequest.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.CertificateStatus_Enum_EnumDescription,
            Documentation:   `Status filters by status; Unknown returns all`,
        },
        {
            Name:          "ExpiringBefore",
            FullName:      "privpb.ListAllCertificatesRequest.ExpiringBefore",
            Display:       "Expiring Before",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ExpiringBefore filters certificates with NotAfter before the time,
in RFC3339 format`,
        },
    },
}

var ListAllIssuersRequest_MessageDescription = &api.MessageDescription{
    Name:          "ListAllIssuersRequest",
    Display:       "List All Issuers Request",
    FullName:      "privpb.ListAllIssuersRequest",
    Documentation: `ListAllIssuersRequest specifies a paginated list of issuers across orgs`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Limit",
            FullName:      "privpb.ListAllIssuersRequest.Limit",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Limit specifies maximum number of records to return`,
        },
        {
            Name:          "Offset",
            FullName:      "privpb.ListAllIssuersRequest.Offset",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Offset specifies offset for the offset-based pagination`,
        },
        {
            Name:          "Cursor",
            FullName:      "privpb.ListAllIssuersRequest.Cursor",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Cursor specifies cursor for the cursor-based pagination.
Use "initial" to start the pagination or pass the cursor returned from
the previous request.`,
        },
        {
            Name:          "OrgID",
            FullName:      "privpb.ListAllIssuersRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OrgID limits the result to the org. Empty lists the issuers of every
org and of the platform, or of the platform only with Platform.`,
        },
        {
            Name:          "Platform",
            FullName:      "privpb.ListAllIssuersRequest.Platform",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Platform limits the result to the platform issuers (no org) when
OrgID is empty`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.ListAllIssuersRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID limits the result to the project; used with OrgID`,
        },
        {
            Name:          "Label",
            FullName:      "privpb.ListAllIssuersRequest.Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Label limits the result to the issuers with the label, in every scope
the list covers`,
        },
        {
            Name:            "Status",
            FullName:        "privpb.ListAllIssuersRequest.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.IssuerStatus_Enum_EnumDescription,
            Documentation:   `Status filters by lifecycle status; Unknown returns all`,
        },
        {
            Name:            "Type",
            FullName:        "privpb.ListAllIssuersRequest.Type",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.AuthorityType_Enum_EnumDescription,
            Documentation:   `Type filters by authority type; Unknown returns all`,
        },
        {
            Name:          "IDs",
            FullName:      "privpb.ListAllIssuersRequest.IDs",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IDs limits the result to the issuers with the IDs, at most 500`,
        },
        {
            Name:          "IKIDs",
            FullName:      "privpb.ListAllIssuersRequest.IKIDs",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IKIDs limits the result to the issuers with the key identifiers (the
SKID of the issuer, the IKID of the certificates it issued), at most
500`,
        },
    },
}

var ListCertificatesRequest_MessageDescription = &api.MessageDescription{
    Name:     "ListCertificatesRequest",
    Display:  "List Certificates Request",
    FullName: "privpb.ListCertificatesRequest",
    Documentation: `ListCertificatesRequest specifies a paginated list of certificates,
sorted by ID descending (newest first)
with the org named explicitly: the request of Backend.ListCertificates`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.ListCertificatesRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.ListCertificatesRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID filters by project; empty returns org-wide and all project
certificates`,
        },
        {
            Name:          "IKID",
            FullName:      "privpb.ListCertificatesRequest.IKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IKID filters by issuer`,
        },
        {
            Name:          "Profile",
            FullName:      "privpb.ListCertificatesRequest.Profile",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Profile filters by profile label`,
        },
        {
            Name:            "Status",
            FullName:        "privpb.ListCertificatesRequest.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.CertificateStatus_Enum_EnumDescription,
            Documentation:   `Status filters by status; Unknown returns all`,
        },
        {
            Name:          "ExpiringBefore",
            FullName:      "privpb.ListCertificatesRequest.ExpiringBefore",
            Display:       "Expiring Before",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ExpiringBefore filters certificates with NotAfter before the time,
in RFC3339 format`,
        },
        {
            Name:          "Limit",
            FullName:      "privpb.ListCertificatesRequest.Limit",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Limit specifies maximum number of records to return`,
        },
        {
            Name:          "Offset",
            FullName:      "privpb.ListCertificatesRequest.Offset",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Offset specifies offset for the offset-based pagination`,
        },
        {
            Name:          "Cursor",
            FullName:      "privpb.ListCertificatesRequest.Cursor",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Cursor specifies cursor for the cursor-based pagination.
Use "initial" to start the pagination or pass the cursor returned from
the previous request.`,
        },
    },
}

var ListIssuersRequest_MessageDescription = &api.MessageDescription{
    Name:     "ListIssuersRequest",
    Display:  "List Issuers Request",
    FullName: "privpb.ListIssuersRequest",
    Documentation: `ListIssuersRequest specifies a paginated list of issuers
with the org named explicitly: the request of Backend.ListIssuers`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.ListIssuersRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.ListIssuersRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID filters by project; empty returns org-wide and all project
issuers`,
        },
        {
            Name:            "Status",
            FullName:        "privpb.ListIssuersRequest.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.IssuerStatus_Enum_EnumDescription,
            Documentation:   `Status filters by status; Unknown returns all`,
        },
        {
            Name:            "Type",
            FullName:        "privpb.ListIssuersRequest.Type",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.AuthorityType_Enum_EnumDescription,
            Documentation:   `Type filters by authority type; Unknown returns all`,
        },
        {
            Name:          "Limit",
            FullName:      "privpb.ListIssuersRequest.Limit",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Limit specifies maximum number of records to return`,
        },
        {
            Name:          "Offset",
            FullName:      "privpb.ListIssuersRequest.Offset",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Offset specifies offset for the offset-based pagination`,
        },
        {
            Name:          "Cursor",
            FullName:      "privpb.ListIssuersRequest.Cursor",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Cursor specifies cursor for the cursor-based pagination.
Use "initial" to start the pagination or pass the cursor returned from
the previous request.`,
        },
        {
            Name:          "IDs",
            FullName:      "privpb.ListIssuersRequest.IDs",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IDs limits the result to the issuers with the IDs, at most 500`,
        },
        {
            Name:          "IKIDs",
            FullName:      "privpb.ListIssuersRequest.IKIDs",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IKIDs limits the result to the issuers with the key identifiers (the
SKID of the issuer, the IKID of the certificates it issued), at most
500`,
        },
    },
}

var ListOrgsRequest_MessageDescription = &api.MessageDescription{
    Name:          "ListOrgsRequest",
    Display:       "List Orgs Request",
    FullName:      "privpb.ListOrgsRequest",
    Documentation: `ListOrgsRequest specifies list orgs request`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Limit",
            FullName:      "privpb.ListOrgsRequest.Limit",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Limit specifies maximum number of records to return`,
        },
        {
            Name:          "Offset",
            FullName:      "privpb.ListOrgsRequest.Offset",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Offset specifies offset for the offset-based pagination.
Which is limited to 10000.
To paginate for large number of records, use cursor-based pagination
instead.`,
        },
        {
            Name:          "Cursor",
            FullName:      "privpb.ListOrgsRequest.Cursor",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Cursor specifies cursor for the cursor-based pagination.
Use "initial" to start the pagination or pass the cursor returned from
the previous request.`,
        },
        {
            Name:            "Status",
            FullName:        "privpb.ListOrgsRequest.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.ItemStatus_Enum_EnumDescription,
            Documentation: `Status specifies on optional status of the item to filter by.
If not specified, all items will be listed.`,
        },
    },
}

var ListProfilesRequest_MessageDescription = &api.MessageDescription{
    Name:     "ListProfilesRequest",
    Display:  "List Profiles Request",
    FullName: "privpb.ListProfilesRequest",
    Documentation: `ListProfilesRequest specifies a paginated list of profiles
with the org named explicitly: the request of Backend.ListProfiles`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.ListProfilesRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.ListProfilesRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID filters by project; empty returns org-wide and all project
profiles`,
        },
        {
            Name:          "IssuerLabel",
            FullName:      "privpb.ListProfilesRequest.IssuerLabel",
            Display:       "Issuer Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IssuerLabel filters by issuer label`,
        },
        {
            Name:          "Limit",
            FullName:      "privpb.ListProfilesRequest.Limit",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Limit specifies maximum number of records to return`,
        },
        {
            Name:          "Offset",
            FullName:      "privpb.ListProfilesRequest.Offset",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Offset specifies offset for the offset-based pagination`,
        },
        {
            Name:          "Cursor",
            FullName:      "privpb.ListProfilesRequest.Cursor",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Cursor specifies cursor for the cursor-based pagination`,
        },
        {
            Name:          "IDs",
            FullName:      "privpb.ListProfilesRequest.IDs",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IDs limits the result to the profiles with the IDs, at most 500`,
        },
        {
            Name:          "Labels",
            FullName:      "privpb.ListProfilesRequest.Labels",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Labels limits the result to the profiles with the labels, in every
scope the request covers, at most 500`,
        },
    },
}

var ListProjectsRequest_MessageDescription = &api.MessageDescription{
    Name:          "ListProjectsRequest",
    Display:       "List Projects Request",
    FullName:      "privpb.ListProjectsRequest",
    Documentation: `ListProjectsRequest specifies list projects request`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Limit",
            FullName:      "privpb.ListProjectsRequest.Limit",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Limit specifies maximum number of records to return`,
        },
        {
            Name:          "Offset",
            FullName:      "privpb.ListProjectsRequest.Offset",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Offset specifies offset for the offset-based pagination.
Which is limited to 10000.
To paginate for large number of records, use cursor-based pagination
instead.`,
        },
        {
            Name:          "Cursor",
            FullName:      "privpb.ListProjectsRequest.Cursor",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Cursor specifies cursor for the cursor-based pagination.
Use "initial" to start the pagination or pass the cursor returned from
the previous request.`,
        },
        {
            Name:            "Status",
            FullName:        "privpb.ListProjectsRequest.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.ItemStatus_Enum_EnumDescription,
            Documentation: `Status specifies on optional status of the item to filter by.
If not specified, all items will be listed.`,
        },
        {
            Name:          "OrgID",
            FullName:      "privpb.ListProjectsRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OrgID specifies optional org ID to filter by.`,
        },
    },
}

var ListRevokedCertificatesRequest_MessageDescription = &api.MessageDescription{
    Name:     "ListRevokedCertificatesRequest",
    Display:  "List Revoked Certificates Request",
    FullName: "privpb.ListRevokedCertificatesRequest",
    Documentation: `ListRevokedCertificatesRequest specifies a paginated list of revoked
certificates, sorted by revocation ID descending
with the org named explicitly: the request of Backend.ListRevokedCertificates`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.ListRevokedCertificatesRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.ListRevokedCertificatesRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID filters by project`,
        },
        {
            Name:          "IKID",
            FullName:      "privpb.ListRevokedCertificatesRequest.IKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IKID filters by issuer`,
        },
        {
            Name:          "Limit",
            FullName:      "privpb.ListRevokedCertificatesRequest.Limit",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Limit specifies maximum number of records to return`,
        },
        {
            Name:          "Offset",
            FullName:      "privpb.ListRevokedCertificatesRequest.Offset",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Offset specifies offset for the offset-based pagination`,
        },
        {
            Name:          "Cursor",
            FullName:      "privpb.ListRevokedCertificatesRequest.Cursor",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Cursor specifies cursor for the cursor-based pagination`,
        },
    },
}

var ListRootsRequest_MessageDescription = &api.MessageDescription{
    Name:     "ListRootsRequest",
    Display:  "List Roots Request",
    FullName: "privpb.ListRootsRequest",
    Documentation: `ListRootsRequest specifies a list of trust anchors
with the org named explicitly: the request of Backend.ListRoots`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.ListRootsRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OrgID of the org; empty lists the platform anchors, for a service
identity only`,
        },
        {
            Name:          "Limit",
            FullName:      "privpb.ListRootsRequest.Limit",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Limit specifies maximum number of records to return`,
        },
        {
            Name:          "Offset",
            FullName:      "privpb.ListRootsRequest.Offset",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Offset specifies offset for the offset-based pagination`,
        },
        {
            Name:          "Cursor",
            FullName:      "privpb.ListRootsRequest.Cursor",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Cursor specifies cursor for the cursor-based pagination`,
        },
    },
}

var NextPage_MessageDescription = &api.MessageDescription{
    Name:          "NextPage",
    Display:       "Next Page",
    FullName:      "pb.NextPage",
    Documentation: `NextPage specifies pagination information, if there are more pages to fetch.`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Offset",
            FullName:      "pb.NextPage.Offset",
            Type:          "uint32",
            SearchType:    "integer",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Offset is the offset of the next page for offset-based pagination.
Offset is limited to 10000.
To paginate for large number of records, use cursor-based pagination
instead.`,
        },
        {
            Name:          "Cursor",
            FullName:      "pb.NextPage.Cursor",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Cursor is the cursor of the next page for cursor-based pagination.
Use "initial" to start the pagination or pass the cursor returned from
this response.`,
        },
    },
}

var OCSPRequest_MessageDescription = &api.MessageDescription{
    Name:          "OCSPRequest",
    Display:       "OCSP Request",
    FullName:      "pb.OCSPRequest",
    Documentation: `OCSPRequest provides DER encoded OCSP request`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Der",
            FullName:      "pb.OCSPRequest.Der",
            Type:          "[]byte",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `Der provides DER encoded request`,
        },
    },
}

var OCSPResponse_MessageDescription = &api.MessageDescription{
    Name:          "OCSPResponse",
    Display:       "OCSP Response",
    FullName:      "pb.OCSPResponse",
    Documentation: `OCSPResponse returns DER encoded OCSP response`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Der",
            FullName:      "pb.OCSPResponse.Der",
            Type:          "[]byte",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Der provides DER encoded response`,
        },
    },
}

var Org_MessageDescription = &api.MessageDescription{
    Name:     "Org",
    FullName: "pb.Org",
    Fields: []*api.FieldMeta{
        {
            Name:          "ID",
            FullName:      "pb.Org.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Alias",
            FullName:      "pb.Org.Alias",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Name",
            FullName:      "pb.Org.Name",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Description",
            FullName:      "pb.Org.Description",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "CreatedAt",
            FullName:      "pb.Org.CreatedAt",
            Display:       "Created At",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:            "Status",
            FullName:        "pb.Org.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.ItemStatus_Enum_EnumDescription,
        },
    },
}

var OrgsResponse_MessageDescription = &api.MessageDescription{
    Name:     "OrgsResponse",
    Display:  "Orgs Response",
    FullName: "pb.OrgsResponse",
    Fields: []*api.FieldMeta{
        {
            Name:       "Orgs",
            FullName:   "pb.OrgsResponse.Orgs",
            Type:       "[]struct",
            StructName: "pb.Org",
            SearchType: "flat_object",
        },
        {
            Name:       "NextPage",
            FullName:   "pb.OrgsResponse.NextPage",
            Display:    "Next Page",
            Type:       "struct",
            StructName: "pb.NextPage",
            SearchType: "flat_object",
            Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
        },
    },
}

var ProfilesResponse_MessageDescription = &api.MessageDescription{
    Name:          "ProfilesResponse",
    Display:       "Profiles Response",
    FullName:      "pb.ProfilesResponse",
    Documentation: `ProfilesResponse returns list of profiles`,
    Fields: []*api.FieldMeta{
        {
            Name:       "Profiles",
            FullName:   "pb.ProfilesResponse.Profiles",
            Type:       "[]struct",
            StructName: "pb.CertProfile",
            SearchType: "flat_object",
        },
        {
            Name:       "NextPage",
            FullName:   "pb.ProfilesResponse.NextPage",
            Display:    "Next Page",
            Type:       "struct",
            StructName: "pb.NextPage",
            SearchType: "flat_object",
            Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
        },
    },
}

var Project_MessageDescription = &api.MessageDescription{
    Name:          "Project",
    FullName:      "pb.Project",
    Documentation: `Project owns a collection of resources governed by a common access policy`,
    Fields: []*api.FieldMeta{
        {
            Name:          "ID",
            FullName:      "pb.Project.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "OrgID",
            FullName:      "pb.Project.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Alias",
            FullName:      "pb.Project.Alias",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Alias is a stable, org-unique identifier chosen by the client,
e.g. a cloud account ID or a slug`,
        },
        {
            Name:          "Name",
            FullName:      "pb.Project.Name",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Description",
            FullName:      "pb.Project.Description",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:            "Status",
            FullName:        "pb.Project.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.ItemStatus_Enum_EnumDescription,
        },
        {
            Name:          "CreatedAt",
            FullName:      "pb.Project.CreatedAt",
            Display:       "Created At",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "UpdatedAt",
            FullName:      "pb.Project.UpdatedAt",
            Display:       "Updated At",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
    },
}

var ProjectsResponse_MessageDescription = &api.MessageDescription{
    Name:          "ProjectsResponse",
    Display:       "Projects Response",
    FullName:      "pb.ProjectsResponse",
    Documentation: `ProjectsResponse returns list of projects`,
    Fields: []*api.FieldMeta{
        {
            Name:       "Projects",
            FullName:   "pb.ProjectsResponse.Projects",
            Type:       "[]struct",
            StructName: "pb.Project",
            SearchType: "flat_object",
        },
        {
            Name:       "NextPage",
            FullName:   "pb.ProjectsResponse.NextPage",
            Display:    "Next Page",
            Type:       "struct",
            StructName: "pb.NextPage",
            SearchType: "flat_object",
            Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
        },
    },
}

var PublishCrlsRequest_MessageDescription = &api.MessageDescription{
    Name:     "PublishCrlsRequest",
    Display:  "Publish Crls Request",
    FullName: "privpb.PublishCrlsRequest",
    Documentation: `PublishCrlsRequest allows to publish CRLs on demand
with the org named explicitly: the request of Backend.PublishCrls`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.PublishCrlsRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OrgID of the org; empty publishes for every org and the platform,
for a service identity only`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.PublishCrlsRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `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.`,
        },
        {
            Name:          "IKID",
            FullName:      "privpb.PublishCrlsRequest.IKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IKID specifies Issuer Key ID; empty to publish for all issuers in scope`,
        },
        {
            Name:          "Force",
            FullName:      "privpb.PublishCrlsRequest.Force",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Force specifies to publish even if the current CRL is not due for renewal`,
        },
    },
}

var RegisterIssuerRequest_MessageDescription = &api.MessageDescription{
    Name:     "RegisterIssuerRequest",
    Display:  "Register Issuer Request",
    FullName: "privpb.RegisterIssuerRequest",
    Documentation: `RegisterIssuerRequest specifies a request to create a new issuer
with the org named explicitly: the request of Backend.RegisterIssuer`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.RegisterIssuerRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.RegisterIssuerRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID of the owning project; empty for an org-wide issuer`,
        },
        {
            Name:          "Label",
            FullName:      "privpb.RegisterIssuerRequest.Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Max:           64,
            Documentation: `Label of the issuer, unique per (Org, Project)`,
        },
        {
            Name:            "Type",
            FullName:        "privpb.RegisterIssuerRequest.Type",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.AuthorityType_Enum_EnumDescription,
            Required:        true,
            Documentation:   `Type of the authority`,
        },
        {
            Name:          "Subject",
            FullName:      "privpb.RegisterIssuerRequest.Subject",
            Type:          "struct",
            StructName:    "pb.X509Subject",
            SearchType:    "flat_object",
            Required:      true,
            Documentation: `Subject of the issuer certificate`,
        },
        {
            Name:          "KeySpec",
            FullName:      "privpb.RegisterIssuerRequest.KeySpec",
            Display:       "Key Spec",
            Type:          "struct",
            StructName:    "pb.KeySpec",
            SearchType:    "flat_object",
            Documentation: `KeySpec of the key to generate; defaults to ECDSA P-256`,
        },
        {
            Name:          "KeyProvider",
            FullName:      "privpb.RegisterIssuerRequest.KeyProvider",
            Display:       "Key Provider",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `KeyProvider selects the crypto provider; empty for the server default`,
        },
        {
            Name:          "ParentID",
            FullName:      "privpb.RegisterIssuerRequest.ParentID",
            Display:       "Parent ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `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.`,
        },
        {
            Name:          "Profile",
            FullName:      "privpb.RegisterIssuerRequest.Profile",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Profile specifies the CA profile the parent uses to sign the issuer
certificate. Required when ParentID is set or Type is Root.`,
        },
        {
            Name:          "Config",
            FullName:      "privpb.RegisterIssuerRequest.Config",
            Type:          "struct",
            StructName:    "pb.IssuerConfig",
            SearchType:    "flat_object",
            Documentation: `Config provides runtime settings`,
        },
        {
            Name:          "SAN",
            FullName:      "privpb.RegisterIssuerRequest.SAN",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `SAN specifies Subject Alternative Names for the issuer certificate`,
        },
        {
            Name:          "Extensions",
            FullName:      "privpb.RegisterIssuerRequest.Extensions",
            Type:          "[]struct",
            StructName:    "pb.X509Extension",
            SearchType:    "flat_object",
            Documentation: `Extensions specifies additional extensions for the issuer certificate`,
        },
    },
}

var RegisterProfileRequest_MessageDescription = &api.MessageDescription{
    Name:     "RegisterProfileRequest",
    Display:  "Register Profile Request",
    FullName: "privpb.RegisterProfileRequest",
    Documentation: `RegisterProfileRequest creates or replaces a profile
with the org named explicitly: the request of Backend.RegisterProfile`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.RegisterProfileRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.RegisterProfileRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID of the owning project; empty for an org-wide profile`,
        },
        {
            Name:       "Profile",
            FullName:   "privpb.RegisterProfileRequest.Profile",
            Type:       "struct",
            StructName: "pb.CertProfile",
            SearchType: "flat_object",
            Required:   true,
            Documentation: `Profile provides the profile definition.
Profile.Label and Profile.IssuerLabel are required.`,
        },
    },
}

var RegisterRootRequest_MessageDescription = &api.MessageDescription{
    Name:     "RegisterRootRequest",
    Display:  "Register Root Request",
    FullName: "privpb.RegisterRootRequest",
    Documentation: `RegisterRootRequest registers an external trust anchor
with the org named explicitly: the request of Backend.RegisterRoot`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.RegisterRootRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "Pem",
            FullName:      "privpb.RegisterRootRequest.Pem",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `Pem encoded root certificate`,
        },
        {
            Name:            "Trust",
            FullName:        "privpb.RegisterRootRequest.Trust",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.Trust_Enum_EnumDescription,
            Documentation:   `Trust scope`,
        },
    },
}

var RevokeCertificateRequest_MessageDescription = &api.MessageDescription{
    Name:     "RevokeCertificateRequest",
    Display:  "Revoke Certificate Request",
    FullName: "privpb.RevokeCertificateRequest",
    Documentation: `RevokeCertificateRequest specifies revocation request
with the org named explicitly: the request of Backend.RevokeCertificate`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.RevokeCertificateRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ID",
            FullName:      "privpb.RevokeCertificateRequest.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"SKID", "IssuerSerial"},
            Documentation: `ID specifies certificate ID`,
        },
        {
            Name:          "SKID",
            FullName:      "privpb.RevokeCertificateRequest.SKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            RequiredOr:    []string{"ID", "IssuerSerial"},
            Documentation: `SKID specifies Subject Key ID to search`,
        },
        {
            Name:          "IssuerSerial",
            FullName:      "privpb.RevokeCertificateRequest.IssuerSerial",
            Display:       "Issuer Serial",
            Type:          "struct",
            StructName:    "pb.IssuerSerial",
            SearchType:    "flat_object",
            RequiredOr:    []string{"ID", "SKID"},
            Documentation: `IssuerSerial specifies Issuer Key ID and certificate serial number`,
        },
        {
            Name:            "Reason",
            FullName:        "privpb.RevokeCertificateRequest.Reason",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.ReasonCode_Enum_EnumDescription,
            Documentation: `Reason for revocation; RemoveFromCRL is refused, since it releases a
certificate from hold instead of revoking it`,
        },
        {
            Name:          "ReasonText",
            FullName:      "privpb.RevokeCertificateRequest.ReasonText",
            Display:       "Reason Text",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Max:           260,
            Documentation: `ReasonText provides optional free-form revocation note`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.RevokeCertificateRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `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.`,
        },
    },
}

var RevokedCertificateResponse_MessageDescription = &api.MessageDescription{
    Name:          "RevokedCertificateResponse",
    Display:       "Revoked Certificate Response",
    FullName:      "pb.RevokedCertificateResponse",
    Documentation: `RevokedCertificateResponse returns Revoked Certificate`,
    Fields: []*api.FieldMeta{
        {
            Name:       "Revoked",
            FullName:   "pb.RevokedCertificateResponse.Revoked",
            Type:       "struct",
            StructName: "pb.RevokedCertificate",
            SearchType: "flat_object",
        },
    },
}

var RevokedCertificate_MessageDescription = &api.MessageDescription{
    Name:          "RevokedCertificate",
    Display:       "Revoked Certificate",
    FullName:      "pb.RevokedCertificate",
    Documentation: `RevokedCertificate provides revoked X509 Certificate information`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Certificate",
            FullName:      "pb.RevokedCertificate.Certificate",
            Type:          "struct",
            StructName:    "pb.Certificate",
            SearchType:    "flat_object",
            Documentation: `Certificate provides the revoked certificate`,
        },
        {
            Name:          "RevokedAt",
            FullName:      "pb.RevokedCertificate.RevokedAt",
            Display:       "Revoked At",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `RevokedAt is the revocation time in RFC3339 format`,
        },
        {
            Name:            "Reason",
            FullName:        "pb.RevokedCertificate.Reason",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.ReasonCode_Enum_EnumDescription,
            Documentation:   `Reason of the revocation`,
        },
        {
            Name:          "ReasonText",
            FullName:      "pb.RevokedCertificate.ReasonText",
            Display:       "Reason Text",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ReasonText provides optional free-form revocation note`,
        },
    },
}

var RevokedCertificatesResponse_MessageDescription = &api.MessageDescription{
    Name:          "RevokedCertificatesResponse",
    Display:       "Revoked Certificates Response",
    FullName:      "pb.RevokedCertificatesResponse",
    Documentation: `RevokedCertificatesResponse returns Revoked Certificates list`,
    Fields: []*api.FieldMeta{
        {
            Name:       "RevokedCertificates",
            FullName:   "pb.RevokedCertificatesResponse.RevokedCertificates",
            Display:    "Revoked Certificates",
            Type:       "[]struct",
            StructName: "pb.RevokedCertificate",
            SearchType: "flat_object",
        },
        {
            Name:       "NextPage",
            FullName:   "pb.RevokedCertificatesResponse.NextPage",
            Display:    "Next Page",
            Type:       "struct",
            StructName: "pb.NextPage",
            SearchType: "flat_object",
            Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
        },
    },
}

var RootCertificate_MessageDescription = &api.MessageDescription{
    Name:          "RootCertificate",
    Display:       "Root Certificate",
    FullName:      "pb.RootCertificate",
    Documentation: `RootCertificate provides X509 Root Certificate information`,
    Fields: []*api.FieldMeta{
        {
            Name:          "ID",
            FullName:      "pb.RootCertificate.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ID of the root certificate`,
        },
        {
            Name:          "OrgID",
            FullName:      "pb.RootCertificate.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `OrgID of the owning org; empty for platform roots`,
        },
        {
            Name:          "SKID",
            FullName:      "pb.RootCertificate.SKID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `SKID provides Subject Key Identifier`,
        },
        {
            Name:          "NotBefore",
            FullName:      "pb.RootCertificate.NotBefore",
            Display:       "Not Before",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `NotBefore is the time when the validity period starts in RFC3339 format`,
        },
        {
            Name:          "NotAfter",
            FullName:      "pb.RootCertificate.NotAfter",
            Display:       "Not After",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `NotAfter is the time when the validity period ends in RFC3339 format`,
        },
        {
            Name:          "Subject",
            FullName:      "pb.RootCertificate.Subject",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Subject name`,
        },
        {
            Name:          "Sha256",
            FullName:      "pb.RootCertificate.Sha256",
            Display:       "Sha 256",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Sha256 thumbprint of the cert`,
        },
        {
            Name:            "Trust",
            FullName:        "pb.RootCertificate.Trust",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.Trust_Enum_EnumDescription,
            Documentation:   `Trust scope`,
        },
        {
            Name:          "Pem",
            FullName:      "pb.RootCertificate.Pem",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Pem encoded certificate`,
        },
        {
            Name:          "CreatedAt",
            FullName:      "pb.RootCertificate.CreatedAt",
            Display:       "Created At",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `CreatedAt is the registration time in RFC3339 format`,
        },
    },
}

var RootsResponse_MessageDescription = &api.MessageDescription{
    Name:          "RootsResponse",
    Display:       "Roots Response",
    FullName:      "pb.RootsResponse",
    Documentation: `RootsResponse returns Root Certificates`,
    Fields: []*api.FieldMeta{
        {
            Name:       "Roots",
            FullName:   "pb.RootsResponse.Roots",
            Type:       "[]struct",
            StructName: "pb.RootCertificate",
            SearchType: "flat_object",
        },
        {
            Name:       "NextPage",
            FullName:   "pb.RootsResponse.NextPage",
            Display:    "Next Page",
            Type:       "struct",
            StructName: "pb.NextPage",
            SearchType: "flat_object",
            Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
        },
    },
}

var SignCertificateRequest_MessageDescription = &api.MessageDescription{
    Name:     "SignCertificateRequest",
    Display:  "Sign Certificate Request",
    FullName: "privpb.SignCertificateRequest",
    Documentation: `SignCertificateRequest specifies certificate sign request
with the org named explicitly: the request of Backend.SignCertificate`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.SignCertificateRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.SignCertificateRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ProjectID of the owning project; recorded on the certificate and used to
resolve project-scoped profiles and issuers`,
        },
        {
            Name:          "Profile",
            FullName:      "privpb.SignCertificateRequest.Profile",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `Profile specifies the certificate profile label`,
        },
        {
            Name:          "IssuerLabel",
            FullName:      "privpb.SignCertificateRequest.IssuerLabel",
            Display:       "Issuer Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `IssuerLabel selects the issuer when the profile binds to "*";
otherwise it must match the profile's issuer`,
        },
        {
            Name:            "RequestFormat",
            FullName:        "privpb.SignCertificateRequest.RequestFormat",
            Display:         "Request Format",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.EncodingFormat_Enum_EnumDescription,
            Documentation:   `RequestFormat provides the certificate request format: PEM or DER`,
        },
        {
            Name:          "Request",
            FullName:      "privpb.SignCertificateRequest.Request",
            Type:          "[]byte",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `Request provides the PKCS#10 certificate request`,
        },
        {
            Name:          "SAN",
            FullName:      "privpb.SignCertificateRequest.SAN",
            Type:          "[]string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `SAN specifies Subject Alternative Names to add or override`,
        },
        {
            Name:          "Subject",
            FullName:      "privpb.SignCertificateRequest.Subject",
            Type:          "struct",
            StructName:    "pb.X509Subject",
            SearchType:    "flat_object",
            Documentation: `Subject overrides the subject name from the request`,
        },
        {
            Name:          "NotBefore",
            FullName:      "privpb.SignCertificateRequest.NotBefore",
            Display:       "Not Before",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `NotBefore overrides the validity start in RFC3339 format;
no backdate is applied when provided`,
        },
        {
            Name:          "NotAfter",
            FullName:      "privpb.SignCertificateRequest.NotAfter",
            Display:       "Not After",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `NotAfter overrides the validity end in RFC3339 format;
it must not exceed the profile expiry`,
        },
        {
            Name:       "Extensions",
            FullName:   "privpb.SignCertificateRequest.Extensions",
            Type:       "[]struct",
            StructName: "pb.X509Extension",
            SearchType: "flat_object",
            Documentation: `Extensions specifies additional extensions to include, subject to the
profile's AllowedExtensions`,
        },
        {
            Name:          "Label",
            FullName:      "privpb.SignCertificateRequest.Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Max:           260,
            Documentation: `Label is provided by the client for search and display`,
        },
        {
            Name:          "Metadata",
            FullName:      "privpb.SignCertificateRequest.Metadata",
            Type:          "map",
            StructName:    "privpb.SignCertificateRequest.MetadataEntry",
            SearchType:    "flat_object",
            Documentation: `Metadata is provided by the client`,
        },
    },
}

var SignCertificateRequest_MetadataEntry_MessageDescription = &api.MessageDescription{
    Name:     "SignCertificateRequest_MetadataEntry",
    Display:  "Metadata Entry",
    FullName: "privpb.SignCertificateRequest.MetadataEntry",
    Fields: []*api.FieldMeta{
        {
            Name:          "Key",
            FullName:      "privpb.SignCertificateRequest.MetadataEntry.Key",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
        },
        {
            Name:          "Value",
            FullName:      "privpb.SignCertificateRequest.MetadataEntry.Value",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
        },
    },
}

var SummaryResponse_MessageDescription = &api.MessageDescription{
    Name:     "SummaryResponse",
    Display:  "Summary Response",
    FullName: "pb.SummaryResponse",
    Documentation: `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.`,
    Fields: []*api.FieldMeta{
        {
            Name:          "At",
            FullName:      "pb.SummaryResponse.At",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `At is the time of the counts, RFC3339`,
        },
        {
            Name:       "Issuers",
            FullName:   "pb.SummaryResponse.Issuers",
            Type:       "[]struct",
            StructName: "pb.IssuerStatusCount",
            SearchType: "flat_object",
            Documentation: `Issuers counts the issuers by lifecycle status; every status is
reported, with a zero count when the scope has none`,
        },
        {
            Name:       "Certificates",
            FullName:   "pb.SummaryResponse.Certificates",
            Type:       "[]struct",
            StructName: "pb.CertificateStatusCount",
            SearchType: "flat_object",
            Documentation: `Certificates counts the certificates by status; every status is
reported, with a zero count when the scope has none`,
        },
        {
            Name:       "Expiring",
            FullName:   "pb.SummaryResponse.Expiring",
            Type:       "[]struct",
            StructName: "pb.ExpiryBucket",
            SearchType: "flat_object",
            Documentation: `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.`,
        },
        {
            Name:          "Crls",
            FullName:      "pb.SummaryResponse.Crls",
            Type:          "struct",
            StructName:    "pb.CrlCounts",
            SearchType:    "flat_object",
            Documentation: `Crls counts the issuers that publish CRLs by the state of their CRL`,
        },
    },
}

var UpdateCertificateLabelRequest_MessageDescription = &api.MessageDescription{
    Name:     "UpdateCertificateLabelRequest",
    Display:  "Update Certificate Label Request",
    FullName: "privpb.UpdateCertificateLabelRequest",
    Documentation: `UpdateCertificateLabelRequest specifies certificate label update request
with the org named explicitly: the request of Backend.UpdateCertificateLabel`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.UpdateCertificateLabelRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ID",
            FullName:      "privpb.UpdateCertificateLabelRequest.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `ID specifies certificate ID`,
        },
        {
            Name:          "Label",
            FullName:      "privpb.UpdateCertificateLabelRequest.Label",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Max:           260,
            Documentation: `Label is provided by the client`,
        },
        {
            Name:          "Metadata",
            FullName:      "privpb.UpdateCertificateLabelRequest.Metadata",
            Type:          "map",
            StructName:    "privpb.UpdateCertificateLabelRequest.MetadataEntry",
            SearchType:    "flat_object",
            Documentation: `Metadata replaces the client metadata when provided`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.UpdateCertificateLabelRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `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.`,
        },
    },
}

var UpdateCertificateLabelRequest_MetadataEntry_MessageDescription = &api.MessageDescription{
    Name:     "UpdateCertificateLabelRequest_MetadataEntry",
    Display:  "Metadata Entry",
    FullName: "privpb.UpdateCertificateLabelRequest.MetadataEntry",
    Fields: []*api.FieldMeta{
        {
            Name:          "Key",
            FullName:      "privpb.UpdateCertificateLabelRequest.MetadataEntry.Key",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
        },
        {
            Name:          "Value",
            FullName:      "privpb.UpdateCertificateLabelRequest.MetadataEntry.Value",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
        },
    },
}

var UpdateIssuerRequest_MessageDescription = &api.MessageDescription{
    Name:     "UpdateIssuerRequest",
    Display:  "Update Issuer Request",
    FullName: "privpb.UpdateIssuerRequest",
    Documentation: `UpdateIssuerRequest updates issuer config or status
with the org named explicitly: the request of Backend.UpdateIssuer`,
    Fields: []*api.FieldMeta{
        {
            Name:          "OrgID",
            FullName:      "privpb.UpdateIssuerRequest.OrgID",
            Display:       "Org ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `OrgID of the owning org: the org of the token of the caller the CA
service forwards, or the org a service identity names`,
        },
        {
            Name:          "ID",
            FullName:      "privpb.UpdateIssuerRequest.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Required:      true,
            Documentation: `ID of the issuer`,
        },
        {
            Name:          "Config",
            FullName:      "privpb.UpdateIssuerRequest.Config",
            Type:          "struct",
            StructName:    "pb.IssuerConfig",
            SearchType:    "flat_object",
            Documentation: `Config replaces runtime settings when provided`,
        },
        {
            Name:            "Status",
            FullName:        "privpb.UpdateIssuerRequest.Status",
            Type:            "int32",
            SearchType:      "integer",
            SearchOptions:   api.SearchOption_Sortable,
            EnumDescription: pb.IssuerStatus_Enum_EnumDescription,
            Documentation:   `Status changes the status when provided: Archived or Destroyed`,
        },
        {
            Name:          "ProjectID",
            FullName:      "privpb.UpdateIssuerRequest.ProjectID",
            Display:       "Project ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `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.`,
        },
    },
}

var X509Extension_MessageDescription = &api.MessageDescription{
    Name:          "X509Extension",
    Display:       "X509 Extension",
    FullName:      "pb.X509Extension",
    Documentation: `X509Extension represents a raw extension to be included in the certificate.`,
    Fields: []*api.FieldMeta{
        {
            Name:          "ID",
            FullName:      "pb.X509Extension.ID",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `ID is the extension OID in dotted notation, e.g. 2.5.29.31`,
        },
        {
            Name:          "Critical",
            FullName:      "pb.X509Extension.Critical",
            Type:          "bool",
            SearchType:    "boolean",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Critical flag`,
        },
        {
            Name:          "Value",
            FullName:      "pb.X509Extension.Value",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
            Documentation: `Value is hex or base64 encoded DER value of the extension`,
        },
    },
}

var X509Name_MessageDescription = &api.MessageDescription{
    Name:          "X509Name",
    Display:       "X509 Name",
    FullName:      "pb.X509Name",
    Documentation: `X509Name specifies X509 Name`,
    Fields: []*api.FieldMeta{
        {
            Name:          "Country",
            FullName:      "pb.X509Name.Country",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "State",
            FullName:      "pb.X509Name.State",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Locality",
            FullName:      "pb.X509Name.Locality",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "Organisation",
            FullName:      "pb.X509Name.Organisation",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "OrganisationalUnit",
            FullName:      "pb.X509Name.OrganisationalUnit",
            Display:       "Organisational Unit",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:          "SerialNumber",
            FullName:      "pb.X509Name.SerialNumber",
            Display:       "Serial Number",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
    },
}

var X509Subject_MessageDescription = &api.MessageDescription{
    Name:          "X509Subject",
    Display:       "X509 Subject",
    FullName:      "pb.X509Subject",
    Documentation: `X509Subject specifies X509 Subject`,
    Fields: []*api.FieldMeta{
        {
            Name:          "CommonName",
            FullName:      "pb.X509Subject.CommonName",
            Display:       "Common Name",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
        {
            Name:       "Names",
            FullName:   "pb.X509Subject.Names",
            Type:       "[]struct",
            StructName: "pb.X509Name",
            SearchType: "flat_object",
        },
        {
            Name:          "SerialNumber",
            FullName:      "pb.X509Subject.SerialNumber",
            Display:       "Serial Number",
            Type:          "string",
            SearchType:    "keyword",
            SearchOptions: api.SearchOption_Sortable,
        },
    },
}

func CreateMessage

func CreateMessage(fullname string) any

func GetAdminMethodsInfo

func GetAdminMethodsInfo() map[string]*MethodInfo

GetAdminMethodsInfo returns the methods info for the admin service. It filters out the methods that are not prefixed with "/privpb.Admin/".

func GetMessageDescription

func GetMessageDescription(fullname string) *api.MessageDescription

func GetMessageDescriptions

func GetMessageDescriptions() map[string]*api.MessageDescription

func GetMethodAliases

func GetMethodAliases() map[string]string

GetMethodAliases returns map of method CLI commands to method names

func GetMethodsInfo

func GetMethodsInfo() map[string]*MethodInfo

GetMethodsInfo returns map of methods

func MarshalJSON

func MarshalJSON(v any) ([]byte, error)

MarshalJSON implements json.Marshaler

func RegisterAdminServer

func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)

func RegisterBackendServer

func RegisterBackendServer(s grpc.ServiceRegistrar, srv BackendServer)

type ActivateIssuerRequest

ActivateIssuerRequest specifies the externally signed certificate for a Pending issuer with the org named explicitly: the request of Backend.ActivateIssuer

type ActivateIssuerRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

func (*ActivateIssuerRequest) Descriptor

func (*ActivateIssuerRequest) Descriptor() ([]byte, []int)

Deprecated: Use ActivateIssuerRequest.ProtoReflect.Descriptor instead.

func (*ActivateIssuerRequest) GetCertificate

func (x *ActivateIssuerRequest) GetCertificate() string

func (*ActivateIssuerRequest) GetID

func (x *ActivateIssuerRequest) GetID() string

func (*ActivateIssuerRequest) GetIntermediates

func (x *ActivateIssuerRequest) GetIntermediates() string

func (*ActivateIssuerRequest) GetOrgID

func (x *ActivateIssuerRequest) GetOrgID() string

func (*ActivateIssuerRequest) GetProjectID

func (x *ActivateIssuerRequest) GetProjectID() string

func (*ActivateIssuerRequest) GetRoot

func (x *ActivateIssuerRequest) GetRoot() string

func (*ActivateIssuerRequest) MarshalJSON

func (msg *ActivateIssuerRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ActivateIssuerRequest) ProtoMessage

func (*ActivateIssuerRequest) ProtoMessage()

func (*ActivateIssuerRequest) ProtoReflect

func (x *ActivateIssuerRequest) ProtoReflect() protoreflect.Message

func (*ActivateIssuerRequest) Reset

func (x *ActivateIssuerRequest) Reset()

func (*ActivateIssuerRequest) String

func (x *ActivateIssuerRequest) String() string

func (*ActivateIssuerRequest) UnmarshalJSON

func (msg *ActivateIssuerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ActivateIssuerRequest) Validate

func (m *ActivateIssuerRequest) Validate(ctx context.Context) error

type AdminClient

AdminClient is the client API for Admin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AdminClient interface {
    // ListOrgs lists orgs
    ListOrgs(ctx context.Context, in *ListOrgsRequest, opts ...grpc.CallOption) (*pb.OrgsResponse, error)
    //
    //// GetOrg returns an org with its budget
    //rpc GetOrg(GetOrgRequest) returns (pb.Org) {
    //option (google.api.http) = {
    //post: "/privpb.Admin/GetOrganization",
    //body: "*"
    //};
    //option (es.api.cli_cmd) = "org get";
    //}
    //// CreateOrg creates an org owned by an existing user
    //rpc CreateOrg(CreateOrgRequest)
    //returns (pb.Organization) {
    //option (google.api.http) = {
    //post: "/privpb.Admin/CreateOrganization",
    //body: "*"
    //};
    //option (es.api.cli_cmd) = "org create";
    //}
    //// UpdateOrg updates an org
    //rpc UpdateOrg(UpdateOrgRequest)
    //returns (pb.Organization) {
    //option (google.api.http) = {
    //post: "/privpb.Admin/UpdateOrganization",
    //body: "*"
    //};
    //option (es.api.cli_cmd) = "org update";
    //}
    //// DeleteOrg deletes an org that has no projects
    //rpc DeleteOrg(DeleteOrgRequest)
    //returns (google.protobuf.Empty) {
    //option (google.api.http) = {
    //post: "/privpb.Admin/DeleteOrganization",
    //body: "*"
    //};
    //option (es.api.cli_cmd) = "org delete";
    //}
    ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*pb.ProjectsResponse, error)
    // ListIssuers lists the issuers of every org and of the platform, newest
    // first, for support staff; the tenant view of an org is CA.ListIssuers.
    // Private key material is never returned.
    ListIssuers(ctx context.Context, in *ListAllIssuersRequest, opts ...grpc.CallOption) (*pb.IssuersResponse, error)
    // ListCertificates lists the certificates of every org and of the
    // platform, newest first, for support staff; the tenant view of an org
    // is CA.ListCertificates
    ListCertificates(ctx context.Context, in *ListAllCertificatesRequest, opts ...grpc.CallOption) (*pb.CertificatesResponse, error)
}

func NewAdminClient

func NewAdminClient(cc grpc.ClientConnInterface) AdminClient

type AdminServer

AdminServer is the server API for Admin service. All implementations should embed UnimplementedAdminServer for forward compatibility.

type AdminServer interface {
    // ListOrgs lists orgs
    ListOrgs(context.Context, *ListOrgsRequest) (*pb.OrgsResponse, error)
    //
    //// GetOrg returns an org with its budget
    //rpc GetOrg(GetOrgRequest) returns (pb.Org) {
    //option (google.api.http) = {
    //post: "/privpb.Admin/GetOrganization",
    //body: "*"
    //};
    //option (es.api.cli_cmd) = "org get";
    //}
    //// CreateOrg creates an org owned by an existing user
    //rpc CreateOrg(CreateOrgRequest)
    //returns (pb.Organization) {
    //option (google.api.http) = {
    //post: "/privpb.Admin/CreateOrganization",
    //body: "*"
    //};
    //option (es.api.cli_cmd) = "org create";
    //}
    //// UpdateOrg updates an org
    //rpc UpdateOrg(UpdateOrgRequest)
    //returns (pb.Organization) {
    //option (google.api.http) = {
    //post: "/privpb.Admin/UpdateOrganization",
    //body: "*"
    //};
    //option (es.api.cli_cmd) = "org update";
    //}
    //// DeleteOrg deletes an org that has no projects
    //rpc DeleteOrg(DeleteOrgRequest)
    //returns (google.protobuf.Empty) {
    //option (google.api.http) = {
    //post: "/privpb.Admin/DeleteOrganization",
    //body: "*"
    //};
    //option (es.api.cli_cmd) = "org delete";
    //}
    ListProjects(context.Context, *ListProjectsRequest) (*pb.ProjectsResponse, error)
    // ListIssuers lists the issuers of every org and of the platform, newest
    // first, for support staff; the tenant view of an org is CA.ListIssuers.
    // Private key material is never returned.
    ListIssuers(context.Context, *ListAllIssuersRequest) (*pb.IssuersResponse, error)
    // ListCertificates lists the certificates of every org and of the
    // platform, newest first, for support staff; the tenant view of an org
    // is CA.ListCertificates
    ListCertificates(context.Context, *ListAllCertificatesRequest) (*pb.CertificatesResponse, error)
}

type BackendClient

BackendClient is the client API for Backend service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Backend is the CA of the service identities and the signing plane (DESIGN.md section 2.1): every method of pb.CA, with the org of a request named explicitly. It holds the issuer keys and is served over gRPC only, by the backend listener, to service identities over mTLS: the CA service of a WFE forwards the calls of its callers with their context and the org of their token (trustyca-peer), the RA and the operator name the org of every request (trustyca-ra, trustyca-admin), and the AIA forwards OCSP requests (trustyca-aia). A method behaves as the pb.CA method of the same name: the backend authorizes a forwarded caller again with the roles and scopes of that method. The requests are copies of the pb.CA requests with OrgID: the field numbers of the other fields are the same, since the CA service converts a public request into its copy.

type BackendClient interface {
    // RegisterIssuer creates an issuer of the org: the key is generated in
    // the crypto provider, and the certificate is self-signed for a Root,
    // signed by the parent, or left Pending with a CSR (CA.RegisterIssuer)
    RegisterIssuer(ctx context.Context, in *RegisterIssuerRequest, opts ...grpc.CallOption) (*pb.Issuer, error)
    // ImportIssuer registers an issuer from an existing certificate and a
    // key URI of a crypto provider or a PEM key stored protected
    // (CA.ImportIssuer)
    ImportIssuer(ctx context.Context, in *ImportIssuerRequest, opts ...grpc.CallOption) (*pb.Issuer, error)
    // ActivateIssuer sets the externally signed certificate of a Pending
    // issuer, which must be for the issuer's key (CA.ActivateIssuer)
    ActivateIssuer(ctx context.Context, in *ActivateIssuerRequest, opts ...grpc.CallOption) (*pb.Issuer, error)
    // UpdateIssuer updates the runtime configuration or the status of an
    // issuer; Destroyed removes its key from the provider (CA.UpdateIssuer)
    UpdateIssuer(ctx context.Context, in *UpdateIssuerRequest, opts ...grpc.CallOption) (*pb.Issuer, error)
    // GetIssuer returns an issuer of the org by ID, label or IKID
    // (CA.GetIssuer)
    GetIssuer(ctx context.Context, in *GetIssuerRequest, opts ...grpc.CallOption) (*pb.Issuer, error)
    // ListIssuers returns the issuers of the org (CA.ListIssuers)
    ListIssuers(ctx context.Context, in *ListIssuersRequest, opts ...grpc.CallOption) (*pb.IssuersResponse, error)
    // RegisterRoot registers an external trust anchor of the org
    // (CA.RegisterRoot)
    RegisterRoot(ctx context.Context, in *RegisterRootRequest, opts ...grpc.CallOption) (*pb.RootCertificate, error)
    // ListRoots returns the trust anchors of the org, or of the
    // platform (CA.ListRoots)
    ListRoots(ctx context.Context, in *ListRootsRequest, opts ...grpc.CallOption) (*pb.RootsResponse, error)
    // RegisterProfile creates or replaces a certificate profile, keyed
    // by (OrgID, ProjectID, Label) (CA.RegisterProfile)
    RegisterProfile(ctx context.Context, in *RegisterProfileRequest, opts ...grpc.CallOption) (*pb.CertProfile, error)
    // GetProfile returns a profile of the org by ID or label (CA.GetProfile)
    GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*pb.CertProfile, error)
    // ListProfiles returns the profiles of the org (CA.ListProfiles)
    ListProfiles(ctx context.Context, in *ListProfilesRequest, opts ...grpc.CallOption) (*pb.ProfilesResponse, error)
    // DeleteProfile deletes a profile of the org (CA.DeleteProfile)
    DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // SignCertificate signs a certificate request with the issuer of the
    // profile and registers the certificate (CA.SignCertificate)
    SignCertificate(ctx context.Context, in *SignCertificateRequest, opts ...grpc.CallOption) (*pb.CertificateResponse, error)
    // GetCertificate returns a certificate of the org by ID, SKID,
    // Sha256 or issuer and serial number (CA.GetCertificate)
    GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*pb.CertificateResponse, error)
    // ListCertificates returns the certificates of the org, newest
    // first (CA.ListCertificates)
    ListCertificates(ctx context.Context, in *ListCertificatesRequest, opts ...grpc.CallOption) (*pb.CertificatesResponse, error)
    // UpdateCertificateLabel updates the client-provided label and
    // metadata of a certificate (CA.UpdateCertificateLabel)
    UpdateCertificateLabel(ctx context.Context, in *UpdateCertificateLabelRequest, opts ...grpc.CallOption) (*pb.CertificateResponse, error)
    // RevokeCertificate revokes a certificate of the org (CA.RevokeCertificate)
    RevokeCertificate(ctx context.Context, in *RevokeCertificateRequest, opts ...grpc.CallOption) (*pb.RevokedCertificateResponse, error)
    // ListRevokedCertificates returns the revoked certificates of
    // the org (CA.ListRevokedCertificates)
    ListRevokedCertificates(ctx context.Context, in *ListRevokedCertificatesRequest, opts ...grpc.CallOption) (*pb.RevokedCertificatesResponse, error)
    // GetCRL returns the current CRL of an issuer (CA.GetCRL)
    GetCRL(ctx context.Context, in *GetCrlRequest, opts ...grpc.CallOption) (*pb.CrlResponse, error)
    // PublishCrls signs and publishes the CRL of an issuer, or the due
    // CRLs of the issuers in scope (CA.PublishCrls)
    PublishCrls(ctx context.Context, in *PublishCrlsRequest, opts ...grpc.CallOption) (*pb.CrlsResponse, error)
    // SignOCSP signs the OCSP response of a DER request; the request
    // names the issuer by its key hash, so it carries no tenant (CA.SignOCSP)
    SignOCSP(ctx context.Context, in *pb.OCSPRequest, opts ...grpc.CallOption) (*pb.OCSPResponse, error)
    // GetSummary returns the counts of the issuers, certificates and CRLs
    // of the org, or of one of its projects (CA.GetSummary)
    GetSummary(ctx context.Context, in *GetSummaryRequest, opts ...grpc.CallOption) (*pb.SummaryResponse, error)
}

func NewBackendClient

func NewBackendClient(cc grpc.ClientConnInterface) BackendClient

type BackendServer

BackendServer is the server API for Backend service. All implementations should embed UnimplementedBackendServer for forward compatibility.

Backend is the CA of the service identities and the signing plane (DESIGN.md section 2.1): every method of pb.CA, with the org of a request named explicitly. It holds the issuer keys and is served over gRPC only, by the backend listener, to service identities over mTLS: the CA service of a WFE forwards the calls of its callers with their context and the org of their token (trustyca-peer), the RA and the operator name the org of every request (trustyca-ra, trustyca-admin), and the AIA forwards OCSP requests (trustyca-aia). A method behaves as the pb.CA method of the same name: the backend authorizes a forwarded caller again with the roles and scopes of that method. The requests are copies of the pb.CA requests with OrgID: the field numbers of the other fields are the same, since the CA service converts a public request into its copy.

type BackendServer interface {
    // RegisterIssuer creates an issuer of the org: the key is generated in
    // the crypto provider, and the certificate is self-signed for a Root,
    // signed by the parent, or left Pending with a CSR (CA.RegisterIssuer)
    RegisterIssuer(context.Context, *RegisterIssuerRequest) (*pb.Issuer, error)
    // ImportIssuer registers an issuer from an existing certificate and a
    // key URI of a crypto provider or a PEM key stored protected
    // (CA.ImportIssuer)
    ImportIssuer(context.Context, *ImportIssuerRequest) (*pb.Issuer, error)
    // ActivateIssuer sets the externally signed certificate of a Pending
    // issuer, which must be for the issuer's key (CA.ActivateIssuer)
    ActivateIssuer(context.Context, *ActivateIssuerRequest) (*pb.Issuer, error)
    // UpdateIssuer updates the runtime configuration or the status of an
    // issuer; Destroyed removes its key from the provider (CA.UpdateIssuer)
    UpdateIssuer(context.Context, *UpdateIssuerRequest) (*pb.Issuer, error)
    // GetIssuer returns an issuer of the org by ID, label or IKID
    // (CA.GetIssuer)
    GetIssuer(context.Context, *GetIssuerRequest) (*pb.Issuer, error)
    // ListIssuers returns the issuers of the org (CA.ListIssuers)
    ListIssuers(context.Context, *ListIssuersRequest) (*pb.IssuersResponse, error)
    // RegisterRoot registers an external trust anchor of the org
    // (CA.RegisterRoot)
    RegisterRoot(context.Context, *RegisterRootRequest) (*pb.RootCertificate, error)
    // ListRoots returns the trust anchors of the org, or of the
    // platform (CA.ListRoots)
    ListRoots(context.Context, *ListRootsRequest) (*pb.RootsResponse, error)
    // RegisterProfile creates or replaces a certificate profile, keyed
    // by (OrgID, ProjectID, Label) (CA.RegisterProfile)
    RegisterProfile(context.Context, *RegisterProfileRequest) (*pb.CertProfile, error)
    // GetProfile returns a profile of the org by ID or label (CA.GetProfile)
    GetProfile(context.Context, *GetProfileRequest) (*pb.CertProfile, error)
    // ListProfiles returns the profiles of the org (CA.ListProfiles)
    ListProfiles(context.Context, *ListProfilesRequest) (*pb.ProfilesResponse, error)
    // DeleteProfile deletes a profile of the org (CA.DeleteProfile)
    DeleteProfile(context.Context, *DeleteProfileRequest) (*emptypb.Empty, error)
    // SignCertificate signs a certificate request with the issuer of the
    // profile and registers the certificate (CA.SignCertificate)
    SignCertificate(context.Context, *SignCertificateRequest) (*pb.CertificateResponse, error)
    // GetCertificate returns a certificate of the org by ID, SKID,
    // Sha256 or issuer and serial number (CA.GetCertificate)
    GetCertificate(context.Context, *GetCertificateRequest) (*pb.CertificateResponse, error)
    // ListCertificates returns the certificates of the org, newest
    // first (CA.ListCertificates)
    ListCertificates(context.Context, *ListCertificatesRequest) (*pb.CertificatesResponse, error)
    // UpdateCertificateLabel updates the client-provided label and
    // metadata of a certificate (CA.UpdateCertificateLabel)
    UpdateCertificateLabel(context.Context, *UpdateCertificateLabelRequest) (*pb.CertificateResponse, error)
    // RevokeCertificate revokes a certificate of the org (CA.RevokeCertificate)
    RevokeCertificate(context.Context, *RevokeCertificateRequest) (*pb.RevokedCertificateResponse, error)
    // ListRevokedCertificates returns the revoked certificates of
    // the org (CA.ListRevokedCertificates)
    ListRevokedCertificates(context.Context, *ListRevokedCertificatesRequest) (*pb.RevokedCertificatesResponse, error)
    // GetCRL returns the current CRL of an issuer (CA.GetCRL)
    GetCRL(context.Context, *GetCrlRequest) (*pb.CrlResponse, error)
    // PublishCrls signs and publishes the CRL of an issuer, or the due
    // CRLs of the issuers in scope (CA.PublishCrls)
    PublishCrls(context.Context, *PublishCrlsRequest) (*pb.CrlsResponse, error)
    // SignOCSP signs the OCSP response of a DER request; the request
    // names the issuer by its key hash, so it carries no tenant (CA.SignOCSP)
    SignOCSP(context.Context, *pb.OCSPRequest) (*pb.OCSPResponse, error)
    // GetSummary returns the counts of the issuers, certificates and CRLs
    // of the org, or of one of its projects (CA.GetSummary)
    GetSummary(context.Context, *GetSummaryRequest) (*pb.SummaryResponse, error)
}

type CheckAccessFunc

CheckAccessFunc defines function to check access rights for the HTTP request

type CheckAccessFunc func(ctx context.Context, req any, action string) error

type DeleteProfileRequest

DeleteProfileRequest deletes a profile with the org named explicitly: the request of Backend.DeleteProfile

type DeleteProfileRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

func (*DeleteProfileRequest) Descriptor

func (*DeleteProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProfileRequest.ProtoReflect.Descriptor instead.

func (*DeleteProfileRequest) GetID

func (x *DeleteProfileRequest) GetID() string

func (*DeleteProfileRequest) GetOrgID

func (x *DeleteProfileRequest) GetOrgID() string

func (*DeleteProfileRequest) GetProjectID

func (x *DeleteProfileRequest) GetProjectID() string

func (*DeleteProfileRequest) MarshalJSON

func (msg *DeleteProfileRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DeleteProfileRequest) ProtoMessage

func (*DeleteProfileRequest) ProtoMessage()

func (*DeleteProfileRequest) ProtoReflect

func (x *DeleteProfileRequest) ProtoReflect() protoreflect.Message

func (*DeleteProfileRequest) Reset

func (x *DeleteProfileRequest) Reset()

func (*DeleteProfileRequest) String

func (x *DeleteProfileRequest) String() string

func (*DeleteProfileRequest) UnmarshalJSON

func (msg *DeleteProfileRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteProfileRequest) Validate

func (m *DeleteProfileRequest) Validate(ctx context.Context) error

type GetCertificateRequest

GetCertificateRequest specifies certificate by ID, SKID, Sha256 or issuer and serial number with the org named explicitly: the request of Backend.GetCertificate

type GetCertificateRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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 *pb.IssuerSerial `protobuf:"bytes,5,opt,name=IssuerSerial,proto3" json:"IssuerSerial,omitempty"`
    // contains filtered or unexported fields
}

func (*GetCertificateRequest) Descriptor

func (*GetCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.

func (*GetCertificateRequest) GetID

func (x *GetCertificateRequest) GetID() string

func (*GetCertificateRequest) GetIssuerSerial

func (x *GetCertificateRequest) GetIssuerSerial() *pb.IssuerSerial

func (*GetCertificateRequest) GetOrgID

func (x *GetCertificateRequest) GetOrgID() string

func (*GetCertificateRequest) GetSKID

func (x *GetCertificateRequest) GetSKID() string

func (*GetCertificateRequest) GetSha256

func (x *GetCertificateRequest) GetSha256() string

func (*GetCertificateRequest) MarshalJSON

func (msg *GetCertificateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetCertificateRequest) ProtoMessage

func (*GetCertificateRequest) ProtoMessage()

func (*GetCertificateRequest) ProtoReflect

func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message

func (*GetCertificateRequest) Reset

func (x *GetCertificateRequest) Reset()

func (*GetCertificateRequest) String

func (x *GetCertificateRequest) String() string

func (*GetCertificateRequest) UnmarshalJSON

func (msg *GetCertificateRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetCertificateRequest) Validate

func (m *GetCertificateRequest) Validate(ctx context.Context) error

type GetCrlRequest

GetCrlRequest specifies CRL request by IKID with the org named explicitly: the request of Backend.GetCRL

type GetCrlRequest struct {

    // OrgID of the org of the issuer; empty reads the CRL of any issuer,
    // for a service identity only
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // IKID specifies Issuer Key ID
    IKID string `protobuf:"bytes,2,opt,name=IKID,proto3" json:"IKID,omitempty"`
    // contains filtered or unexported fields
}

func (*GetCrlRequest) Descriptor

func (*GetCrlRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCrlRequest.ProtoReflect.Descriptor instead.

func (*GetCrlRequest) GetIKID

func (x *GetCrlRequest) GetIKID() string

func (*GetCrlRequest) GetOrgID

func (x *GetCrlRequest) GetOrgID() string

func (*GetCrlRequest) MarshalJSON

func (msg *GetCrlRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetCrlRequest) ProtoMessage

func (*GetCrlRequest) ProtoMessage()

func (*GetCrlRequest) ProtoReflect

func (x *GetCrlRequest) ProtoReflect() protoreflect.Message

func (*GetCrlRequest) Reset

func (x *GetCrlRequest) Reset()

func (*GetCrlRequest) String

func (x *GetCrlRequest) String() string

func (*GetCrlRequest) UnmarshalJSON

func (msg *GetCrlRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetCrlRequest) Validate

func (m *GetCrlRequest) Validate(ctx context.Context) error

type GetIssuerRequest

GetIssuerRequest specifies an issuer by ID, label or IKID with the org named explicitly: the request of Backend.GetIssuer

type GetIssuerRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

func (*GetIssuerRequest) Descriptor

func (*GetIssuerRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIssuerRequest.ProtoReflect.Descriptor instead.

func (*GetIssuerRequest) GetID

func (x *GetIssuerRequest) GetID() string

func (*GetIssuerRequest) GetIKID

func (x *GetIssuerRequest) GetIKID() string

func (*GetIssuerRequest) GetLabel

func (x *GetIssuerRequest) GetLabel() string

func (*GetIssuerRequest) GetOrgID

func (x *GetIssuerRequest) GetOrgID() string

func (*GetIssuerRequest) GetProjectID

func (x *GetIssuerRequest) GetProjectID() string

func (*GetIssuerRequest) MarshalJSON

func (msg *GetIssuerRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetIssuerRequest) ProtoMessage

func (*GetIssuerRequest) ProtoMessage()

func (*GetIssuerRequest) ProtoReflect

func (x *GetIssuerRequest) ProtoReflect() protoreflect.Message

func (*GetIssuerRequest) Reset

func (x *GetIssuerRequest) Reset()

func (*GetIssuerRequest) String

func (x *GetIssuerRequest) String() string

func (*GetIssuerRequest) UnmarshalJSON

func (msg *GetIssuerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetIssuerRequest) Validate

func (m *GetIssuerRequest) Validate(ctx context.Context) error

type GetProfileRequest

GetProfileRequest specifies a profile by ID or label with the org named explicitly: the request of Backend.GetProfile

type GetProfileRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

func (*GetProfileRequest) Descriptor

func (*GetProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.

func (*GetProfileRequest) GetID

func (x *GetProfileRequest) GetID() string

func (*GetProfileRequest) GetLabel

func (x *GetProfileRequest) GetLabel() string

func (*GetProfileRequest) GetOrgID

func (x *GetProfileRequest) GetOrgID() string

func (*GetProfileRequest) GetProjectID

func (x *GetProfileRequest) GetProjectID() string

func (*GetProfileRequest) MarshalJSON

func (msg *GetProfileRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetProfileRequest) ProtoMessage

func (*GetProfileRequest) ProtoMessage()

func (*GetProfileRequest) ProtoReflect

func (x *GetProfileRequest) ProtoReflect() protoreflect.Message

func (*GetProfileRequest) Reset

func (x *GetProfileRequest) Reset()

func (*GetProfileRequest) String

func (x *GetProfileRequest) String() string

func (*GetProfileRequest) UnmarshalJSON

func (msg *GetProfileRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetProfileRequest) Validate

func (m *GetProfileRequest) Validate(ctx context.Context) error

type GetSummaryRequest

GetSummaryRequest specifies the scope of the summary with the org named explicitly: the request of Backend.GetSummary

type GetSummaryRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // ProjectID limits the summary to the project; empty summarizes the
    // org-wide rows and the projects the caller may read
    ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
    // contains filtered or unexported fields
}

func (*GetSummaryRequest) Descriptor

func (*GetSummaryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSummaryRequest.ProtoReflect.Descriptor instead.

func (*GetSummaryRequest) GetOrgID

func (x *GetSummaryRequest) GetOrgID() string

func (*GetSummaryRequest) GetProjectID

func (x *GetSummaryRequest) GetProjectID() string

func (*GetSummaryRequest) MarshalJSON

func (msg *GetSummaryRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetSummaryRequest) ProtoMessage

func (*GetSummaryRequest) ProtoMessage()

func (*GetSummaryRequest) ProtoReflect

func (x *GetSummaryRequest) ProtoReflect() protoreflect.Message

func (*GetSummaryRequest) Reset

func (x *GetSummaryRequest) Reset()

func (*GetSummaryRequest) String

func (x *GetSummaryRequest) String() string

func (*GetSummaryRequest) UnmarshalJSON

func (msg *GetSummaryRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetSummaryRequest) Validate

func (m *GetSummaryRequest) Validate(ctx context.Context) error

type ImportIssuerRequest

ImportIssuerRequest specifies a request to import an existing issuer with the org named explicitly: the request of Backend.ImportIssuer

type ImportIssuerRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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 pb.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 *pb.IssuerConfig `protobuf:"bytes,10,opt,name=Config,proto3" json:"Config,omitempty"`
    // contains filtered or unexported fields
}

func (*ImportIssuerRequest) Descriptor

func (*ImportIssuerRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImportIssuerRequest.ProtoReflect.Descriptor instead.

func (*ImportIssuerRequest) GetCertificate

func (x *ImportIssuerRequest) GetCertificate() string

func (*ImportIssuerRequest) GetConfig

func (x *ImportIssuerRequest) GetConfig() *pb.IssuerConfig

func (*ImportIssuerRequest) GetIntermediates

func (x *ImportIssuerRequest) GetIntermediates() string

func (*ImportIssuerRequest) GetKeyPem

func (x *ImportIssuerRequest) GetKeyPem() string

func (*ImportIssuerRequest) GetKeyURI

func (x *ImportIssuerRequest) GetKeyURI() string

func (*ImportIssuerRequest) GetLabel

func (x *ImportIssuerRequest) GetLabel() string

func (*ImportIssuerRequest) GetOrgID

func (x *ImportIssuerRequest) GetOrgID() string

func (*ImportIssuerRequest) GetProjectID

func (x *ImportIssuerRequest) GetProjectID() string

func (*ImportIssuerRequest) GetRoot

func (x *ImportIssuerRequest) GetRoot() string

func (*ImportIssuerRequest) GetType

func (x *ImportIssuerRequest) GetType() pb.AuthorityType_Enum

func (*ImportIssuerRequest) MarshalJSON

func (msg *ImportIssuerRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ImportIssuerRequest) ProtoMessage

func (*ImportIssuerRequest) ProtoMessage()

func (*ImportIssuerRequest) ProtoReflect

func (x *ImportIssuerRequest) ProtoReflect() protoreflect.Message

func (*ImportIssuerRequest) Reset

func (x *ImportIssuerRequest) Reset()

func (*ImportIssuerRequest) String

func (x *ImportIssuerRequest) String() string

func (*ImportIssuerRequest) UnmarshalJSON

func (msg *ImportIssuerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ImportIssuerRequest) Validate

func (m *ImportIssuerRequest) Validate(ctx context.Context) error

type ListAllCertificatesRequest

ListAllCertificatesRequest specifies a paginated list of certificates across orgs, newest first

type ListAllCertificatesRequest struct {

    // Limit specifies maximum number of records to return
    Limit uint32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"`
    // Offset specifies offset for the offset-based pagination
    Offset uint32 `protobuf:"varint,2,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,3,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
    // OrgID limits the result to the org. Empty lists the certificates of
    // every org and of the platform, or of the platform only with Platform.
    OrgID string `protobuf:"bytes,4,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // Platform limits the result to the platform certificates (no org) when
    // OrgID is empty
    Platform bool `protobuf:"varint,5,opt,name=Platform,proto3" json:"Platform,omitempty"`
    // ProjectID limits the result to the project; used with OrgID
    ProjectID string `protobuf:"bytes,6,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
    // IKID filters by issuer
    IKID string `protobuf:"bytes,7,opt,name=IKID,proto3" json:"IKID,omitempty"`
    // Profile filters by profile label
    Profile string `protobuf:"bytes,8,opt,name=Profile,proto3" json:"Profile,omitempty"`
    // Status filters by status; Unknown returns all
    Status pb.CertificateStatus_Enum `protobuf:"varint,9,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,10,opt,name=ExpiringBefore,proto3" json:"ExpiringBefore,omitempty"`
    // contains filtered or unexported fields
}

func (*ListAllCertificatesRequest) Descriptor

func (*ListAllCertificatesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAllCertificatesRequest.ProtoReflect.Descriptor instead.

func (*ListAllCertificatesRequest) GetCursor

func (x *ListAllCertificatesRequest) GetCursor() string

func (*ListAllCertificatesRequest) GetExpiringBefore

func (x *ListAllCertificatesRequest) GetExpiringBefore() string

func (*ListAllCertificatesRequest) GetIKID

func (x *ListAllCertificatesRequest) GetIKID() string

func (*ListAllCertificatesRequest) GetLimit

func (x *ListAllCertificatesRequest) GetLimit() uint32

func (*ListAllCertificatesRequest) GetOffset

func (x *ListAllCertificatesRequest) GetOffset() uint32

func (*ListAllCertificatesRequest) GetOrgID

func (x *ListAllCertificatesRequest) GetOrgID() string

func (*ListAllCertificatesRequest) GetPlatform

func (x *ListAllCertificatesRequest) GetPlatform() bool

func (*ListAllCertificatesRequest) GetProfile

func (x *ListAllCertificatesRequest) GetProfile() string

func (*ListAllCertificatesRequest) GetProjectID

func (x *ListAllCertificatesRequest) GetProjectID() string

func (*ListAllCertificatesRequest) GetStatus

func (x *ListAllCertificatesRequest) GetStatus() pb.CertificateStatus_Enum

func (*ListAllCertificatesRequest) MarshalJSON

func (msg *ListAllCertificatesRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListAllCertificatesRequest) ProtoMessage

func (*ListAllCertificatesRequest) ProtoMessage()

func (*ListAllCertificatesRequest) ProtoReflect

func (x *ListAllCertificatesRequest) ProtoReflect() protoreflect.Message

func (*ListAllCertificatesRequest) Reset

func (x *ListAllCertificatesRequest) Reset()

func (*ListAllCertificatesRequest) String

func (x *ListAllCertificatesRequest) String() string

func (*ListAllCertificatesRequest) UnmarshalJSON

func (msg *ListAllCertificatesRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListAllCertificatesRequest) Validate

func (m *ListAllCertificatesRequest) Validate(ctx context.Context) error

type ListAllIssuersRequest

ListAllIssuersRequest specifies a paginated list of issuers across orgs

type ListAllIssuersRequest struct {

    // Limit specifies maximum number of records to return
    Limit uint32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"`
    // Offset specifies offset for the offset-based pagination
    Offset uint32 `protobuf:"varint,2,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,3,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
    // OrgID limits the result to the org. Empty lists the issuers of every
    // org and of the platform, or of the platform only with Platform.
    OrgID string `protobuf:"bytes,4,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // Platform limits the result to the platform issuers (no org) when
    // OrgID is empty
    Platform bool `protobuf:"varint,5,opt,name=Platform,proto3" json:"Platform,omitempty"`
    // ProjectID limits the result to the project; used with OrgID
    ProjectID string `protobuf:"bytes,6,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
    // Label limits the result to the issuers with the label, in every scope
    // the list covers
    Label string `protobuf:"bytes,7,opt,name=Label,proto3" json:"Label,omitempty"`
    // Status filters by lifecycle status; Unknown returns all
    Status pb.IssuerStatus_Enum `protobuf:"varint,8,opt,name=Status,proto3,enum=pb.IssuerStatus_Enum" json:"Status,omitempty"`
    // Type filters by authority type; Unknown returns all
    Type pb.AuthorityType_Enum `protobuf:"varint,9,opt,name=Type,proto3,enum=pb.AuthorityType_Enum" json:"Type,omitempty"`
    // IDs limits the result to the issuers with the IDs, at most 500
    IDs []string `protobuf:"bytes,10,rep,name=IDs,proto3" json:"IDs,omitempty"`
    // IKIDs limits the result to the issuers with the key identifiers (the
    // SKID of the issuer, the IKID of the certificates it issued), at most
    // 500
    IKIDs []string `protobuf:"bytes,11,rep,name=IKIDs,proto3" json:"IKIDs,omitempty"`
    // contains filtered or unexported fields
}

func (*ListAllIssuersRequest) Descriptor

func (*ListAllIssuersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAllIssuersRequest.ProtoReflect.Descriptor instead.

func (*ListAllIssuersRequest) GetCursor

func (x *ListAllIssuersRequest) GetCursor() string

func (*ListAllIssuersRequest) GetIDs

func (x *ListAllIssuersRequest) GetIDs() []string

func (*ListAllIssuersRequest) GetIKIDs

func (x *ListAllIssuersRequest) GetIKIDs() []string

func (*ListAllIssuersRequest) GetLabel

func (x *ListAllIssuersRequest) GetLabel() string

func (*ListAllIssuersRequest) GetLimit

func (x *ListAllIssuersRequest) GetLimit() uint32

func (*ListAllIssuersRequest) GetOffset

func (x *ListAllIssuersRequest) GetOffset() uint32

func (*ListAllIssuersRequest) GetOrgID

func (x *ListAllIssuersRequest) GetOrgID() string

func (*ListAllIssuersRequest) GetPlatform

func (x *ListAllIssuersRequest) GetPlatform() bool

func (*ListAllIssuersRequest) GetProjectID

func (x *ListAllIssuersRequest) GetProjectID() string

func (*ListAllIssuersRequest) GetStatus

func (x *ListAllIssuersRequest) GetStatus() pb.IssuerStatus_Enum

func (*ListAllIssuersRequest) GetType

func (x *ListAllIssuersRequest) GetType() pb.AuthorityType_Enum

func (*ListAllIssuersRequest) MarshalJSON

func (msg *ListAllIssuersRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListAllIssuersRequest) ProtoMessage

func (*ListAllIssuersRequest) ProtoMessage()

func (*ListAllIssuersRequest) ProtoReflect

func (x *ListAllIssuersRequest) ProtoReflect() protoreflect.Message

func (*ListAllIssuersRequest) Reset

func (x *ListAllIssuersRequest) Reset()

func (*ListAllIssuersRequest) String

func (x *ListAllIssuersRequest) String() string

func (*ListAllIssuersRequest) UnmarshalJSON

func (msg *ListAllIssuersRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListAllIssuersRequest) Validate

func (m *ListAllIssuersRequest) Validate(ctx context.Context) error

type ListCertificatesRequest

ListCertificatesRequest specifies a paginated list of certificates, sorted by ID descending (newest first) with the org named explicitly: the request of Backend.ListCertificates

type ListCertificatesRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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 pb.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"`
    // contains filtered or unexported fields
}

func (*ListCertificatesRequest) Descriptor

func (*ListCertificatesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListCertificatesRequest.ProtoReflect.Descriptor instead.

func (*ListCertificatesRequest) GetCursor

func (x *ListCertificatesRequest) GetCursor() string

func (*ListCertificatesRequest) GetExpiringBefore

func (x *ListCertificatesRequest) GetExpiringBefore() string

func (*ListCertificatesRequest) GetIKID

func (x *ListCertificatesRequest) GetIKID() string

func (*ListCertificatesRequest) GetLimit

func (x *ListCertificatesRequest) GetLimit() uint32

func (*ListCertificatesRequest) GetOffset

func (x *ListCertificatesRequest) GetOffset() uint32

func (*ListCertificatesRequest) GetOrgID

func (x *ListCertificatesRequest) GetOrgID() string

func (*ListCertificatesRequest) GetProfile

func (x *ListCertificatesRequest) GetProfile() string

func (*ListCertificatesRequest) GetProjectID

func (x *ListCertificatesRequest) GetProjectID() string

func (*ListCertificatesRequest) GetStatus

func (x *ListCertificatesRequest) GetStatus() pb.CertificateStatus_Enum

func (*ListCertificatesRequest) MarshalJSON

func (msg *ListCertificatesRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListCertificatesRequest) ProtoMessage

func (*ListCertificatesRequest) ProtoMessage()

func (*ListCertificatesRequest) ProtoReflect

func (x *ListCertificatesRequest) ProtoReflect() protoreflect.Message

func (*ListCertificatesRequest) Reset

func (x *ListCertificatesRequest) Reset()

func (*ListCertificatesRequest) String

func (x *ListCertificatesRequest) String() string

func (*ListCertificatesRequest) UnmarshalJSON

func (msg *ListCertificatesRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListCertificatesRequest) Validate

func (m *ListCertificatesRequest) Validate(ctx context.Context) error

type ListIssuersRequest

ListIssuersRequest specifies a paginated list of issuers with the org named explicitly: the request of Backend.ListIssuers

type ListIssuersRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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 pb.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 pb.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
    IDs []string `protobuf:"bytes,8,rep,name=IDs,proto3" json:"IDs,omitempty"`
    // IKIDs limits the result to the issuers with the key identifiers (the
    // SKID of the issuer, the IKID of the certificates it issued), at most
    // 500
    IKIDs []string `protobuf:"bytes,9,rep,name=IKIDs,proto3" json:"IKIDs,omitempty"`
    // contains filtered or unexported fields
}

func (*ListIssuersRequest) Descriptor

func (*ListIssuersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListIssuersRequest.ProtoReflect.Descriptor instead.

func (*ListIssuersRequest) GetCursor

func (x *ListIssuersRequest) GetCursor() string

func (*ListIssuersRequest) GetIDs

func (x *ListIssuersRequest) GetIDs() []string

func (*ListIssuersRequest) GetIKIDs

func (x *ListIssuersRequest) GetIKIDs() []string

func (*ListIssuersRequest) GetLimit

func (x *ListIssuersRequest) GetLimit() uint32

func (*ListIssuersRequest) GetOffset

func (x *ListIssuersRequest) GetOffset() uint32

func (*ListIssuersRequest) GetOrgID

func (x *ListIssuersRequest) GetOrgID() string

func (*ListIssuersRequest) GetProjectID

func (x *ListIssuersRequest) GetProjectID() string

func (*ListIssuersRequest) GetStatus

func (x *ListIssuersRequest) GetStatus() pb.IssuerStatus_Enum

func (*ListIssuersRequest) GetType

func (x *ListIssuersRequest) GetType() pb.AuthorityType_Enum

func (*ListIssuersRequest) MarshalJSON

func (msg *ListIssuersRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListIssuersRequest) ProtoMessage

func (*ListIssuersRequest) ProtoMessage()

func (*ListIssuersRequest) ProtoReflect

func (x *ListIssuersRequest) ProtoReflect() protoreflect.Message

func (*ListIssuersRequest) Reset

func (x *ListIssuersRequest) Reset()

func (*ListIssuersRequest) String

func (x *ListIssuersRequest) String() string

func (*ListIssuersRequest) UnmarshalJSON

func (msg *ListIssuersRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListIssuersRequest) Validate

func (m *ListIssuersRequest) Validate(ctx context.Context) error

type ListOrgsRequest

ListOrgsRequest specifies list orgs request

type ListOrgsRequest struct {

    // Limit specifies maximum number of records to return
    Limit uint32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"`
    // Offset specifies offset for the offset-based pagination.
    // Which is limited to 10000.
    // To paginate for large number of records, use cursor-based pagination
    // instead.
    Offset uint32 `protobuf:"varint,2,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,3,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
    // Status specifies on optional status of the item to filter by.
    // If not specified, all items will be listed.
    Status pb.ItemStatus_Enum `protobuf:"varint,4,opt,name=Status,proto3,enum=pb.ItemStatus_Enum" json:"Status,omitempty"`
    // contains filtered or unexported fields
}

func (*ListOrgsRequest) Descriptor

func (*ListOrgsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOrgsRequest.ProtoReflect.Descriptor instead.

func (*ListOrgsRequest) GetCursor

func (x *ListOrgsRequest) GetCursor() string

func (*ListOrgsRequest) GetLimit

func (x *ListOrgsRequest) GetLimit() uint32

func (*ListOrgsRequest) GetOffset

func (x *ListOrgsRequest) GetOffset() uint32

func (*ListOrgsRequest) GetStatus

func (x *ListOrgsRequest) GetStatus() pb.ItemStatus_Enum

func (*ListOrgsRequest) MarshalJSON

func (msg *ListOrgsRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListOrgsRequest) ProtoMessage

func (*ListOrgsRequest) ProtoMessage()

func (*ListOrgsRequest) ProtoReflect

func (x *ListOrgsRequest) ProtoReflect() protoreflect.Message

func (*ListOrgsRequest) Reset

func (x *ListOrgsRequest) Reset()

func (*ListOrgsRequest) String

func (x *ListOrgsRequest) String() string

func (*ListOrgsRequest) UnmarshalJSON

func (msg *ListOrgsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListOrgsRequest) Validate

func (m *ListOrgsRequest) Validate(ctx context.Context) error

type ListProfilesRequest

ListProfilesRequest specifies a paginated list of profiles with the org named explicitly: the request of Backend.ListProfiles

type ListProfilesRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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
    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
    Labels []string `protobuf:"bytes,8,rep,name=Labels,proto3" json:"Labels,omitempty"`
    // contains filtered or unexported fields
}

func (*ListProfilesRequest) Descriptor

func (*ListProfilesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProfilesRequest.ProtoReflect.Descriptor instead.

func (*ListProfilesRequest) GetCursor

func (x *ListProfilesRequest) GetCursor() string

func (*ListProfilesRequest) GetIDs

func (x *ListProfilesRequest) GetIDs() []string

func (*ListProfilesRequest) GetIssuerLabel

func (x *ListProfilesRequest) GetIssuerLabel() string

func (*ListProfilesRequest) GetLabels

func (x *ListProfilesRequest) GetLabels() []string

func (*ListProfilesRequest) GetLimit

func (x *ListProfilesRequest) GetLimit() uint32

func (*ListProfilesRequest) GetOffset

func (x *ListProfilesRequest) GetOffset() uint32

func (*ListProfilesRequest) GetOrgID

func (x *ListProfilesRequest) GetOrgID() string

func (*ListProfilesRequest) GetProjectID

func (x *ListProfilesRequest) GetProjectID() string

func (*ListProfilesRequest) MarshalJSON

func (msg *ListProfilesRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListProfilesRequest) ProtoMessage

func (*ListProfilesRequest) ProtoMessage()

func (*ListProfilesRequest) ProtoReflect

func (x *ListProfilesRequest) ProtoReflect() protoreflect.Message

func (*ListProfilesRequest) Reset

func (x *ListProfilesRequest) Reset()

func (*ListProfilesRequest) String

func (x *ListProfilesRequest) String() string

func (*ListProfilesRequest) UnmarshalJSON

func (msg *ListProfilesRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListProfilesRequest) Validate

func (m *ListProfilesRequest) Validate(ctx context.Context) error

type ListProjectsRequest

ListProjectsRequest specifies list projects request

type ListProjectsRequest struct {

    // Limit specifies maximum number of records to return
    Limit uint32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"`
    // Offset specifies offset for the offset-based pagination.
    // Which is limited to 10000.
    // To paginate for large number of records, use cursor-based pagination
    // instead.
    Offset uint32 `protobuf:"varint,2,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,3,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
    // Status specifies on optional status of the item to filter by.
    // If not specified, all items will be listed.
    Status pb.ItemStatus_Enum `protobuf:"varint,4,opt,name=Status,proto3,enum=pb.ItemStatus_Enum" json:"Status,omitempty"`
    // OrgID specifies optional org ID to filter by.
    OrgID string `protobuf:"bytes,5,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // contains filtered or unexported fields
}

func (*ListProjectsRequest) Descriptor

func (*ListProjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsRequest) GetCursor

func (x *ListProjectsRequest) GetCursor() string

func (*ListProjectsRequest) GetLimit

func (x *ListProjectsRequest) GetLimit() uint32

func (*ListProjectsRequest) GetOffset

func (x *ListProjectsRequest) GetOffset() uint32

func (*ListProjectsRequest) GetOrgID

func (x *ListProjectsRequest) GetOrgID() string

func (*ListProjectsRequest) GetStatus

func (x *ListProjectsRequest) GetStatus() pb.ItemStatus_Enum

func (*ListProjectsRequest) MarshalJSON

func (msg *ListProjectsRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListProjectsRequest) ProtoMessage

func (*ListProjectsRequest) ProtoMessage()

func (*ListProjectsRequest) ProtoReflect

func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message

func (*ListProjectsRequest) Reset

func (x *ListProjectsRequest) Reset()

func (*ListProjectsRequest) String

func (x *ListProjectsRequest) String() string

func (*ListProjectsRequest) UnmarshalJSON

func (msg *ListProjectsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListProjectsRequest) Validate

func (m *ListProjectsRequest) Validate(ctx context.Context) error

type ListRevokedCertificatesRequest

ListRevokedCertificatesRequest specifies a paginated list of revoked certificates, sorted by revocation ID descending with the org named explicitly: the request of Backend.ListRevokedCertificates

type ListRevokedCertificatesRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

func (*ListRevokedCertificatesRequest) Descriptor

func (*ListRevokedCertificatesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRevokedCertificatesRequest.ProtoReflect.Descriptor instead.

func (*ListRevokedCertificatesRequest) GetCursor

func (x *ListRevokedCertificatesRequest) GetCursor() string

func (*ListRevokedCertificatesRequest) GetIKID

func (x *ListRevokedCertificatesRequest) GetIKID() string

func (*ListRevokedCertificatesRequest) GetLimit

func (x *ListRevokedCertificatesRequest) GetLimit() uint32

func (*ListRevokedCertificatesRequest) GetOffset

func (x *ListRevokedCertificatesRequest) GetOffset() uint32

func (*ListRevokedCertificatesRequest) GetOrgID

func (x *ListRevokedCertificatesRequest) GetOrgID() string

func (*ListRevokedCertificatesRequest) GetProjectID

func (x *ListRevokedCertificatesRequest) GetProjectID() string

func (*ListRevokedCertificatesRequest) MarshalJSON

func (msg *ListRevokedCertificatesRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListRevokedCertificatesRequest) ProtoMessage

func (*ListRevokedCertificatesRequest) ProtoMessage()

func (*ListRevokedCertificatesRequest) ProtoReflect

func (x *ListRevokedCertificatesRequest) ProtoReflect() protoreflect.Message

func (*ListRevokedCertificatesRequest) Reset

func (x *ListRevokedCertificatesRequest) Reset()

func (*ListRevokedCertificatesRequest) String

func (x *ListRevokedCertificatesRequest) String() string

func (*ListRevokedCertificatesRequest) UnmarshalJSON

func (msg *ListRevokedCertificatesRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListRevokedCertificatesRequest) Validate

func (m *ListRevokedCertificatesRequest) Validate(ctx context.Context) error

type ListRootsRequest

ListRootsRequest specifies a list of trust anchors with the org named explicitly: the request of Backend.ListRoots

type ListRootsRequest struct {

    // OrgID of the org; empty lists the platform anchors, for a service
    // identity only
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

func (*ListRootsRequest) Descriptor

func (*ListRootsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRootsRequest.ProtoReflect.Descriptor instead.

func (*ListRootsRequest) GetCursor

func (x *ListRootsRequest) GetCursor() string

func (*ListRootsRequest) GetLimit

func (x *ListRootsRequest) GetLimit() uint32

func (*ListRootsRequest) GetOffset

func (x *ListRootsRequest) GetOffset() uint32

func (*ListRootsRequest) GetOrgID

func (x *ListRootsRequest) GetOrgID() string

func (*ListRootsRequest) MarshalJSON

func (msg *ListRootsRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListRootsRequest) ProtoMessage

func (*ListRootsRequest) ProtoMessage()

func (*ListRootsRequest) ProtoReflect

func (x *ListRootsRequest) ProtoReflect() protoreflect.Message

func (*ListRootsRequest) Reset

func (x *ListRootsRequest) Reset()

func (*ListRootsRequest) String

func (x *ListRootsRequest) String() string

func (*ListRootsRequest) UnmarshalJSON

func (msg *ListRootsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListRootsRequest) Validate

func (m *ListRootsRequest) Validate(ctx context.Context) error

type MessageAllocator

MessageAllocator defines constructor to allocate Protobuf message

type MessageAllocator func() any

type MethodInfo

MethodInfo provides info about RPC method

type MethodInfo struct {
    Allocator       RequestAllocator
    AllowedRoles    []string
    Scopes          []string
    CliCmd          string
    RefreshInterval uint32
}

func GetMethodInfo

func GetMethodInfo(method string) *MethodInfo

GetMethodInfo returns MethodInfo

func UnmarshalRequest

func UnmarshalRequest(w http.ResponseWriter, r *http.Request) (any, *MethodInfo, error)

UnmarshalRequest unmarshals JSON body of HTTP request to protobuf request

type PublishCrlsRequest

PublishCrlsRequest allows to publish CRLs on demand with the org named explicitly: the request of Backend.PublishCrls

type PublishCrlsRequest struct {

    // OrgID of the org; empty publishes for every org and the platform,
    // for a service identity only
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

func (*PublishCrlsRequest) Descriptor

func (*PublishCrlsRequest) Descriptor() ([]byte, []int)

Deprecated: Use PublishCrlsRequest.ProtoReflect.Descriptor instead.

func (*PublishCrlsRequest) GetForce

func (x *PublishCrlsRequest) GetForce() bool

func (*PublishCrlsRequest) GetIKID

func (x *PublishCrlsRequest) GetIKID() string

func (*PublishCrlsRequest) GetOrgID

func (x *PublishCrlsRequest) GetOrgID() string

func (*PublishCrlsRequest) GetProjectID

func (x *PublishCrlsRequest) GetProjectID() string

func (*PublishCrlsRequest) MarshalJSON

func (msg *PublishCrlsRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*PublishCrlsRequest) ProtoMessage

func (*PublishCrlsRequest) ProtoMessage()

func (*PublishCrlsRequest) ProtoReflect

func (x *PublishCrlsRequest) ProtoReflect() protoreflect.Message

func (*PublishCrlsRequest) Reset

func (x *PublishCrlsRequest) Reset()

func (*PublishCrlsRequest) String

func (x *PublishCrlsRequest) String() string

func (*PublishCrlsRequest) UnmarshalJSON

func (msg *PublishCrlsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*PublishCrlsRequest) Validate

func (m *PublishCrlsRequest) Validate(ctx context.Context) error

type RegisterIssuerRequest

RegisterIssuerRequest specifies a request to create a new issuer with the org named explicitly: the request of Backend.RegisterIssuer

type RegisterIssuerRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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 pb.AuthorityType_Enum `protobuf:"varint,4,opt,name=Type,proto3,enum=pb.AuthorityType_Enum" json:"Type,omitempty"`
    // Subject of the issuer certificate
    Subject *pb.X509Subject `protobuf:"bytes,5,opt,name=Subject,proto3" json:"Subject,omitempty"`
    // KeySpec of the key to generate; defaults to ECDSA P-256
    KeySpec *pb.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 *pb.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 []*pb.X509Extension `protobuf:"bytes,12,rep,name=Extensions,proto3" json:"Extensions,omitempty"`
    // contains filtered or unexported fields
}

func (*RegisterIssuerRequest) Descriptor

func (*RegisterIssuerRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterIssuerRequest.ProtoReflect.Descriptor instead.

func (*RegisterIssuerRequest) GetConfig

func (x *RegisterIssuerRequest) GetConfig() *pb.IssuerConfig

func (*RegisterIssuerRequest) GetExtensions

func (x *RegisterIssuerRequest) GetExtensions() []*pb.X509Extension

func (*RegisterIssuerRequest) GetKeyProvider

func (x *RegisterIssuerRequest) GetKeyProvider() string

func (*RegisterIssuerRequest) GetKeySpec

func (x *RegisterIssuerRequest) GetKeySpec() *pb.KeySpec

func (*RegisterIssuerRequest) GetLabel

func (x *RegisterIssuerRequest) GetLabel() string

func (*RegisterIssuerRequest) GetOrgID

func (x *RegisterIssuerRequest) GetOrgID() string

func (*RegisterIssuerRequest) GetParentID

func (x *RegisterIssuerRequest) GetParentID() string

func (*RegisterIssuerRequest) GetProfile

func (x *RegisterIssuerRequest) GetProfile() string

func (*RegisterIssuerRequest) GetProjectID

func (x *RegisterIssuerRequest) GetProjectID() string

func (*RegisterIssuerRequest) GetSAN

func (x *RegisterIssuerRequest) GetSAN() []string

func (*RegisterIssuerRequest) GetSubject

func (x *RegisterIssuerRequest) GetSubject() *pb.X509Subject

func (*RegisterIssuerRequest) GetType

func (x *RegisterIssuerRequest) GetType() pb.AuthorityType_Enum

func (*RegisterIssuerRequest) MarshalJSON

func (msg *RegisterIssuerRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RegisterIssuerRequest) ProtoMessage

func (*RegisterIssuerRequest) ProtoMessage()

func (*RegisterIssuerRequest) ProtoReflect

func (x *RegisterIssuerRequest) ProtoReflect() protoreflect.Message

func (*RegisterIssuerRequest) Reset

func (x *RegisterIssuerRequest) Reset()

func (*RegisterIssuerRequest) String

func (x *RegisterIssuerRequest) String() string

func (*RegisterIssuerRequest) UnmarshalJSON

func (msg *RegisterIssuerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*RegisterIssuerRequest) Validate

func (m *RegisterIssuerRequest) Validate(ctx context.Context) error

type RegisterProfileRequest

RegisterProfileRequest creates or replaces a profile with the org named explicitly: the request of Backend.RegisterProfile

type RegisterProfileRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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 *pb.CertProfile `protobuf:"bytes,3,opt,name=Profile,proto3" json:"Profile,omitempty"`
    // contains filtered or unexported fields
}

func (*RegisterProfileRequest) Descriptor

func (*RegisterProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterProfileRequest.ProtoReflect.Descriptor instead.

func (*RegisterProfileRequest) GetOrgID

func (x *RegisterProfileRequest) GetOrgID() string

func (*RegisterProfileRequest) GetProfile

func (x *RegisterProfileRequest) GetProfile() *pb.CertProfile

func (*RegisterProfileRequest) GetProjectID

func (x *RegisterProfileRequest) GetProjectID() string

func (*RegisterProfileRequest) MarshalJSON

func (msg *RegisterProfileRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RegisterProfileRequest) ProtoMessage

func (*RegisterProfileRequest) ProtoMessage()

func (*RegisterProfileRequest) ProtoReflect

func (x *RegisterProfileRequest) ProtoReflect() protoreflect.Message

func (*RegisterProfileRequest) Reset

func (x *RegisterProfileRequest) Reset()

func (*RegisterProfileRequest) String

func (x *RegisterProfileRequest) String() string

func (*RegisterProfileRequest) UnmarshalJSON

func (msg *RegisterProfileRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*RegisterProfileRequest) Validate

func (m *RegisterProfileRequest) Validate(ctx context.Context) error

type RegisterRootRequest

RegisterRootRequest registers an external trust anchor with the org named explicitly: the request of Backend.RegisterRoot

type RegisterRootRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // Pem encoded root certificate
    Pem string `protobuf:"bytes,2,opt,name=Pem,proto3" json:"Pem,omitempty"`
    // Trust scope
    Trust pb.Trust_Enum `protobuf:"varint,3,opt,name=Trust,proto3,enum=pb.Trust_Enum" json:"Trust,omitempty"`
    // contains filtered or unexported fields
}

func (*RegisterRootRequest) Descriptor

func (*RegisterRootRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRootRequest.ProtoReflect.Descriptor instead.

func (*RegisterRootRequest) GetOrgID

func (x *RegisterRootRequest) GetOrgID() string

func (*RegisterRootRequest) GetPem

func (x *RegisterRootRequest) GetPem() string

func (*RegisterRootRequest) GetTrust

func (x *RegisterRootRequest) GetTrust() pb.Trust_Enum

func (*RegisterRootRequest) MarshalJSON

func (msg *RegisterRootRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RegisterRootRequest) ProtoMessage

func (*RegisterRootRequest) ProtoMessage()

func (*RegisterRootRequest) ProtoReflect

func (x *RegisterRootRequest) ProtoReflect() protoreflect.Message

func (*RegisterRootRequest) Reset

func (x *RegisterRootRequest) Reset()

func (*RegisterRootRequest) String

func (x *RegisterRootRequest) String() string

func (*RegisterRootRequest) UnmarshalJSON

func (msg *RegisterRootRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*RegisterRootRequest) Validate

func (m *RegisterRootRequest) Validate(ctx context.Context) error

type RequestAllocator

RequestAllocator defines constructor to allocate Protobuf request

type RequestAllocator func() any

type RevokeCertificateRequest

RevokeCertificateRequest specifies revocation request with the org named explicitly: the request of Backend.RevokeCertificate

type RevokeCertificateRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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 *pb.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 pb.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"`
    // contains filtered or unexported fields
}

func (*RevokeCertificateRequest) Descriptor

func (*RevokeCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeCertificateRequest.ProtoReflect.Descriptor instead.

func (*RevokeCertificateRequest) GetID

func (x *RevokeCertificateRequest) GetID() string

func (*RevokeCertificateRequest) GetIssuerSerial

func (x *RevokeCertificateRequest) GetIssuerSerial() *pb.IssuerSerial

func (*RevokeCertificateRequest) GetOrgID

func (x *RevokeCertificateRequest) GetOrgID() string

func (*RevokeCertificateRequest) GetProjectID

func (x *RevokeCertificateRequest) GetProjectID() string

func (*RevokeCertificateRequest) GetReason

func (x *RevokeCertificateRequest) GetReason() pb.ReasonCode_Enum

func (*RevokeCertificateRequest) GetReasonText

func (x *RevokeCertificateRequest) GetReasonText() string

func (*RevokeCertificateRequest) GetSKID

func (x *RevokeCertificateRequest) GetSKID() string

func (*RevokeCertificateRequest) MarshalJSON

func (msg *RevokeCertificateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RevokeCertificateRequest) ProtoMessage

func (*RevokeCertificateRequest) ProtoMessage()

func (*RevokeCertificateRequest) ProtoReflect

func (x *RevokeCertificateRequest) ProtoReflect() protoreflect.Message

func (*RevokeCertificateRequest) Reset

func (x *RevokeCertificateRequest) Reset()

func (*RevokeCertificateRequest) String

func (x *RevokeCertificateRequest) String() string

func (*RevokeCertificateRequest) UnmarshalJSON

func (msg *RevokeCertificateRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*RevokeCertificateRequest) Validate

func (m *RevokeCertificateRequest) Validate(ctx context.Context) error

type SignCertificateRequest

SignCertificateRequest specifies certificate sign request with the org named explicitly: the request of Backend.SignCertificate

type SignCertificateRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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 pb.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 *pb.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 []*pb.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"`
    // contains filtered or unexported fields
}

func (*SignCertificateRequest) Descriptor

func (*SignCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignCertificateRequest.ProtoReflect.Descriptor instead.

func (*SignCertificateRequest) GetExtensions

func (x *SignCertificateRequest) GetExtensions() []*pb.X509Extension

func (*SignCertificateRequest) GetIssuerLabel

func (x *SignCertificateRequest) GetIssuerLabel() string

func (*SignCertificateRequest) GetLabel

func (x *SignCertificateRequest) GetLabel() string

func (*SignCertificateRequest) GetMetadata

func (x *SignCertificateRequest) GetMetadata() map[string]string

func (*SignCertificateRequest) GetNotAfter

func (x *SignCertificateRequest) GetNotAfter() string

func (*SignCertificateRequest) GetNotBefore

func (x *SignCertificateRequest) GetNotBefore() string

func (*SignCertificateRequest) GetOrgID

func (x *SignCertificateRequest) GetOrgID() string

func (*SignCertificateRequest) GetProfile

func (x *SignCertificateRequest) GetProfile() string

func (*SignCertificateRequest) GetProjectID

func (x *SignCertificateRequest) GetProjectID() string

func (*SignCertificateRequest) GetRequest

func (x *SignCertificateRequest) GetRequest() []byte

func (*SignCertificateRequest) GetRequestFormat

func (x *SignCertificateRequest) GetRequestFormat() pb.EncodingFormat_Enum

func (*SignCertificateRequest) GetSAN

func (x *SignCertificateRequest) GetSAN() []string

func (*SignCertificateRequest) GetSubject

func (x *SignCertificateRequest) GetSubject() *pb.X509Subject

func (*SignCertificateRequest) MarshalJSON

func (msg *SignCertificateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*SignCertificateRequest) ProtoMessage

func (*SignCertificateRequest) ProtoMessage()

func (*SignCertificateRequest) ProtoReflect

func (x *SignCertificateRequest) ProtoReflect() protoreflect.Message

func (*SignCertificateRequest) Reset

func (x *SignCertificateRequest) Reset()

func (*SignCertificateRequest) String

func (x *SignCertificateRequest) String() string

func (*SignCertificateRequest) UnmarshalJSON

func (msg *SignCertificateRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*SignCertificateRequest) Validate

func (m *SignCertificateRequest) Validate(ctx context.Context) error

type UnimplementedAdminServer

UnimplementedAdminServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

type UnimplementedAdminServer struct{}

func (UnimplementedAdminServer) ListCertificates

func (UnimplementedAdminServer) ListCertificates(context.Context, *ListAllCertificatesRequest) (*pb.CertificatesResponse, error)

func (UnimplementedAdminServer) ListIssuers

func (UnimplementedAdminServer) ListIssuers(context.Context, *ListAllIssuersRequest) (*pb.IssuersResponse, error)

func (UnimplementedAdminServer) ListOrgs

func (UnimplementedAdminServer) ListOrgs(context.Context, *ListOrgsRequest) (*pb.OrgsResponse, error)

func (UnimplementedAdminServer) ListProjects

func (UnimplementedAdminServer) ListProjects(context.Context, *ListProjectsRequest) (*pb.ProjectsResponse, error)

type UnimplementedBackendServer

UnimplementedBackendServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

type UnimplementedBackendServer struct{}

func (UnimplementedBackendServer) ActivateIssuer

func (UnimplementedBackendServer) ActivateIssuer(context.Context, *ActivateIssuerRequest) (*pb.Issuer, error)

func (UnimplementedBackendServer) DeleteProfile

func (UnimplementedBackendServer) DeleteProfile(context.Context, *DeleteProfileRequest) (*emptypb.Empty, error)

func (UnimplementedBackendServer) GetCRL

func (UnimplementedBackendServer) GetCRL(context.Context, *GetCrlRequest) (*pb.CrlResponse, error)

func (UnimplementedBackendServer) GetCertificate

func (UnimplementedBackendServer) GetCertificate(context.Context, *GetCertificateRequest) (*pb.CertificateResponse, error)

func (UnimplementedBackendServer) GetIssuer

func (UnimplementedBackendServer) GetIssuer(context.Context, *GetIssuerRequest) (*pb.Issuer, error)

func (UnimplementedBackendServer) GetProfile

func (UnimplementedBackendServer) GetProfile(context.Context, *GetProfileRequest) (*pb.CertProfile, error)

func (UnimplementedBackendServer) GetSummary

func (UnimplementedBackendServer) GetSummary(context.Context, *GetSummaryRequest) (*pb.SummaryResponse, error)

func (UnimplementedBackendServer) ImportIssuer

func (UnimplementedBackendServer) ImportIssuer(context.Context, *ImportIssuerRequest) (*pb.Issuer, error)

func (UnimplementedBackendServer) ListCertificates

func (UnimplementedBackendServer) ListCertificates(context.Context, *ListCertificatesRequest) (*pb.CertificatesResponse, error)

func (UnimplementedBackendServer) ListIssuers

func (UnimplementedBackendServer) ListIssuers(context.Context, *ListIssuersRequest) (*pb.IssuersResponse, error)

func (UnimplementedBackendServer) ListProfiles

func (UnimplementedBackendServer) ListProfiles(context.Context, *ListProfilesRequest) (*pb.ProfilesResponse, error)

func (UnimplementedBackendServer) ListRevokedCertificates

func (UnimplementedBackendServer) ListRevokedCertificates(context.Context, *ListRevokedCertificatesRequest) (*pb.RevokedCertificatesResponse, error)

func (UnimplementedBackendServer) ListRoots

func (UnimplementedBackendServer) ListRoots(context.Context, *ListRootsRequest) (*pb.RootsResponse, error)

func (UnimplementedBackendServer) PublishCrls

func (UnimplementedBackendServer) PublishCrls(context.Context, *PublishCrlsRequest) (*pb.CrlsResponse, error)

func (UnimplementedBackendServer) RegisterIssuer

func (UnimplementedBackendServer) RegisterIssuer(context.Context, *RegisterIssuerRequest) (*pb.Issuer, error)

func (UnimplementedBackendServer) RegisterProfile

func (UnimplementedBackendServer) RegisterProfile(context.Context, *RegisterProfileRequest) (*pb.CertProfile, error)

func (UnimplementedBackendServer) RegisterRoot

func (UnimplementedBackendServer) RegisterRoot(context.Context, *RegisterRootRequest) (*pb.RootCertificate, error)

func (UnimplementedBackendServer) RevokeCertificate

func (UnimplementedBackendServer) RevokeCertificate(context.Context, *RevokeCertificateRequest) (*pb.RevokedCertificateResponse, error)

func (UnimplementedBackendServer) SignCertificate

func (UnimplementedBackendServer) SignCertificate(context.Context, *SignCertificateRequest) (*pb.CertificateResponse, error)

func (UnimplementedBackendServer) SignOCSP

func (UnimplementedBackendServer) SignOCSP(context.Context, *pb.OCSPRequest) (*pb.OCSPResponse, error)

func (UnimplementedBackendServer) UpdateCertificateLabel

func (UnimplementedBackendServer) UpdateCertificateLabel(context.Context, *UpdateCertificateLabelRequest) (*pb.CertificateResponse, error)

func (UnimplementedBackendServer) UpdateIssuer

func (UnimplementedBackendServer) UpdateIssuer(context.Context, *UpdateIssuerRequest) (*pb.Issuer, error)

type UnsafeAdminServer

UnsafeAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServer will result in compilation errors.

type UnsafeAdminServer interface {
    // contains filtered or unexported methods
}

type UnsafeBackendServer

UnsafeBackendServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackendServer will result in compilation errors.

type UnsafeBackendServer interface {
    // contains filtered or unexported methods
}

type UpdateCertificateLabelRequest

UpdateCertificateLabelRequest specifies certificate label update request with the org named explicitly: the request of Backend.UpdateCertificateLabel

type UpdateCertificateLabelRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

func (*UpdateCertificateLabelRequest) Descriptor

func (*UpdateCertificateLabelRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCertificateLabelRequest.ProtoReflect.Descriptor instead.

func (*UpdateCertificateLabelRequest) GetID

func (x *UpdateCertificateLabelRequest) GetID() string

func (*UpdateCertificateLabelRequest) GetLabel

func (x *UpdateCertificateLabelRequest) GetLabel() string

func (*UpdateCertificateLabelRequest) GetMetadata

func (x *UpdateCertificateLabelRequest) GetMetadata() map[string]string

func (*UpdateCertificateLabelRequest) GetOrgID

func (x *UpdateCertificateLabelRequest) GetOrgID() string

func (*UpdateCertificateLabelRequest) GetProjectID

func (x *UpdateCertificateLabelRequest) GetProjectID() string

func (*UpdateCertificateLabelRequest) MarshalJSON

func (msg *UpdateCertificateLabelRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpdateCertificateLabelRequest) ProtoMessage

func (*UpdateCertificateLabelRequest) ProtoMessage()

func (*UpdateCertificateLabelRequest) ProtoReflect

func (x *UpdateCertificateLabelRequest) ProtoReflect() protoreflect.Message

func (*UpdateCertificateLabelRequest) Reset

func (x *UpdateCertificateLabelRequest) Reset()

func (*UpdateCertificateLabelRequest) String

func (x *UpdateCertificateLabelRequest) String() string

func (*UpdateCertificateLabelRequest) UnmarshalJSON

func (msg *UpdateCertificateLabelRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpdateCertificateLabelRequest) Validate

func (m *UpdateCertificateLabelRequest) Validate(ctx context.Context) error

type UpdateIssuerRequest

UpdateIssuerRequest updates issuer config or status with the org named explicitly: the request of Backend.UpdateIssuer

type UpdateIssuerRequest struct {

    // OrgID of the owning org: the org of the token of the caller the CA
    // service forwards, or the org a service identity names
    OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
    // ID of the issuer
    ID  string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
    // Config replaces runtime settings when provided
    Config *pb.IssuerConfig `protobuf:"bytes,3,opt,name=Config,proto3" json:"Config,omitempty"`
    // Status changes the status when provided: Archived or Destroyed
    Status pb.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"`
    // contains filtered or unexported fields
}

func (*UpdateIssuerRequest) Descriptor

func (*UpdateIssuerRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateIssuerRequest.ProtoReflect.Descriptor instead.

func (*UpdateIssuerRequest) GetConfig

func (x *UpdateIssuerRequest) GetConfig() *pb.IssuerConfig

func (*UpdateIssuerRequest) GetID

func (x *UpdateIssuerRequest) GetID() string

func (*UpdateIssuerRequest) GetOrgID

func (x *UpdateIssuerRequest) GetOrgID() string

func (*UpdateIssuerRequest) GetProjectID

func (x *UpdateIssuerRequest) GetProjectID() string

func (*UpdateIssuerRequest) GetStatus

func (x *UpdateIssuerRequest) GetStatus() pb.IssuerStatus_Enum

func (*UpdateIssuerRequest) MarshalJSON

func (msg *UpdateIssuerRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpdateIssuerRequest) ProtoMessage

func (*UpdateIssuerRequest) ProtoMessage()

func (*UpdateIssuerRequest) ProtoReflect

func (x *UpdateIssuerRequest) ProtoReflect() protoreflect.Message

func (*UpdateIssuerRequest) Reset

func (x *UpdateIssuerRequest) Reset()

func (*UpdateIssuerRequest) String

func (x *UpdateIssuerRequest) String() string

func (*UpdateIssuerRequest) UnmarshalJSON

func (msg *UpdateIssuerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpdateIssuerRequest) Validate

func (m *UpdateIssuerRequest) Validate(ctx context.Context) error

Generated by gomarkdoc