1727 lines
56 KiB
Go
1727 lines
56 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v3.19.6
|
||
// source: service_ssl_cert.proto
|
||
|
||
package pb
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
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 CreateSSLCertRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
IsOn bool `protobuf:"varint,1,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||
UserId int64 `protobuf:"varint,12,opt,name=userId,proto3" json:"userId,omitempty"` // 所属用户,仅管理员才能指定
|
||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
||
ServerName string `protobuf:"bytes,4,opt,name=serverName,proto3" json:"serverName,omitempty"`
|
||
IsCA bool `protobuf:"varint,5,opt,name=isCA,proto3" json:"isCA,omitempty"`
|
||
CertData []byte `protobuf:"bytes,6,opt,name=certData,proto3" json:"certData,omitempty"`
|
||
KeyData []byte `protobuf:"bytes,7,opt,name=keyData,proto3" json:"keyData,omitempty"`
|
||
TimeBeginAt int64 `protobuf:"varint,8,opt,name=timeBeginAt,proto3" json:"timeBeginAt,omitempty"`
|
||
TimeEndAt int64 `protobuf:"varint,9,opt,name=timeEndAt,proto3" json:"timeEndAt,omitempty"`
|
||
DnsNames []string `protobuf:"bytes,10,rep,name=dnsNames,proto3" json:"dnsNames,omitempty"`
|
||
CommonNames []string `protobuf:"bytes,11,rep,name=commonNames,proto3" json:"commonNames,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) Reset() {
|
||
*x = CreateSSLCertRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateSSLCertRequest) ProtoMessage() {}
|
||
|
||
func (x *CreateSSLCertRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_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 CreateSSLCertRequest.ProtoReflect.Descriptor instead.
|
||
func (*CreateSSLCertRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetIsOn() bool {
|
||
if x != nil {
|
||
return x.IsOn
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetDescription() string {
|
||
if x != nil {
|
||
return x.Description
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetServerName() string {
|
||
if x != nil {
|
||
return x.ServerName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetIsCA() bool {
|
||
if x != nil {
|
||
return x.IsCA
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetCertData() []byte {
|
||
if x != nil {
|
||
return x.CertData
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetKeyData() []byte {
|
||
if x != nil {
|
||
return x.KeyData
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetTimeBeginAt() int64 {
|
||
if x != nil {
|
||
return x.TimeBeginAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetTimeEndAt() int64 {
|
||
if x != nil {
|
||
return x.TimeEndAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetDnsNames() []string {
|
||
if x != nil {
|
||
return x.DnsNames
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateSSLCertRequest) GetCommonNames() []string {
|
||
if x != nil {
|
||
return x.CommonNames
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type CreateSSLCertResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateSSLCertResponse) Reset() {
|
||
*x = CreateSSLCertResponse{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateSSLCertResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateSSLCertResponse) ProtoMessage() {}
|
||
|
||
func (x *CreateSSLCertResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_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 CreateSSLCertResponse.ProtoReflect.Descriptor instead.
|
||
func (*CreateSSLCertResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *CreateSSLCertResponse) GetSslCertId() int64 {
|
||
if x != nil {
|
||
return x.SslCertId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 创建一组证书
|
||
type CreateSSLCertsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SSLCerts []*CreateSSLCertsRequestCert `protobuf:"bytes,1,rep,name=SSLCerts,proto3" json:"SSLCerts,omitempty"` // 证书信息
|
||
UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequest) Reset() {
|
||
*x = CreateSSLCertsRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateSSLCertsRequest) ProtoMessage() {}
|
||
|
||
func (x *CreateSSLCertsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_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 CreateSSLCertsRequest.ProtoReflect.Descriptor instead.
|
||
func (*CreateSSLCertsRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequest) GetSSLCerts() []*CreateSSLCertsRequestCert {
|
||
if x != nil {
|
||
return x.SSLCerts
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type CreateSSLCertsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertIds []int64 `protobuf:"varint,1,rep,packed,name=sslCertIds,proto3" json:"sslCertIds,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateSSLCertsResponse) Reset() {
|
||
*x = CreateSSLCertsResponse{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateSSLCertsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateSSLCertsResponse) ProtoMessage() {}
|
||
|
||
func (x *CreateSSLCertsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_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 CreateSSLCertsResponse.ProtoReflect.Descriptor instead.
|
||
func (*CreateSSLCertsResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *CreateSSLCertsResponse) GetSslCertIds() []int64 {
|
||
if x != nil {
|
||
return x.SslCertIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 修改证书
|
||
type UpdateSSLCertRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"`
|
||
IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
|
||
ServerName string `protobuf:"bytes,5,opt,name=serverName,proto3" json:"serverName,omitempty"`
|
||
IsCA bool `protobuf:"varint,6,opt,name=isCA,proto3" json:"isCA,omitempty"`
|
||
CertData []byte `protobuf:"bytes,7,opt,name=certData,proto3" json:"certData,omitempty"`
|
||
KeyData []byte `protobuf:"bytes,8,opt,name=keyData,proto3" json:"keyData,omitempty"`
|
||
TimeBeginAt int64 `protobuf:"varint,9,opt,name=timeBeginAt,proto3" json:"timeBeginAt,omitempty"`
|
||
TimeEndAt int64 `protobuf:"varint,10,opt,name=timeEndAt,proto3" json:"timeEndAt,omitempty"`
|
||
DnsNames []string `protobuf:"bytes,11,rep,name=dnsNames,proto3" json:"dnsNames,omitempty"`
|
||
CommonNames []string `protobuf:"bytes,12,rep,name=commonNames,proto3" json:"commonNames,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) Reset() {
|
||
*x = UpdateSSLCertRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateSSLCertRequest) ProtoMessage() {}
|
||
|
||
func (x *UpdateSSLCertRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_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 UpdateSSLCertRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateSSLCertRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetSslCertId() int64 {
|
||
if x != nil {
|
||
return x.SslCertId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetIsOn() bool {
|
||
if x != nil {
|
||
return x.IsOn
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetDescription() string {
|
||
if x != nil {
|
||
return x.Description
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetServerName() string {
|
||
if x != nil {
|
||
return x.ServerName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetIsCA() bool {
|
||
if x != nil {
|
||
return x.IsCA
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetCertData() []byte {
|
||
if x != nil {
|
||
return x.CertData
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetKeyData() []byte {
|
||
if x != nil {
|
||
return x.KeyData
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetTimeBeginAt() int64 {
|
||
if x != nil {
|
||
return x.TimeBeginAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetTimeEndAt() int64 {
|
||
if x != nil {
|
||
return x.TimeEndAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetDnsNames() []string {
|
||
if x != nil {
|
||
return x.DnsNames
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateSSLCertRequest) GetCommonNames() []string {
|
||
if x != nil {
|
||
return x.CommonNames
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 查找证书配置
|
||
type FindEnabledSSLCertConfigRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledSSLCertConfigRequest) Reset() {
|
||
*x = FindEnabledSSLCertConfigRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindEnabledSSLCertConfigRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindEnabledSSLCertConfigRequest) ProtoMessage() {}
|
||
|
||
func (x *FindEnabledSSLCertConfigRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_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 FindEnabledSSLCertConfigRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindEnabledSSLCertConfigRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *FindEnabledSSLCertConfigRequest) GetSslCertId() int64 {
|
||
if x != nil {
|
||
return x.SslCertId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FindEnabledSSLCertConfigResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertJSON []byte `protobuf:"bytes,1,opt,name=sslCertJSON,proto3" json:"sslCertJSON,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledSSLCertConfigResponse) Reset() {
|
||
*x = FindEnabledSSLCertConfigResponse{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindEnabledSSLCertConfigResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindEnabledSSLCertConfigResponse) ProtoMessage() {}
|
||
|
||
func (x *FindEnabledSSLCertConfigResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_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 FindEnabledSSLCertConfigResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindEnabledSSLCertConfigResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *FindEnabledSSLCertConfigResponse) GetSslCertJSON() []byte {
|
||
if x != nil {
|
||
return x.SslCertJSON
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 删除证书
|
||
type DeleteSSLCertRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeleteSSLCertRequest) Reset() {
|
||
*x = DeleteSSLCertRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DeleteSSLCertRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeleteSSLCertRequest) ProtoMessage() {}
|
||
|
||
func (x *DeleteSSLCertRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[7]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use DeleteSSLCertRequest.ProtoReflect.Descriptor instead.
|
||
func (*DeleteSSLCertRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *DeleteSSLCertRequest) GetSslCertId() int64 {
|
||
if x != nil {
|
||
return x.SslCertId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 计算匹配的证书数量
|
||
type CountSSLCertRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
IsCA bool `protobuf:"varint,1,opt,name=isCA,proto3" json:"isCA,omitempty"` // 可选项,是否为CA证书
|
||
IsAvailable bool `protobuf:"varint,2,opt,name=isAvailable,proto3" json:"isAvailable,omitempty"` // 可选项,是否可用(在有效期内)
|
||
IsExpired bool `protobuf:"varint,3,opt,name=isExpired,proto3" json:"isExpired,omitempty"` // 可选项,是否已过期
|
||
ExpiringDays int32 `protobuf:"varint,4,opt,name=expiringDays,proto3" json:"expiringDays,omitempty"` // 可选项,离过期日的天数
|
||
Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"` // 可选项,关键词
|
||
UserId int64 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"` // 可选项,用户ID,不填则表示读取管理员上传的证书
|
||
Domains []string `protobuf:"bytes,7,rep,name=domains,proto3" json:"domains,omitempty"` // 可选项,搜索使用的域名列表
|
||
UserOnly bool `protobuf:"varint,8,opt,name=userOnly,proto3" json:"userOnly,omitempty"` // 可选项,只列出用户上传的证书
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CountSSLCertRequest) Reset() {
|
||
*x = CountSSLCertRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CountSSLCertRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CountSSLCertRequest) ProtoMessage() {}
|
||
|
||
func (x *CountSSLCertRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[8]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CountSSLCertRequest.ProtoReflect.Descriptor instead.
|
||
func (*CountSSLCertRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *CountSSLCertRequest) GetIsCA() bool {
|
||
if x != nil {
|
||
return x.IsCA
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CountSSLCertRequest) GetIsAvailable() bool {
|
||
if x != nil {
|
||
return x.IsAvailable
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CountSSLCertRequest) GetIsExpired() bool {
|
||
if x != nil {
|
||
return x.IsExpired
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CountSSLCertRequest) GetExpiringDays() int32 {
|
||
if x != nil {
|
||
return x.ExpiringDays
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CountSSLCertRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CountSSLCertRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CountSSLCertRequest) GetDomains() []string {
|
||
if x != nil {
|
||
return x.Domains
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CountSSLCertRequest) GetUserOnly() bool {
|
||
if x != nil {
|
||
return x.UserOnly
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 列出单页匹配的证书
|
||
type ListSSLCertsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
IsCA bool `protobuf:"varint,1,opt,name=isCA,proto3" json:"isCA,omitempty"` // 可选项,是否为CA证书
|
||
IsAvailable bool `protobuf:"varint,2,opt,name=isAvailable,proto3" json:"isAvailable,omitempty"` // 可选项,是否可用(在有效期内)
|
||
IsExpired bool `protobuf:"varint,3,opt,name=isExpired,proto3" json:"isExpired,omitempty"` //可选项, 是否已过期
|
||
ExpiringDays int32 `protobuf:"varint,4,opt,name=expiringDays,proto3" json:"expiringDays,omitempty"` // 可选项,离过期日的天数
|
||
Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"` // 可选项,关键词
|
||
UserId int64 `protobuf:"varint,8,opt,name=userId,proto3" json:"userId,omitempty"` // 可选项,用户ID,不填则表示读取管理员上传的证书
|
||
Domains []string `protobuf:"bytes,9,rep,name=domains,proto3" json:"domains,omitempty"` // 可选项,搜索使用的域名列表
|
||
Offset int64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` // 读取位置
|
||
Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"` // 读取长度,不能小于0
|
||
UserOnly bool `protobuf:"varint,10,opt,name=userOnly,proto3" json:"userOnly,omitempty"` // 可选项,只列出用户上传的证书
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) Reset() {
|
||
*x = ListSSLCertsRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListSSLCertsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListSSLCertsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[9]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ListSSLCertsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListSSLCertsRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) GetIsCA() bool {
|
||
if x != nil {
|
||
return x.IsCA
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) GetIsAvailable() bool {
|
||
if x != nil {
|
||
return x.IsAvailable
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) GetIsExpired() bool {
|
||
if x != nil {
|
||
return x.IsExpired
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) GetExpiringDays() int32 {
|
||
if x != nil {
|
||
return x.ExpiringDays
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) GetDomains() []string {
|
||
if x != nil {
|
||
return x.Domains
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) GetOffset() int64 {
|
||
if x != nil {
|
||
return x.Offset
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) GetSize() int64 {
|
||
if x != nil {
|
||
return x.Size
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListSSLCertsRequest) GetUserOnly() bool {
|
||
if x != nil {
|
||
return x.UserOnly
|
||
}
|
||
return false
|
||
}
|
||
|
||
type ListSSLCertsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertsJSON []byte `protobuf:"bytes,1,opt,name=sslCertsJSON,proto3" json:"sslCertsJSON,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListSSLCertsResponse) Reset() {
|
||
*x = ListSSLCertsResponse{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListSSLCertsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListSSLCertsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListSSLCertsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[10]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ListSSLCertsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListSSLCertsResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *ListSSLCertsResponse) GetSslCertsJSON() []byte {
|
||
if x != nil {
|
||
return x.SslCertsJSON
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 计算有OCSP错误的证书数量
|
||
type CountAllSSLCertsWithOCSPErrorRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CountAllSSLCertsWithOCSPErrorRequest) Reset() {
|
||
*x = CountAllSSLCertsWithOCSPErrorRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CountAllSSLCertsWithOCSPErrorRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CountAllSSLCertsWithOCSPErrorRequest) ProtoMessage() {}
|
||
|
||
func (x *CountAllSSLCertsWithOCSPErrorRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[11]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CountAllSSLCertsWithOCSPErrorRequest.ProtoReflect.Descriptor instead.
|
||
func (*CountAllSSLCertsWithOCSPErrorRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *CountAllSSLCertsWithOCSPErrorRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 列出有OCSP错误的证书
|
||
type ListSSLCertsWithOCSPErrorRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
|
||
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListSSLCertsWithOCSPErrorRequest) Reset() {
|
||
*x = ListSSLCertsWithOCSPErrorRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListSSLCertsWithOCSPErrorRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListSSLCertsWithOCSPErrorRequest) ProtoMessage() {}
|
||
|
||
func (x *ListSSLCertsWithOCSPErrorRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[12]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ListSSLCertsWithOCSPErrorRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListSSLCertsWithOCSPErrorRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *ListSSLCertsWithOCSPErrorRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListSSLCertsWithOCSPErrorRequest) GetOffset() int64 {
|
||
if x != nil {
|
||
return x.Offset
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListSSLCertsWithOCSPErrorRequest) GetSize() int64 {
|
||
if x != nil {
|
||
return x.Size
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListSSLCertsWithOCSPErrorResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCerts []*SSLCert `protobuf:"bytes,1,rep,name=sslCerts,proto3" json:"sslCerts,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListSSLCertsWithOCSPErrorResponse) Reset() {
|
||
*x = ListSSLCertsWithOCSPErrorResponse{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListSSLCertsWithOCSPErrorResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListSSLCertsWithOCSPErrorResponse) ProtoMessage() {}
|
||
|
||
func (x *ListSSLCertsWithOCSPErrorResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[13]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ListSSLCertsWithOCSPErrorResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListSSLCertsWithOCSPErrorResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *ListSSLCertsWithOCSPErrorResponse) GetSslCerts() []*SSLCert {
|
||
if x != nil {
|
||
return x.SslCerts
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 忽略一组OCSP证书错误
|
||
type IgnoreSSLCertsWithOCSPErrorRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertIds []int64 `protobuf:"varint,1,rep,packed,name=sslCertIds,proto3" json:"sslCertIds,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *IgnoreSSLCertsWithOCSPErrorRequest) Reset() {
|
||
*x = IgnoreSSLCertsWithOCSPErrorRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *IgnoreSSLCertsWithOCSPErrorRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*IgnoreSSLCertsWithOCSPErrorRequest) ProtoMessage() {}
|
||
|
||
func (x *IgnoreSSLCertsWithOCSPErrorRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[14]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use IgnoreSSLCertsWithOCSPErrorRequest.ProtoReflect.Descriptor instead.
|
||
func (*IgnoreSSLCertsWithOCSPErrorRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *IgnoreSSLCertsWithOCSPErrorRequest) GetSslCertIds() []int64 {
|
||
if x != nil {
|
||
return x.SslCertIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 重置一组证书OCSP错误状态
|
||
type ResetSSLCertsWithOCSPErrorRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertIds []int64 `protobuf:"varint,1,rep,packed,name=sslCertIds,proto3" json:"sslCertIds,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResetSSLCertsWithOCSPErrorRequest) Reset() {
|
||
*x = ResetSSLCertsWithOCSPErrorRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResetSSLCertsWithOCSPErrorRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResetSSLCertsWithOCSPErrorRequest) ProtoMessage() {}
|
||
|
||
func (x *ResetSSLCertsWithOCSPErrorRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[15]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ResetSSLCertsWithOCSPErrorRequest.ProtoReflect.Descriptor instead.
|
||
func (*ResetSSLCertsWithOCSPErrorRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *ResetSSLCertsWithOCSPErrorRequest) GetSslCertIds() []int64 {
|
||
if x != nil {
|
||
return x.SslCertIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 重置所有证书OCSP错误状态
|
||
type ResetAllSSLCertsWithOCSPErrorRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResetAllSSLCertsWithOCSPErrorRequest) Reset() {
|
||
*x = ResetAllSSLCertsWithOCSPErrorRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResetAllSSLCertsWithOCSPErrorRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResetAllSSLCertsWithOCSPErrorRequest) ProtoMessage() {}
|
||
|
||
func (x *ResetAllSSLCertsWithOCSPErrorRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[16]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ResetAllSSLCertsWithOCSPErrorRequest.ProtoReflect.Descriptor instead.
|
||
func (*ResetAllSSLCertsWithOCSPErrorRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{16}
|
||
}
|
||
|
||
// 读取证书的OCSP
|
||
type ListUpdatedSSLCertOCSPRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
||
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPRequest) Reset() {
|
||
*x = ListUpdatedSSLCertOCSPRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListUpdatedSSLCertOCSPRequest) ProtoMessage() {}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[17]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ListUpdatedSSLCertOCSPRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListUpdatedSSLCertOCSPRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{17}
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPRequest) GetVersion() int64 {
|
||
if x != nil {
|
||
return x.Version
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPRequest) GetSize() int32 {
|
||
if x != nil {
|
||
return x.Size
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListUpdatedSSLCertOCSPResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertOCSP []*ListUpdatedSSLCertOCSPResponse_SSLCertOCSP `protobuf:"bytes,1,rep,name=sslCertOCSP,proto3" json:"sslCertOCSP,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPResponse) Reset() {
|
||
*x = ListUpdatedSSLCertOCSPResponse{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[18]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListUpdatedSSLCertOCSPResponse) ProtoMessage() {}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[18]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ListUpdatedSSLCertOCSPResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListUpdatedSSLCertOCSPResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{18}
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPResponse) GetSslCertOCSP() []*ListUpdatedSSLCertOCSPResponse_SSLCertOCSP {
|
||
if x != nil {
|
||
return x.SslCertOCSP
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 查找证书所属用户
|
||
type FindSSLCertUserRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"` // 证书ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindSSLCertUserRequest) Reset() {
|
||
*x = FindSSLCertUserRequest{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[19]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindSSLCertUserRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindSSLCertUserRequest) ProtoMessage() {}
|
||
|
||
func (x *FindSSLCertUserRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[19]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindSSLCertUserRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindSSLCertUserRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{19}
|
||
}
|
||
|
||
func (x *FindSSLCertUserRequest) GetSslCertId() int64 {
|
||
if x != nil {
|
||
return x.SslCertId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FindSSLCertUserResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 用户信息,只包含几个基本的信息
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindSSLCertUserResponse) Reset() {
|
||
*x = FindSSLCertUserResponse{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[20]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindSSLCertUserResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindSSLCertUserResponse) ProtoMessage() {}
|
||
|
||
func (x *FindSSLCertUserResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[20]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindSSLCertUserResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindSSLCertUserResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{20}
|
||
}
|
||
|
||
func (x *FindSSLCertUserResponse) GetUser() *User {
|
||
if x != nil {
|
||
return x.User
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type CreateSSLCertsRequestCert struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
IsOn bool `protobuf:"varint,1,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
||
ServerName string `protobuf:"bytes,4,opt,name=serverName,proto3" json:"serverName,omitempty"`
|
||
IsCA bool `protobuf:"varint,5,opt,name=isCA,proto3" json:"isCA,omitempty"`
|
||
CertData []byte `protobuf:"bytes,6,opt,name=certData,proto3" json:"certData,omitempty"`
|
||
KeyData []byte `protobuf:"bytes,7,opt,name=keyData,proto3" json:"keyData,omitempty"`
|
||
TimeBeginAt int64 `protobuf:"varint,8,opt,name=timeBeginAt,proto3" json:"timeBeginAt,omitempty"`
|
||
TimeEndAt int64 `protobuf:"varint,9,opt,name=timeEndAt,proto3" json:"timeEndAt,omitempty"`
|
||
DnsNames []string `protobuf:"bytes,10,rep,name=dnsNames,proto3" json:"dnsNames,omitempty"`
|
||
CommonNames []string `protobuf:"bytes,11,rep,name=commonNames,proto3" json:"commonNames,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) Reset() {
|
||
*x = CreateSSLCertsRequestCert{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[21]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateSSLCertsRequestCert) ProtoMessage() {}
|
||
|
||
func (x *CreateSSLCertsRequestCert) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[21]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CreateSSLCertsRequestCert.ProtoReflect.Descriptor instead.
|
||
func (*CreateSSLCertsRequestCert) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{2, 0}
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) GetIsOn() bool {
|
||
if x != nil {
|
||
return x.IsOn
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) GetDescription() string {
|
||
if x != nil {
|
||
return x.Description
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) GetServerName() string {
|
||
if x != nil {
|
||
return x.ServerName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) GetIsCA() bool {
|
||
if x != nil {
|
||
return x.IsCA
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) GetCertData() []byte {
|
||
if x != nil {
|
||
return x.CertData
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) GetKeyData() []byte {
|
||
if x != nil {
|
||
return x.KeyData
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) GetTimeBeginAt() int64 {
|
||
if x != nil {
|
||
return x.TimeBeginAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) GetTimeEndAt() int64 {
|
||
if x != nil {
|
||
return x.TimeEndAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) GetDnsNames() []string {
|
||
if x != nil {
|
||
return x.DnsNames
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateSSLCertsRequestCert) GetCommonNames() []string {
|
||
if x != nil {
|
||
return x.CommonNames
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ListUpdatedSSLCertOCSPResponse_SSLCertOCSP struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"`
|
||
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||
Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
|
||
ExpiresAt int64 `protobuf:"varint,4,opt,name=expiresAt,proto3" json:"expiresAt,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPResponse_SSLCertOCSP) Reset() {
|
||
*x = ListUpdatedSSLCertOCSPResponse_SSLCertOCSP{}
|
||
mi := &file_service_ssl_cert_proto_msgTypes[22]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPResponse_SSLCertOCSP) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListUpdatedSSLCertOCSPResponse_SSLCertOCSP) ProtoMessage() {}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPResponse_SSLCertOCSP) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_ssl_cert_proto_msgTypes[22]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ListUpdatedSSLCertOCSPResponse_SSLCertOCSP.ProtoReflect.Descriptor instead.
|
||
func (*ListUpdatedSSLCertOCSPResponse_SSLCertOCSP) Descriptor() ([]byte, []int) {
|
||
return file_service_ssl_cert_proto_rawDescGZIP(), []int{18, 0}
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPResponse_SSLCertOCSP) GetSslCertId() int64 {
|
||
if x != nil {
|
||
return x.SslCertId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPResponse_SSLCertOCSP) GetData() []byte {
|
||
if x != nil {
|
||
return x.Data
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPResponse_SSLCertOCSP) GetVersion() int64 {
|
||
if x != nil {
|
||
return x.Version
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListUpdatedSSLCertOCSPResponse_SSLCertOCSP) GetExpiresAt() int64 {
|
||
if x != nil {
|
||
return x.ExpiresAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
var File_service_ssl_cert_proto protoreflect.FileDescriptor
|
||
|
||
const file_service_ssl_cert_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x16service_ssl_cert.proto\x12\x02pb\x1a\x19models/rpc_messages.proto\x1a\x1bmodels/model_ssl_cert.proto\x1a\x17models/model_user.proto\"\xe0\x02\n" +
|
||
"\x14CreateSSLCertRequest\x12\x12\n" +
|
||
"\x04isOn\x18\x01 \x01(\bR\x04isOn\x12\x16\n" +
|
||
"\x06userId\x18\f \x01(\x03R\x06userId\x12\x12\n" +
|
||
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
||
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1e\n" +
|
||
"\n" +
|
||
"serverName\x18\x04 \x01(\tR\n" +
|
||
"serverName\x12\x12\n" +
|
||
"\x04isCA\x18\x05 \x01(\bR\x04isCA\x12\x1a\n" +
|
||
"\bcertData\x18\x06 \x01(\fR\bcertData\x12\x18\n" +
|
||
"\akeyData\x18\a \x01(\fR\akeyData\x12 \n" +
|
||
"\vtimeBeginAt\x18\b \x01(\x03R\vtimeBeginAt\x12\x1c\n" +
|
||
"\ttimeEndAt\x18\t \x01(\x03R\ttimeEndAt\x12\x1a\n" +
|
||
"\bdnsNames\x18\n" +
|
||
" \x03(\tR\bdnsNames\x12 \n" +
|
||
"\vcommonNames\x18\v \x03(\tR\vcommonNames\"5\n" +
|
||
"\x15CreateSSLCertResponse\x12\x1c\n" +
|
||
"\tsslCertId\x18\x01 \x01(\x03R\tsslCertId\"\xa6\x03\n" +
|
||
"\x15CreateSSLCertsRequest\x12:\n" +
|
||
"\bSSLCerts\x18\x01 \x03(\v2\x1e.pb.CreateSSLCertsRequest.certR\bSSLCerts\x12\x16\n" +
|
||
"\x06userId\x18\x02 \x01(\x03R\x06userId\x1a\xb8\x02\n" +
|
||
"\x04cert\x12\x12\n" +
|
||
"\x04isOn\x18\x01 \x01(\bR\x04isOn\x12\x12\n" +
|
||
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
||
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1e\n" +
|
||
"\n" +
|
||
"serverName\x18\x04 \x01(\tR\n" +
|
||
"serverName\x12\x12\n" +
|
||
"\x04isCA\x18\x05 \x01(\bR\x04isCA\x12\x1a\n" +
|
||
"\bcertData\x18\x06 \x01(\fR\bcertData\x12\x18\n" +
|
||
"\akeyData\x18\a \x01(\fR\akeyData\x12 \n" +
|
||
"\vtimeBeginAt\x18\b \x01(\x03R\vtimeBeginAt\x12\x1c\n" +
|
||
"\ttimeEndAt\x18\t \x01(\x03R\ttimeEndAt\x12\x1a\n" +
|
||
"\bdnsNames\x18\n" +
|
||
" \x03(\tR\bdnsNames\x12 \n" +
|
||
"\vcommonNames\x18\v \x03(\tR\vcommonNames\"8\n" +
|
||
"\x16CreateSSLCertsResponse\x12\x1e\n" +
|
||
"\n" +
|
||
"sslCertIds\x18\x01 \x03(\x03R\n" +
|
||
"sslCertIds\"\xe6\x02\n" +
|
||
"\x14UpdateSSLCertRequest\x12\x1c\n" +
|
||
"\tsslCertId\x18\x01 \x01(\x03R\tsslCertId\x12\x12\n" +
|
||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
|
||
"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
|
||
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1e\n" +
|
||
"\n" +
|
||
"serverName\x18\x05 \x01(\tR\n" +
|
||
"serverName\x12\x12\n" +
|
||
"\x04isCA\x18\x06 \x01(\bR\x04isCA\x12\x1a\n" +
|
||
"\bcertData\x18\a \x01(\fR\bcertData\x12\x18\n" +
|
||
"\akeyData\x18\b \x01(\fR\akeyData\x12 \n" +
|
||
"\vtimeBeginAt\x18\t \x01(\x03R\vtimeBeginAt\x12\x1c\n" +
|
||
"\ttimeEndAt\x18\n" +
|
||
" \x01(\x03R\ttimeEndAt\x12\x1a\n" +
|
||
"\bdnsNames\x18\v \x03(\tR\bdnsNames\x12 \n" +
|
||
"\vcommonNames\x18\f \x03(\tR\vcommonNames\"?\n" +
|
||
"\x1fFindEnabledSSLCertConfigRequest\x12\x1c\n" +
|
||
"\tsslCertId\x18\x01 \x01(\x03R\tsslCertId\"D\n" +
|
||
" FindEnabledSSLCertConfigResponse\x12 \n" +
|
||
"\vsslCertJSON\x18\x01 \x01(\fR\vsslCertJSON\"4\n" +
|
||
"\x14DeleteSSLCertRequest\x12\x1c\n" +
|
||
"\tsslCertId\x18\x01 \x01(\x03R\tsslCertId\"\xf5\x01\n" +
|
||
"\x13CountSSLCertRequest\x12\x12\n" +
|
||
"\x04isCA\x18\x01 \x01(\bR\x04isCA\x12 \n" +
|
||
"\visAvailable\x18\x02 \x01(\bR\visAvailable\x12\x1c\n" +
|
||
"\tisExpired\x18\x03 \x01(\bR\tisExpired\x12\"\n" +
|
||
"\fexpiringDays\x18\x04 \x01(\x05R\fexpiringDays\x12\x18\n" +
|
||
"\akeyword\x18\x05 \x01(\tR\akeyword\x12\x16\n" +
|
||
"\x06userId\x18\x06 \x01(\x03R\x06userId\x12\x18\n" +
|
||
"\adomains\x18\a \x03(\tR\adomains\x12\x1a\n" +
|
||
"\buserOnly\x18\b \x01(\bR\buserOnly\"\xa1\x02\n" +
|
||
"\x13ListSSLCertsRequest\x12\x12\n" +
|
||
"\x04isCA\x18\x01 \x01(\bR\x04isCA\x12 \n" +
|
||
"\visAvailable\x18\x02 \x01(\bR\visAvailable\x12\x1c\n" +
|
||
"\tisExpired\x18\x03 \x01(\bR\tisExpired\x12\"\n" +
|
||
"\fexpiringDays\x18\x04 \x01(\x05R\fexpiringDays\x12\x18\n" +
|
||
"\akeyword\x18\x05 \x01(\tR\akeyword\x12\x16\n" +
|
||
"\x06userId\x18\b \x01(\x03R\x06userId\x12\x18\n" +
|
||
"\adomains\x18\t \x03(\tR\adomains\x12\x16\n" +
|
||
"\x06offset\x18\x06 \x01(\x03R\x06offset\x12\x12\n" +
|
||
"\x04size\x18\a \x01(\x03R\x04size\x12\x1a\n" +
|
||
"\buserOnly\x18\n" +
|
||
" \x01(\bR\buserOnly\":\n" +
|
||
"\x14ListSSLCertsResponse\x12\"\n" +
|
||
"\fsslCertsJSON\x18\x01 \x01(\fR\fsslCertsJSON\"@\n" +
|
||
"$CountAllSSLCertsWithOCSPErrorRequest\x12\x18\n" +
|
||
"\akeyword\x18\x01 \x01(\tR\akeyword\"h\n" +
|
||
" ListSSLCertsWithOCSPErrorRequest\x12\x18\n" +
|
||
"\akeyword\x18\x01 \x01(\tR\akeyword\x12\x16\n" +
|
||
"\x06offset\x18\x02 \x01(\x03R\x06offset\x12\x12\n" +
|
||
"\x04size\x18\x03 \x01(\x03R\x04size\"L\n" +
|
||
"!ListSSLCertsWithOCSPErrorResponse\x12'\n" +
|
||
"\bsslCerts\x18\x01 \x03(\v2\v.pb.SSLCertR\bsslCerts\"D\n" +
|
||
"\"IgnoreSSLCertsWithOCSPErrorRequest\x12\x1e\n" +
|
||
"\n" +
|
||
"sslCertIds\x18\x01 \x03(\x03R\n" +
|
||
"sslCertIds\"C\n" +
|
||
"!ResetSSLCertsWithOCSPErrorRequest\x12\x1e\n" +
|
||
"\n" +
|
||
"sslCertIds\x18\x01 \x03(\x03R\n" +
|
||
"sslCertIds\"&\n" +
|
||
"$ResetAllSSLCertsWithOCSPErrorRequest\"M\n" +
|
||
"\x1dListUpdatedSSLCertOCSPRequest\x12\x18\n" +
|
||
"\aversion\x18\x01 \x01(\x03R\aversion\x12\x12\n" +
|
||
"\x04size\x18\x02 \x01(\x05R\x04size\"\xeb\x01\n" +
|
||
"\x1eListUpdatedSSLCertOCSPResponse\x12P\n" +
|
||
"\vsslCertOCSP\x18\x01 \x03(\v2..pb.ListUpdatedSSLCertOCSPResponse.SSLCertOCSPR\vsslCertOCSP\x1aw\n" +
|
||
"\vSSLCertOCSP\x12\x1c\n" +
|
||
"\tsslCertId\x18\x01 \x01(\x03R\tsslCertId\x12\x12\n" +
|
||
"\x04data\x18\x02 \x01(\fR\x04data\x12\x18\n" +
|
||
"\aversion\x18\x03 \x01(\x03R\aversion\x12\x1c\n" +
|
||
"\texpiresAt\x18\x04 \x01(\x03R\texpiresAt\"6\n" +
|
||
"\x16FindSSLCertUserRequest\x12\x1c\n" +
|
||
"\tsslCertId\x18\x01 \x01(\x03R\tsslCertId\"7\n" +
|
||
"\x17FindSSLCertUserResponse\x12\x1c\n" +
|
||
"\x04user\x18\x01 \x01(\v2\b.pb.UserR\x04user2\xfe\b\n" +
|
||
"\x0eSSLCertService\x12D\n" +
|
||
"\rcreateSSLCert\x12\x18.pb.CreateSSLCertRequest\x1a\x19.pb.CreateSSLCertResponse\x12G\n" +
|
||
"\x0ecreateSSLCerts\x12\x19.pb.CreateSSLCertsRequest\x1a\x1a.pb.CreateSSLCertsResponse\x129\n" +
|
||
"\rupdateSSLCert\x12\x18.pb.UpdateSSLCertRequest\x1a\x0e.pb.RPCSuccess\x129\n" +
|
||
"\rdeleteSSLCert\x12\x18.pb.DeleteSSLCertRequest\x1a\x0e.pb.RPCSuccess\x12e\n" +
|
||
"\x18findEnabledSSLCertConfig\x12#.pb.FindEnabledSSLCertConfigRequest\x1a$.pb.FindEnabledSSLCertConfigResponse\x12>\n" +
|
||
"\rcountSSLCerts\x12\x17.pb.CountSSLCertRequest\x1a\x14.pb.RPCCountResponse\x12A\n" +
|
||
"\flistSSLCerts\x12\x17.pb.ListSSLCertsRequest\x1a\x18.pb.ListSSLCertsResponse\x12_\n" +
|
||
"\x1dcountAllSSLCertsWithOCSPError\x12(.pb.CountAllSSLCertsWithOCSPErrorRequest\x1a\x14.pb.RPCCountResponse\x12h\n" +
|
||
"\x19listSSLCertsWithOCSPError\x12$.pb.ListSSLCertsWithOCSPErrorRequest\x1a%.pb.ListSSLCertsWithOCSPErrorResponse\x12U\n" +
|
||
"\x1bignoreSSLCertsWithOCSPError\x12&.pb.IgnoreSSLCertsWithOCSPErrorRequest\x1a\x0e.pb.RPCSuccess\x12S\n" +
|
||
"\x1aresetSSLCertsWithOCSPError\x12%.pb.ResetSSLCertsWithOCSPErrorRequest\x1a\x0e.pb.RPCSuccess\x12Y\n" +
|
||
"\x1dresetAllSSLCertsWithOCSPError\x12(.pb.ResetAllSSLCertsWithOCSPErrorRequest\x1a\x0e.pb.RPCSuccess\x12_\n" +
|
||
"\x16listUpdatedSSLCertOCSP\x12!.pb.ListUpdatedSSLCertOCSPRequest\x1a\".pb.ListUpdatedSSLCertOCSPResponse\x12J\n" +
|
||
"\x0ffindSSLCertUser\x12\x1a.pb.FindSSLCertUserRequest\x1a\x1b.pb.FindSSLCertUserResponseB\x06Z\x04./pbb\x06proto3"
|
||
|
||
var (
|
||
file_service_ssl_cert_proto_rawDescOnce sync.Once
|
||
file_service_ssl_cert_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_service_ssl_cert_proto_rawDescGZIP() []byte {
|
||
file_service_ssl_cert_proto_rawDescOnce.Do(func() {
|
||
file_service_ssl_cert_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_ssl_cert_proto_rawDesc), len(file_service_ssl_cert_proto_rawDesc)))
|
||
})
|
||
return file_service_ssl_cert_proto_rawDescData
|
||
}
|
||
|
||
var file_service_ssl_cert_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
|
||
var file_service_ssl_cert_proto_goTypes = []any{
|
||
(*CreateSSLCertRequest)(nil), // 0: pb.CreateSSLCertRequest
|
||
(*CreateSSLCertResponse)(nil), // 1: pb.CreateSSLCertResponse
|
||
(*CreateSSLCertsRequest)(nil), // 2: pb.CreateSSLCertsRequest
|
||
(*CreateSSLCertsResponse)(nil), // 3: pb.CreateSSLCertsResponse
|
||
(*UpdateSSLCertRequest)(nil), // 4: pb.UpdateSSLCertRequest
|
||
(*FindEnabledSSLCertConfigRequest)(nil), // 5: pb.FindEnabledSSLCertConfigRequest
|
||
(*FindEnabledSSLCertConfigResponse)(nil), // 6: pb.FindEnabledSSLCertConfigResponse
|
||
(*DeleteSSLCertRequest)(nil), // 7: pb.DeleteSSLCertRequest
|
||
(*CountSSLCertRequest)(nil), // 8: pb.CountSSLCertRequest
|
||
(*ListSSLCertsRequest)(nil), // 9: pb.ListSSLCertsRequest
|
||
(*ListSSLCertsResponse)(nil), // 10: pb.ListSSLCertsResponse
|
||
(*CountAllSSLCertsWithOCSPErrorRequest)(nil), // 11: pb.CountAllSSLCertsWithOCSPErrorRequest
|
||
(*ListSSLCertsWithOCSPErrorRequest)(nil), // 12: pb.ListSSLCertsWithOCSPErrorRequest
|
||
(*ListSSLCertsWithOCSPErrorResponse)(nil), // 13: pb.ListSSLCertsWithOCSPErrorResponse
|
||
(*IgnoreSSLCertsWithOCSPErrorRequest)(nil), // 14: pb.IgnoreSSLCertsWithOCSPErrorRequest
|
||
(*ResetSSLCertsWithOCSPErrorRequest)(nil), // 15: pb.ResetSSLCertsWithOCSPErrorRequest
|
||
(*ResetAllSSLCertsWithOCSPErrorRequest)(nil), // 16: pb.ResetAllSSLCertsWithOCSPErrorRequest
|
||
(*ListUpdatedSSLCertOCSPRequest)(nil), // 17: pb.ListUpdatedSSLCertOCSPRequest
|
||
(*ListUpdatedSSLCertOCSPResponse)(nil), // 18: pb.ListUpdatedSSLCertOCSPResponse
|
||
(*FindSSLCertUserRequest)(nil), // 19: pb.FindSSLCertUserRequest
|
||
(*FindSSLCertUserResponse)(nil), // 20: pb.FindSSLCertUserResponse
|
||
(*CreateSSLCertsRequestCert)(nil), // 21: pb.CreateSSLCertsRequest.cert
|
||
(*ListUpdatedSSLCertOCSPResponse_SSLCertOCSP)(nil), // 22: pb.ListUpdatedSSLCertOCSPResponse.SSLCertOCSP
|
||
(*SSLCert)(nil), // 23: pb.SSLCert
|
||
(*User)(nil), // 24: pb.User
|
||
(*RPCSuccess)(nil), // 25: pb.RPCSuccess
|
||
(*RPCCountResponse)(nil), // 26: pb.RPCCountResponse
|
||
}
|
||
var file_service_ssl_cert_proto_depIdxs = []int32{
|
||
21, // 0: pb.CreateSSLCertsRequest.SSLCerts:type_name -> pb.CreateSSLCertsRequest.cert
|
||
23, // 1: pb.ListSSLCertsWithOCSPErrorResponse.sslCerts:type_name -> pb.SSLCert
|
||
22, // 2: pb.ListUpdatedSSLCertOCSPResponse.sslCertOCSP:type_name -> pb.ListUpdatedSSLCertOCSPResponse.SSLCertOCSP
|
||
24, // 3: pb.FindSSLCertUserResponse.user:type_name -> pb.User
|
||
0, // 4: pb.SSLCertService.createSSLCert:input_type -> pb.CreateSSLCertRequest
|
||
2, // 5: pb.SSLCertService.createSSLCerts:input_type -> pb.CreateSSLCertsRequest
|
||
4, // 6: pb.SSLCertService.updateSSLCert:input_type -> pb.UpdateSSLCertRequest
|
||
7, // 7: pb.SSLCertService.deleteSSLCert:input_type -> pb.DeleteSSLCertRequest
|
||
5, // 8: pb.SSLCertService.findEnabledSSLCertConfig:input_type -> pb.FindEnabledSSLCertConfigRequest
|
||
8, // 9: pb.SSLCertService.countSSLCerts:input_type -> pb.CountSSLCertRequest
|
||
9, // 10: pb.SSLCertService.listSSLCerts:input_type -> pb.ListSSLCertsRequest
|
||
11, // 11: pb.SSLCertService.countAllSSLCertsWithOCSPError:input_type -> pb.CountAllSSLCertsWithOCSPErrorRequest
|
||
12, // 12: pb.SSLCertService.listSSLCertsWithOCSPError:input_type -> pb.ListSSLCertsWithOCSPErrorRequest
|
||
14, // 13: pb.SSLCertService.ignoreSSLCertsWithOCSPError:input_type -> pb.IgnoreSSLCertsWithOCSPErrorRequest
|
||
15, // 14: pb.SSLCertService.resetSSLCertsWithOCSPError:input_type -> pb.ResetSSLCertsWithOCSPErrorRequest
|
||
16, // 15: pb.SSLCertService.resetAllSSLCertsWithOCSPError:input_type -> pb.ResetAllSSLCertsWithOCSPErrorRequest
|
||
17, // 16: pb.SSLCertService.listUpdatedSSLCertOCSP:input_type -> pb.ListUpdatedSSLCertOCSPRequest
|
||
19, // 17: pb.SSLCertService.findSSLCertUser:input_type -> pb.FindSSLCertUserRequest
|
||
1, // 18: pb.SSLCertService.createSSLCert:output_type -> pb.CreateSSLCertResponse
|
||
3, // 19: pb.SSLCertService.createSSLCerts:output_type -> pb.CreateSSLCertsResponse
|
||
25, // 20: pb.SSLCertService.updateSSLCert:output_type -> pb.RPCSuccess
|
||
25, // 21: pb.SSLCertService.deleteSSLCert:output_type -> pb.RPCSuccess
|
||
6, // 22: pb.SSLCertService.findEnabledSSLCertConfig:output_type -> pb.FindEnabledSSLCertConfigResponse
|
||
26, // 23: pb.SSLCertService.countSSLCerts:output_type -> pb.RPCCountResponse
|
||
10, // 24: pb.SSLCertService.listSSLCerts:output_type -> pb.ListSSLCertsResponse
|
||
26, // 25: pb.SSLCertService.countAllSSLCertsWithOCSPError:output_type -> pb.RPCCountResponse
|
||
13, // 26: pb.SSLCertService.listSSLCertsWithOCSPError:output_type -> pb.ListSSLCertsWithOCSPErrorResponse
|
||
25, // 27: pb.SSLCertService.ignoreSSLCertsWithOCSPError:output_type -> pb.RPCSuccess
|
||
25, // 28: pb.SSLCertService.resetSSLCertsWithOCSPError:output_type -> pb.RPCSuccess
|
||
25, // 29: pb.SSLCertService.resetAllSSLCertsWithOCSPError:output_type -> pb.RPCSuccess
|
||
18, // 30: pb.SSLCertService.listUpdatedSSLCertOCSP:output_type -> pb.ListUpdatedSSLCertOCSPResponse
|
||
20, // 31: pb.SSLCertService.findSSLCertUser:output_type -> pb.FindSSLCertUserResponse
|
||
18, // [18:32] is the sub-list for method output_type
|
||
4, // [4:18] 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_service_ssl_cert_proto_init() }
|
||
func file_service_ssl_cert_proto_init() {
|
||
if File_service_ssl_cert_proto != nil {
|
||
return
|
||
}
|
||
file_models_rpc_messages_proto_init()
|
||
file_models_model_ssl_cert_proto_init()
|
||
file_models_model_user_proto_init()
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_ssl_cert_proto_rawDesc), len(file_service_ssl_cert_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 23,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_service_ssl_cert_proto_goTypes,
|
||
DependencyIndexes: file_service_ssl_cert_proto_depIdxs,
|
||
MessageInfos: file_service_ssl_cert_proto_msgTypes,
|
||
}.Build()
|
||
File_service_ssl_cert_proto = out.File
|
||
file_service_ssl_cert_proto_goTypes = nil
|
||
file_service_ssl_cert_proto_depIdxs = nil
|
||
}
|