597 lines
21 KiB
Go
597 lines
21 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.5
|
|
// protoc v3.20.1
|
|
// source: ca.proto
|
|
|
|
package proto
|
|
|
|
import (
|
|
proto "github.com/letsencrypt/boulder/core/proto"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type IssueCertificateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Next unused field number: 6
|
|
Csr []byte `protobuf:"bytes,1,opt,name=csr,proto3" json:"csr,omitempty"`
|
|
RegistrationID int64 `protobuf:"varint,2,opt,name=registrationID,proto3" json:"registrationID,omitempty"`
|
|
OrderID int64 `protobuf:"varint,3,opt,name=orderID,proto3" json:"orderID,omitempty"`
|
|
// certProfileName is a human readable name provided by the RA and used to
|
|
// determine if the CA can issue for that profile. A default name will be
|
|
// assigned inside the CA during *Profile construction if no name is provided.
|
|
// The value of this field should not be relied upon inside the RA.
|
|
CertProfileName string `protobuf:"bytes,5,opt,name=certProfileName,proto3" json:"certProfileName,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IssueCertificateRequest) Reset() {
|
|
*x = IssueCertificateRequest{}
|
|
mi := &file_ca_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IssueCertificateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IssueCertificateRequest) ProtoMessage() {}
|
|
|
|
func (x *IssueCertificateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ca_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use IssueCertificateRequest.ProtoReflect.Descriptor instead.
|
|
func (*IssueCertificateRequest) Descriptor() ([]byte, []int) {
|
|
return file_ca_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *IssueCertificateRequest) GetCsr() []byte {
|
|
if x != nil {
|
|
return x.Csr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *IssueCertificateRequest) GetRegistrationID() int64 {
|
|
if x != nil {
|
|
return x.RegistrationID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *IssueCertificateRequest) GetOrderID() int64 {
|
|
if x != nil {
|
|
return x.OrderID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *IssueCertificateRequest) GetCertProfileName() string {
|
|
if x != nil {
|
|
return x.CertProfileName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type IssueCertificateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DER []byte `protobuf:"bytes,1,opt,name=DER,proto3" json:"DER,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IssueCertificateResponse) Reset() {
|
|
*x = IssueCertificateResponse{}
|
|
mi := &file_ca_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IssueCertificateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IssueCertificateResponse) ProtoMessage() {}
|
|
|
|
func (x *IssueCertificateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ca_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use IssueCertificateResponse.ProtoReflect.Descriptor instead.
|
|
func (*IssueCertificateResponse) Descriptor() ([]byte, []int) {
|
|
return file_ca_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *IssueCertificateResponse) GetDER() []byte {
|
|
if x != nil {
|
|
return x.DER
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Exactly one of certDER or [serial and issuerID] must be set.
|
|
type GenerateOCSPRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Next unused field number: 8
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
Reason int32 `protobuf:"varint,3,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
RevokedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=revokedAt,proto3" json:"revokedAt,omitempty"`
|
|
Serial string `protobuf:"bytes,5,opt,name=serial,proto3" json:"serial,omitempty"`
|
|
IssuerID int64 `protobuf:"varint,6,opt,name=issuerID,proto3" json:"issuerID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GenerateOCSPRequest) Reset() {
|
|
*x = GenerateOCSPRequest{}
|
|
mi := &file_ca_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GenerateOCSPRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GenerateOCSPRequest) ProtoMessage() {}
|
|
|
|
func (x *GenerateOCSPRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ca_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GenerateOCSPRequest.ProtoReflect.Descriptor instead.
|
|
func (*GenerateOCSPRequest) Descriptor() ([]byte, []int) {
|
|
return file_ca_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GenerateOCSPRequest) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GenerateOCSPRequest) GetReason() int32 {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GenerateOCSPRequest) GetRevokedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.RevokedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GenerateOCSPRequest) GetSerial() string {
|
|
if x != nil {
|
|
return x.Serial
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GenerateOCSPRequest) GetIssuerID() int64 {
|
|
if x != nil {
|
|
return x.IssuerID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OCSPResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Response []byte `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OCSPResponse) Reset() {
|
|
*x = OCSPResponse{}
|
|
mi := &file_ca_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OCSPResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OCSPResponse) ProtoMessage() {}
|
|
|
|
func (x *OCSPResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ca_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OCSPResponse.ProtoReflect.Descriptor instead.
|
|
func (*OCSPResponse) Descriptor() ([]byte, []int) {
|
|
return file_ca_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *OCSPResponse) GetResponse() []byte {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GenerateCRLRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Payload:
|
|
//
|
|
// *GenerateCRLRequest_Metadata
|
|
// *GenerateCRLRequest_Entry
|
|
Payload isGenerateCRLRequest_Payload `protobuf_oneof:"payload"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GenerateCRLRequest) Reset() {
|
|
*x = GenerateCRLRequest{}
|
|
mi := &file_ca_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GenerateCRLRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GenerateCRLRequest) ProtoMessage() {}
|
|
|
|
func (x *GenerateCRLRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ca_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GenerateCRLRequest.ProtoReflect.Descriptor instead.
|
|
func (*GenerateCRLRequest) Descriptor() ([]byte, []int) {
|
|
return file_ca_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GenerateCRLRequest) GetPayload() isGenerateCRLRequest_Payload {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GenerateCRLRequest) GetMetadata() *CRLMetadata {
|
|
if x != nil {
|
|
if x, ok := x.Payload.(*GenerateCRLRequest_Metadata); ok {
|
|
return x.Metadata
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GenerateCRLRequest) GetEntry() *proto.CRLEntry {
|
|
if x != nil {
|
|
if x, ok := x.Payload.(*GenerateCRLRequest_Entry); ok {
|
|
return x.Entry
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isGenerateCRLRequest_Payload interface {
|
|
isGenerateCRLRequest_Payload()
|
|
}
|
|
|
|
type GenerateCRLRequest_Metadata struct {
|
|
Metadata *CRLMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
|
|
}
|
|
|
|
type GenerateCRLRequest_Entry struct {
|
|
Entry *proto.CRLEntry `protobuf:"bytes,2,opt,name=entry,proto3,oneof"`
|
|
}
|
|
|
|
func (*GenerateCRLRequest_Metadata) isGenerateCRLRequest_Payload() {}
|
|
|
|
func (*GenerateCRLRequest_Entry) isGenerateCRLRequest_Payload() {}
|
|
|
|
type CRLMetadata struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Next unused field number: 5
|
|
IssuerNameID int64 `protobuf:"varint,1,opt,name=issuerNameID,proto3" json:"issuerNameID,omitempty"`
|
|
ThisUpdate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=thisUpdate,proto3" json:"thisUpdate,omitempty"`
|
|
ShardIdx int64 `protobuf:"varint,3,opt,name=shardIdx,proto3" json:"shardIdx,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CRLMetadata) Reset() {
|
|
*x = CRLMetadata{}
|
|
mi := &file_ca_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CRLMetadata) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CRLMetadata) ProtoMessage() {}
|
|
|
|
func (x *CRLMetadata) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ca_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CRLMetadata.ProtoReflect.Descriptor instead.
|
|
func (*CRLMetadata) Descriptor() ([]byte, []int) {
|
|
return file_ca_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CRLMetadata) GetIssuerNameID() int64 {
|
|
if x != nil {
|
|
return x.IssuerNameID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CRLMetadata) GetThisUpdate() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ThisUpdate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CRLMetadata) GetShardIdx() int64 {
|
|
if x != nil {
|
|
return x.ShardIdx
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GenerateCRLResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GenerateCRLResponse) Reset() {
|
|
*x = GenerateCRLResponse{}
|
|
mi := &file_ca_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GenerateCRLResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GenerateCRLResponse) ProtoMessage() {}
|
|
|
|
func (x *GenerateCRLResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ca_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GenerateCRLResponse.ProtoReflect.Descriptor instead.
|
|
func (*GenerateCRLResponse) Descriptor() ([]byte, []int) {
|
|
return file_ca_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GenerateCRLResponse) GetChunk() []byte {
|
|
if x != nil {
|
|
return x.Chunk
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_ca_proto protoreflect.FileDescriptor
|
|
|
|
var file_ca_proto_rawDesc = string([]byte{
|
|
0x0a, 0x08, 0x63, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x63, 0x61, 0x1a, 0x15,
|
|
0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x17, 0x49, 0x73, 0x73, 0x75, 0x65,
|
|
0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x73, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x03, 0x63, 0x73, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65,
|
|
0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07,
|
|
0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6f,
|
|
0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x65, 0x72, 0x74, 0x50, 0x72,
|
|
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0f, 0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65,
|
|
0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0x2c, 0x0a, 0x18, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43,
|
|
0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x44, 0x45, 0x52, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x03, 0x44, 0x45, 0x52, 0x22, 0xb9, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
|
|
0x65, 0x4f, 0x43, 0x53, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
|
|
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74,
|
|
0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x09,
|
|
0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x72, 0x65, 0x76,
|
|
0x6f, 0x6b, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05,
|
|
0x22, 0x2a, 0x0a, 0x0c, 0x4f, 0x43, 0x53, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x76, 0x0a, 0x12,
|
|
0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x61, 0x2e, 0x43, 0x52, 0x4c, 0x4d, 0x65, 0x74,
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
|
|
0x61, 0x12, 0x26, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x52, 0x4c, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x48, 0x00, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79,
|
|
0x6c, 0x6f, 0x61, 0x64, 0x22, 0x8f, 0x01, 0x0a, 0x0b, 0x43, 0x52, 0x4c, 0x4d, 0x65, 0x74, 0x61,
|
|
0x64, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61,
|
|
0x6d, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x69, 0x73, 0x73, 0x75,
|
|
0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x12, 0x3a, 0x0a, 0x0a, 0x74, 0x68, 0x69, 0x73,
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
|
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x74, 0x68, 0x69, 0x73, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x78,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x78,
|
|
0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x2b, 0x0a, 0x13, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61,
|
|
0x74, 0x65, 0x43, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a,
|
|
0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x63, 0x68,
|
|
0x75, 0x6e, 0x6b, 0x32, 0x67, 0x0a, 0x14, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
|
|
0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4f, 0x0a, 0x10, 0x49,
|
|
0x73, 0x73, 0x75, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12,
|
|
0x1b, 0x2e, 0x63, 0x61, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66,
|
|
0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x63,
|
|
0x61, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
|
|
0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0x4c, 0x0a, 0x0d,
|
|
0x4f, 0x43, 0x53, 0x50, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x3b, 0x0a,
|
|
0x0c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x53, 0x50, 0x12, 0x17, 0x2e,
|
|
0x63, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x53, 0x50, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x63, 0x61, 0x2e, 0x4f, 0x43, 0x53, 0x50,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0x54, 0x0a, 0x0c, 0x43, 0x52,
|
|
0x4c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x44, 0x0a, 0x0b, 0x47, 0x65,
|
|
0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x52, 0x4c, 0x12, 0x16, 0x2e, 0x63, 0x61, 0x2e, 0x47,
|
|
0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x17, 0x2e, 0x63, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43,
|
|
0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01,
|
|
0x42, 0x29, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c,
|
|
0x65, 0x74, 0x73, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x2f, 0x62, 0x6f, 0x75, 0x6c, 0x64,
|
|
0x65, 0x72, 0x2f, 0x63, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x33,
|
|
})
|
|
|
|
var (
|
|
file_ca_proto_rawDescOnce sync.Once
|
|
file_ca_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_ca_proto_rawDescGZIP() []byte {
|
|
file_ca_proto_rawDescOnce.Do(func() {
|
|
file_ca_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ca_proto_rawDesc), len(file_ca_proto_rawDesc)))
|
|
})
|
|
return file_ca_proto_rawDescData
|
|
}
|
|
|
|
var file_ca_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
var file_ca_proto_goTypes = []any{
|
|
(*IssueCertificateRequest)(nil), // 0: ca.IssueCertificateRequest
|
|
(*IssueCertificateResponse)(nil), // 1: ca.IssueCertificateResponse
|
|
(*GenerateOCSPRequest)(nil), // 2: ca.GenerateOCSPRequest
|
|
(*OCSPResponse)(nil), // 3: ca.OCSPResponse
|
|
(*GenerateCRLRequest)(nil), // 4: ca.GenerateCRLRequest
|
|
(*CRLMetadata)(nil), // 5: ca.CRLMetadata
|
|
(*GenerateCRLResponse)(nil), // 6: ca.GenerateCRLResponse
|
|
(*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp
|
|
(*proto.CRLEntry)(nil), // 8: core.CRLEntry
|
|
}
|
|
var file_ca_proto_depIdxs = []int32{
|
|
7, // 0: ca.GenerateOCSPRequest.revokedAt:type_name -> google.protobuf.Timestamp
|
|
5, // 1: ca.GenerateCRLRequest.metadata:type_name -> ca.CRLMetadata
|
|
8, // 2: ca.GenerateCRLRequest.entry:type_name -> core.CRLEntry
|
|
7, // 3: ca.CRLMetadata.thisUpdate:type_name -> google.protobuf.Timestamp
|
|
0, // 4: ca.CertificateAuthority.IssueCertificate:input_type -> ca.IssueCertificateRequest
|
|
2, // 5: ca.OCSPGenerator.GenerateOCSP:input_type -> ca.GenerateOCSPRequest
|
|
4, // 6: ca.CRLGenerator.GenerateCRL:input_type -> ca.GenerateCRLRequest
|
|
1, // 7: ca.CertificateAuthority.IssueCertificate:output_type -> ca.IssueCertificateResponse
|
|
3, // 8: ca.OCSPGenerator.GenerateOCSP:output_type -> ca.OCSPResponse
|
|
6, // 9: ca.CRLGenerator.GenerateCRL:output_type -> ca.GenerateCRLResponse
|
|
7, // [7:10] is the sub-list for method output_type
|
|
4, // [4:7] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_ca_proto_init() }
|
|
func file_ca_proto_init() {
|
|
if File_ca_proto != nil {
|
|
return
|
|
}
|
|
file_ca_proto_msgTypes[4].OneofWrappers = []any{
|
|
(*GenerateCRLRequest_Metadata)(nil),
|
|
(*GenerateCRLRequest_Entry)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_ca_proto_rawDesc), len(file_ca_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 7,
|
|
NumExtensions: 0,
|
|
NumServices: 3,
|
|
},
|
|
GoTypes: file_ca_proto_goTypes,
|
|
DependencyIndexes: file_ca_proto_depIdxs,
|
|
MessageInfos: file_ca_proto_msgTypes,
|
|
}.Build()
|
|
File_ca_proto = out.File
|
|
file_ca_proto_goTypes = nil
|
|
file_ca_proto_depIdxs = nil
|
|
}
|