Documentation ¶
Index ¶
- Variables
- func RegisterCertificateManagementServer(s grpc.ServiceRegistrar, srv CertificateManagementServer)
- type CSR
- type CSRParams
- func (*CSRParams) Descriptor() ([]byte, []int)deprecated
- func (x *CSRParams) GetCity() string
- func (x *CSRParams) GetCommonName() string
- func (x *CSRParams) GetCountry() string
- func (x *CSRParams) GetEmailId() string
- func (x *CSRParams) GetIpAddress() string
- func (x *CSRParams) GetKeyType() KeyType
- func (x *CSRParams) GetMinKeySize() uint32
- func (x *CSRParams) GetOrganization() string
- func (x *CSRParams) GetOrganizationalUnit() string
- func (x *CSRParams) GetState() string
- func (x *CSRParams) GetType() CertificateType
- func (*CSRParams) ProtoMessage()
- func (x *CSRParams) ProtoReflect() protoreflect.Message
- func (x *CSRParams) Reset()
- func (x *CSRParams) String() string
- type CanGenerateCSRRequest
- func (*CanGenerateCSRRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CanGenerateCSRRequest) GetCertificateType() CertificateType
- func (x *CanGenerateCSRRequest) GetKeySize() uint32
- func (x *CanGenerateCSRRequest) GetKeyType() KeyType
- func (*CanGenerateCSRRequest) ProtoMessage()
- func (x *CanGenerateCSRRequest) ProtoReflect() protoreflect.Message
- func (x *CanGenerateCSRRequest) Reset()
- func (x *CanGenerateCSRRequest) String() string
- type CanGenerateCSRResponse
- func (*CanGenerateCSRResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CanGenerateCSRResponse) GetCanGenerate() bool
- func (*CanGenerateCSRResponse) ProtoMessage()
- func (x *CanGenerateCSRResponse) ProtoReflect() protoreflect.Message
- func (x *CanGenerateCSRResponse) Reset()
- func (x *CanGenerateCSRResponse) String() string
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetCertificate() []byte
- func (x *Certificate) GetType() CertificateType
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type CertificateInfo
- func (*CertificateInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateInfo) GetCertificate() *Certificate
- func (x *CertificateInfo) GetCertificateId() string
- func (x *CertificateInfo) GetEndpoints() []*Endpoint
- func (x *CertificateInfo) GetModificationTime() int64
- func (*CertificateInfo) ProtoMessage()
- func (x *CertificateInfo) ProtoReflect() protoreflect.Message
- func (x *CertificateInfo) Reset()
- func (x *CertificateInfo) String() string
- type CertificateManagementClient
- type CertificateManagementServer
- type CertificateManagement_InstallClient
- type CertificateManagement_InstallServer
- type CertificateManagement_RotateClient
- type CertificateManagement_RotateServer
- type CertificateRevocationError
- func (*CertificateRevocationError) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateRevocationError) GetCertificateId() string
- func (x *CertificateRevocationError) GetErrorMessage() string
- func (*CertificateRevocationError) ProtoMessage()
- func (x *CertificateRevocationError) ProtoReflect() protoreflect.Message
- func (x *CertificateRevocationError) Reset()
- func (x *CertificateRevocationError) String() string
- type CertificateType
- func (CertificateType) Descriptor() protoreflect.EnumDescriptor
- func (x CertificateType) Enum() *CertificateType
- func (CertificateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CertificateType) Number() protoreflect.EnumNumber
- func (x CertificateType) String() string
- func (CertificateType) Type() protoreflect.EnumType
- type Endpoint
- type Endpoint_Type
- func (Endpoint_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Endpoint_Type) Enum() *Endpoint_Type
- func (Endpoint_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Endpoint_Type) Number() protoreflect.EnumNumber
- func (x Endpoint_Type) String() string
- func (Endpoint_Type) Type() protoreflect.EnumType
- type FinalizeRequest
- type GenerateCSRRequest
- func (*GenerateCSRRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateCSRRequest) GetCertificateId() string
- func (x *GenerateCSRRequest) GetCsrParams() *CSRParams
- func (*GenerateCSRRequest) ProtoMessage()
- func (x *GenerateCSRRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateCSRRequest) Reset()
- func (x *GenerateCSRRequest) String() string
- type GenerateCSRResponse
- func (*GenerateCSRResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateCSRResponse) GetCsr() *CSR
- func (*GenerateCSRResponse) ProtoMessage()
- func (x *GenerateCSRResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateCSRResponse) Reset()
- func (x *GenerateCSRResponse) String() string
- type GetCertificatesRequest
- type GetCertificatesResponse
- func (*GetCertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCertificatesResponse) GetCertificateInfo() []*CertificateInfo
- func (*GetCertificatesResponse) ProtoMessage()
- func (x *GetCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCertificatesResponse) Reset()
- func (x *GetCertificatesResponse) String() string
- type InstallCertificateRequest
- func (*InstallCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallCertificateRequest) GetGenerateCsr() *GenerateCSRRequest
- func (m *InstallCertificateRequest) GetInstallRequest() isInstallCertificateRequest_InstallRequest
- func (x *InstallCertificateRequest) GetLoadCertificate() *LoadCertificateRequest
- func (*InstallCertificateRequest) ProtoMessage()
- func (x *InstallCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *InstallCertificateRequest) Reset()
- func (x *InstallCertificateRequest) String() string
- type InstallCertificateRequest_GenerateCsr
- type InstallCertificateRequest_LoadCertificate
- type InstallCertificateResponse
- func (*InstallCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstallCertificateResponse) GetGeneratedCsr() *GenerateCSRResponse
- func (m *InstallCertificateResponse) GetInstallResponse() isInstallCertificateResponse_InstallResponse
- func (x *InstallCertificateResponse) GetLoadCertificate() *LoadCertificateResponse
- func (*InstallCertificateResponse) ProtoMessage()
- func (x *InstallCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *InstallCertificateResponse) Reset()
- func (x *InstallCertificateResponse) String() string
- type InstallCertificateResponse_GeneratedCsr
- type InstallCertificateResponse_LoadCertificate
- type KeyPair
- type KeyType
- type LoadCertificateAuthorityBundleRequest
- func (*LoadCertificateAuthorityBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoadCertificateAuthorityBundleRequest) GetCaCertificates() []*Certificate
- func (*LoadCertificateAuthorityBundleRequest) ProtoMessage()
- func (x *LoadCertificateAuthorityBundleRequest) ProtoReflect() protoreflect.Message
- func (x *LoadCertificateAuthorityBundleRequest) Reset()
- func (x *LoadCertificateAuthorityBundleRequest) String() string
- type LoadCertificateAuthorityBundleResponse
- func (*LoadCertificateAuthorityBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (*LoadCertificateAuthorityBundleResponse) ProtoMessage()
- func (x *LoadCertificateAuthorityBundleResponse) ProtoReflect() protoreflect.Message
- func (x *LoadCertificateAuthorityBundleResponse) Reset()
- func (x *LoadCertificateAuthorityBundleResponse) String() string
- type LoadCertificateRequest
- func (*LoadCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoadCertificateRequest) GetCaCertificates() []*Certificate
- func (x *LoadCertificateRequest) GetCertificate() *Certificate
- func (x *LoadCertificateRequest) GetCertificateId() string
- func (x *LoadCertificateRequest) GetKeyPair() *KeyPair
- func (*LoadCertificateRequest) ProtoMessage()
- func (x *LoadCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *LoadCertificateRequest) Reset()
- func (x *LoadCertificateRequest) String() string
- type LoadCertificateResponse
- type RevokeCertificatesRequest
- func (*RevokeCertificatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeCertificatesRequest) GetCertificateId() []string
- func (*RevokeCertificatesRequest) ProtoMessage()
- func (x *RevokeCertificatesRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeCertificatesRequest) Reset()
- func (x *RevokeCertificatesRequest) String() string
- type RevokeCertificatesResponse
- func (*RevokeCertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeCertificatesResponse) GetCertificateRevocationError() []*CertificateRevocationError
- func (x *RevokeCertificatesResponse) GetRevokedCertificateId() []string
- func (*RevokeCertificatesResponse) ProtoMessage()
- func (x *RevokeCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeCertificatesResponse) Reset()
- func (x *RevokeCertificatesResponse) String() string
- type RotateCertificateRequest
- func (*RotateCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RotateCertificateRequest) GetFinalizeRotation() *FinalizeRequest
- func (x *RotateCertificateRequest) GetGenerateCsr() *GenerateCSRRequest
- func (x *RotateCertificateRequest) GetLoadCertificate() *LoadCertificateRequest
- func (m *RotateCertificateRequest) GetRotateRequest() isRotateCertificateRequest_RotateRequest
- func (*RotateCertificateRequest) ProtoMessage()
- func (x *RotateCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *RotateCertificateRequest) Reset()
- func (x *RotateCertificateRequest) String() string
- type RotateCertificateRequest_FinalizeRotation
- type RotateCertificateRequest_GenerateCsr
- type RotateCertificateRequest_LoadCertificate
- type RotateCertificateResponse
- func (*RotateCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RotateCertificateResponse) GetGeneratedCsr() *GenerateCSRResponse
- func (x *RotateCertificateResponse) GetLoadCertificate() *LoadCertificateResponse
- func (m *RotateCertificateResponse) GetRotateResponse() isRotateCertificateResponse_RotateResponse
- func (*RotateCertificateResponse) ProtoMessage()
- func (x *RotateCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *RotateCertificateResponse) Reset()
- func (x *RotateCertificateResponse) String() string
- type RotateCertificateResponse_GeneratedCsr
- type RotateCertificateResponse_LoadCertificate
- type UnimplementedCertificateManagementServer
- func (UnimplementedCertificateManagementServer) CanGenerateCSR(context.Context, *CanGenerateCSRRequest) (*CanGenerateCSRResponse, error)
- func (UnimplementedCertificateManagementServer) GenerateCSR(context.Context, *GenerateCSRRequest) (*GenerateCSRResponse, error)
- func (UnimplementedCertificateManagementServer) GetCertificates(context.Context, *GetCertificatesRequest) (*GetCertificatesResponse, error)
- func (UnimplementedCertificateManagementServer) Install(CertificateManagement_InstallServer) error
- func (UnimplementedCertificateManagementServer) LoadCertificate(context.Context, *LoadCertificateRequest) (*LoadCertificateResponse, error)
- func (UnimplementedCertificateManagementServer) LoadCertificateAuthorityBundle(context.Context, *LoadCertificateAuthorityBundleRequest) (*LoadCertificateAuthorityBundleResponse, error)
- func (UnimplementedCertificateManagementServer) RevokeCertificates(context.Context, *RevokeCertificatesRequest) (*RevokeCertificatesResponse, error)
- func (UnimplementedCertificateManagementServer) Rotate(CertificateManagement_RotateServer) error
- type UnsafeCertificateManagementServer
Constants ¶
This section is empty.
Variables ¶
var ( CertificateType_name = map[int32]string{ 0: "CT_UNKNOWN", 1: "CT_X509", } CertificateType_value = map[string]int32{ "CT_UNKNOWN": 0, "CT_X509": 1, } )
Enum value maps for CertificateType.
var ( KeyType_name = map[int32]string{ 0: "KT_UNKNOWN", 1: "KT_RSA", } KeyType_value = map[string]int32{ "KT_UNKNOWN": 0, "KT_RSA": 1, } )
Enum value maps for KeyType.
var ( Endpoint_Type_name = map[int32]string{ 0: "EP_UNSPECIFIED", 1: "EP_IPSEC_TUNNEL", 2: "EP_DAEMON", } Endpoint_Type_value = map[string]int32{ "EP_UNSPECIFIED": 0, "EP_IPSEC_TUNNEL": 1, "EP_DAEMON": 2, } )
Enum value maps for Endpoint_Type.
var CertificateManagement_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gnoi.certificate.CertificateManagement", HandlerType: (*CertificateManagementServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenerateCSR", Handler: _CertificateManagement_GenerateCSR_Handler, }, { MethodName: "LoadCertificate", Handler: _CertificateManagement_LoadCertificate_Handler, }, { MethodName: "LoadCertificateAuthorityBundle", Handler: _CertificateManagement_LoadCertificateAuthorityBundle_Handler, }, { MethodName: "GetCertificates", Handler: _CertificateManagement_GetCertificates_Handler, }, { MethodName: "RevokeCertificates", Handler: _CertificateManagement_RevokeCertificates_Handler, }, { MethodName: "CanGenerateCSR", Handler: _CertificateManagement_CanGenerateCSR_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Rotate", Handler: _CertificateManagement_Rotate_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "Install", Handler: _CertificateManagement_Install_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "cert/cert.proto", }
CertificateManagement_ServiceDesc is the grpc.ServiceDesc for CertificateManagement service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cert_cert_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCertificateManagementServer ¶
func RegisterCertificateManagementServer(s grpc.ServiceRegistrar, srv CertificateManagementServer)
Types ¶
type CSR ¶
type CSR struct { Type CertificateType `protobuf:"varint,1,opt,name=type,proto3,enum=gnoi.certificate.CertificateType" json:"type,omitempty"` Csr []byte `protobuf:"bytes,2,opt,name=csr,proto3" json:"csr,omitempty"` // contains filtered or unexported fields }
func (*CSR) Descriptor
deprecated
func (*CSR) GetType ¶
func (x *CSR) GetType() CertificateType
func (*CSR) ProtoMessage ¶
func (*CSR) ProtoMessage()
func (*CSR) ProtoReflect ¶
func (x *CSR) ProtoReflect() protoreflect.Message
type CSRParams ¶
type CSRParams struct { Type CertificateType `protobuf:"varint,1,opt,name=type,proto3,enum=gnoi.certificate.CertificateType" json:"type,omitempty"` MinKeySize uint32 `protobuf:"varint,2,opt,name=min_key_size,json=minKeySize,proto3" json:"min_key_size,omitempty"` KeyType KeyType `protobuf:"varint,3,opt,name=key_type,json=keyType,proto3,enum=gnoi.certificate.KeyType" json:"key_type,omitempty"` CommonName string `protobuf:"bytes,4,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"` State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"` City string `protobuf:"bytes,7,opt,name=city,proto3" json:"city,omitempty"` Organization string `protobuf:"bytes,8,opt,name=organization,proto3" json:"organization,omitempty"` OrganizationalUnit string `protobuf:"bytes,9,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"` IpAddress string `protobuf:"bytes,10,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` EmailId string `protobuf:"bytes,11,opt,name=email_id,json=emailId,proto3" json:"email_id,omitempty"` // contains filtered or unexported fields }
func (*CSRParams) Descriptor
deprecated
func (*CSRParams) GetCommonName ¶
func (*CSRParams) GetCountry ¶
func (*CSRParams) GetEmailId ¶
func (*CSRParams) GetIpAddress ¶
func (*CSRParams) GetKeyType ¶
func (*CSRParams) GetMinKeySize ¶
func (*CSRParams) GetOrganization ¶
func (*CSRParams) GetOrganizationalUnit ¶
func (*CSRParams) GetType ¶
func (x *CSRParams) GetType() CertificateType
func (*CSRParams) ProtoMessage ¶
func (*CSRParams) ProtoMessage()
func (*CSRParams) ProtoReflect ¶
func (x *CSRParams) ProtoReflect() protoreflect.Message
type CanGenerateCSRRequest ¶
type CanGenerateCSRRequest struct { KeyType KeyType `protobuf:"varint,1,opt,name=key_type,json=keyType,proto3,enum=gnoi.certificate.KeyType" json:"key_type,omitempty"` CertificateType CertificateType `` /* 145-byte string literal not displayed */ KeySize uint32 `protobuf:"varint,3,opt,name=key_size,json=keySize,proto3" json:"key_size,omitempty"` // contains filtered or unexported fields }
func (*CanGenerateCSRRequest) Descriptor
deprecated
func (*CanGenerateCSRRequest) Descriptor() ([]byte, []int)
Deprecated: Use CanGenerateCSRRequest.ProtoReflect.Descriptor instead.
func (*CanGenerateCSRRequest) GetCertificateType ¶
func (x *CanGenerateCSRRequest) GetCertificateType() CertificateType
func (*CanGenerateCSRRequest) GetKeySize ¶
func (x *CanGenerateCSRRequest) GetKeySize() uint32
func (*CanGenerateCSRRequest) GetKeyType ¶
func (x *CanGenerateCSRRequest) GetKeyType() KeyType
func (*CanGenerateCSRRequest) ProtoMessage ¶
func (*CanGenerateCSRRequest) ProtoMessage()
func (*CanGenerateCSRRequest) ProtoReflect ¶
func (x *CanGenerateCSRRequest) ProtoReflect() protoreflect.Message
func (*CanGenerateCSRRequest) Reset ¶
func (x *CanGenerateCSRRequest) Reset()
func (*CanGenerateCSRRequest) String ¶
func (x *CanGenerateCSRRequest) String() string
type CanGenerateCSRResponse ¶
type CanGenerateCSRResponse struct { CanGenerate bool `protobuf:"varint,4,opt,name=can_generate,json=canGenerate,proto3" json:"can_generate,omitempty"` // contains filtered or unexported fields }
func (*CanGenerateCSRResponse) Descriptor
deprecated
func (*CanGenerateCSRResponse) Descriptor() ([]byte, []int)
Deprecated: Use CanGenerateCSRResponse.ProtoReflect.Descriptor instead.
func (*CanGenerateCSRResponse) GetCanGenerate ¶
func (x *CanGenerateCSRResponse) GetCanGenerate() bool
func (*CanGenerateCSRResponse) ProtoMessage ¶
func (*CanGenerateCSRResponse) ProtoMessage()
func (*CanGenerateCSRResponse) ProtoReflect ¶
func (x *CanGenerateCSRResponse) ProtoReflect() protoreflect.Message
func (*CanGenerateCSRResponse) Reset ¶
func (x *CanGenerateCSRResponse) Reset()
func (*CanGenerateCSRResponse) String ¶
func (x *CanGenerateCSRResponse) String() string
type Certificate ¶
type Certificate struct { Type CertificateType `protobuf:"varint,1,opt,name=type,proto3,enum=gnoi.certificate.CertificateType" json:"type,omitempty"` Certificate []byte `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*Certificate) Descriptor
deprecated
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetCertificate ¶
func (x *Certificate) GetCertificate() []byte
func (*Certificate) GetType ¶
func (x *Certificate) GetType() CertificateType
func (*Certificate) ProtoMessage ¶
func (*Certificate) ProtoMessage()
func (*Certificate) ProtoReflect ¶
func (x *Certificate) ProtoReflect() protoreflect.Message
func (*Certificate) Reset ¶
func (x *Certificate) Reset()
func (*Certificate) String ¶
func (x *Certificate) String() string
type CertificateInfo ¶
type CertificateInfo struct { CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` Certificate *Certificate `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` Endpoints []*Endpoint `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"` ModificationTime int64 `protobuf:"varint,4,opt,name=modification_time,json=modificationTime,proto3" json:"modification_time,omitempty"` // contains filtered or unexported fields }
func (*CertificateInfo) Descriptor
deprecated
func (*CertificateInfo) Descriptor() ([]byte, []int)
Deprecated: Use CertificateInfo.ProtoReflect.Descriptor instead.
func (*CertificateInfo) GetCertificate ¶
func (x *CertificateInfo) GetCertificate() *Certificate
func (*CertificateInfo) GetCertificateId ¶
func (x *CertificateInfo) GetCertificateId() string
func (*CertificateInfo) GetEndpoints ¶
func (x *CertificateInfo) GetEndpoints() []*Endpoint
func (*CertificateInfo) GetModificationTime ¶
func (x *CertificateInfo) GetModificationTime() int64
func (*CertificateInfo) ProtoMessage ¶
func (*CertificateInfo) ProtoMessage()
func (*CertificateInfo) ProtoReflect ¶
func (x *CertificateInfo) ProtoReflect() protoreflect.Message
func (*CertificateInfo) Reset ¶
func (x *CertificateInfo) Reset()
func (*CertificateInfo) String ¶
func (x *CertificateInfo) String() string
type CertificateManagementClient ¶
type CertificateManagementClient interface { Rotate(ctx context.Context, opts ...grpc.CallOption) (CertificateManagement_RotateClient, error) Install(ctx context.Context, opts ...grpc.CallOption) (CertificateManagement_InstallClient, error) GenerateCSR(ctx context.Context, in *GenerateCSRRequest, opts ...grpc.CallOption) (*GenerateCSRResponse, error) LoadCertificate(ctx context.Context, in *LoadCertificateRequest, opts ...grpc.CallOption) (*LoadCertificateResponse, error) LoadCertificateAuthorityBundle(ctx context.Context, in *LoadCertificateAuthorityBundleRequest, opts ...grpc.CallOption) (*LoadCertificateAuthorityBundleResponse, error) GetCertificates(ctx context.Context, in *GetCertificatesRequest, opts ...grpc.CallOption) (*GetCertificatesResponse, error) RevokeCertificates(ctx context.Context, in *RevokeCertificatesRequest, opts ...grpc.CallOption) (*RevokeCertificatesResponse, error) CanGenerateCSR(ctx context.Context, in *CanGenerateCSRRequest, opts ...grpc.CallOption) (*CanGenerateCSRResponse, error) }
CertificateManagementClient is the client API for CertificateManagement 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.
func NewCertificateManagementClient ¶
func NewCertificateManagementClient(cc grpc.ClientConnInterface) CertificateManagementClient
type CertificateManagementServer ¶
type CertificateManagementServer interface { Rotate(CertificateManagement_RotateServer) error Install(CertificateManagement_InstallServer) error GenerateCSR(context.Context, *GenerateCSRRequest) (*GenerateCSRResponse, error) LoadCertificate(context.Context, *LoadCertificateRequest) (*LoadCertificateResponse, error) LoadCertificateAuthorityBundle(context.Context, *LoadCertificateAuthorityBundleRequest) (*LoadCertificateAuthorityBundleResponse, error) GetCertificates(context.Context, *GetCertificatesRequest) (*GetCertificatesResponse, error) RevokeCertificates(context.Context, *RevokeCertificatesRequest) (*RevokeCertificatesResponse, error) CanGenerateCSR(context.Context, *CanGenerateCSRRequest) (*CanGenerateCSRResponse, error) // contains filtered or unexported methods }
CertificateManagementServer is the server API for CertificateManagement service. All implementations must embed UnimplementedCertificateManagementServer for forward compatibility
type CertificateManagement_InstallClient ¶
type CertificateManagement_InstallClient interface { Send(*InstallCertificateRequest) error Recv() (*InstallCertificateResponse, error) grpc.ClientStream }
type CertificateManagement_InstallServer ¶
type CertificateManagement_InstallServer interface { Send(*InstallCertificateResponse) error Recv() (*InstallCertificateRequest, error) grpc.ServerStream }
type CertificateManagement_RotateClient ¶
type CertificateManagement_RotateClient interface { Send(*RotateCertificateRequest) error Recv() (*RotateCertificateResponse, error) grpc.ClientStream }
type CertificateManagement_RotateServer ¶
type CertificateManagement_RotateServer interface { Send(*RotateCertificateResponse) error Recv() (*RotateCertificateRequest, error) grpc.ServerStream }
type CertificateRevocationError ¶
type CertificateRevocationError struct { CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*CertificateRevocationError) Descriptor
deprecated
func (*CertificateRevocationError) Descriptor() ([]byte, []int)
Deprecated: Use CertificateRevocationError.ProtoReflect.Descriptor instead.
func (*CertificateRevocationError) GetCertificateId ¶
func (x *CertificateRevocationError) GetCertificateId() string
func (*CertificateRevocationError) GetErrorMessage ¶
func (x *CertificateRevocationError) GetErrorMessage() string
func (*CertificateRevocationError) ProtoMessage ¶
func (*CertificateRevocationError) ProtoMessage()
func (*CertificateRevocationError) ProtoReflect ¶
func (x *CertificateRevocationError) ProtoReflect() protoreflect.Message
func (*CertificateRevocationError) Reset ¶
func (x *CertificateRevocationError) Reset()
func (*CertificateRevocationError) String ¶
func (x *CertificateRevocationError) String() string
type CertificateType ¶
type CertificateType int32
const ( CertificateType_CT_UNKNOWN CertificateType = 0 CertificateType_CT_X509 CertificateType = 1 )
func (CertificateType) Descriptor ¶
func (CertificateType) Descriptor() protoreflect.EnumDescriptor
func (CertificateType) Enum ¶
func (x CertificateType) Enum() *CertificateType
func (CertificateType) EnumDescriptor
deprecated
func (CertificateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CertificateType.Descriptor instead.
func (CertificateType) Number ¶
func (x CertificateType) Number() protoreflect.EnumNumber
func (CertificateType) String ¶
func (x CertificateType) String() string
func (CertificateType) Type ¶
func (CertificateType) Type() protoreflect.EnumType
type Endpoint ¶
type Endpoint struct { Type Endpoint_Type `protobuf:"varint,1,opt,name=type,proto3,enum=gnoi.certificate.Endpoint_Type" json:"type,omitempty"` Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetEndpoint ¶
func (*Endpoint) GetType ¶
func (x *Endpoint) GetType() Endpoint_Type
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type Endpoint_Type ¶
type Endpoint_Type int32
const ( Endpoint_EP_UNSPECIFIED Endpoint_Type = 0 Endpoint_EP_IPSEC_TUNNEL Endpoint_Type = 1 Endpoint_EP_DAEMON Endpoint_Type = 2 )
func (Endpoint_Type) Descriptor ¶
func (Endpoint_Type) Descriptor() protoreflect.EnumDescriptor
func (Endpoint_Type) Enum ¶
func (x Endpoint_Type) Enum() *Endpoint_Type
func (Endpoint_Type) EnumDescriptor
deprecated
func (Endpoint_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Endpoint_Type.Descriptor instead.
func (Endpoint_Type) Number ¶
func (x Endpoint_Type) Number() protoreflect.EnumNumber
func (Endpoint_Type) String ¶
func (x Endpoint_Type) String() string
func (Endpoint_Type) Type ¶
func (Endpoint_Type) Type() protoreflect.EnumType
type FinalizeRequest ¶
type FinalizeRequest struct {
// contains filtered or unexported fields
}
func (*FinalizeRequest) Descriptor
deprecated
func (*FinalizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use FinalizeRequest.ProtoReflect.Descriptor instead.
func (*FinalizeRequest) ProtoMessage ¶
func (*FinalizeRequest) ProtoMessage()
func (*FinalizeRequest) ProtoReflect ¶
func (x *FinalizeRequest) ProtoReflect() protoreflect.Message
func (*FinalizeRequest) Reset ¶
func (x *FinalizeRequest) Reset()
func (*FinalizeRequest) String ¶
func (x *FinalizeRequest) String() string
type GenerateCSRRequest ¶
type GenerateCSRRequest struct { CsrParams *CSRParams `protobuf:"bytes,1,opt,name=csr_params,json=csrParams,proto3" json:"csr_params,omitempty"` CertificateId string `protobuf:"bytes,2,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
func (*GenerateCSRRequest) Descriptor
deprecated
func (*GenerateCSRRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateCSRRequest.ProtoReflect.Descriptor instead.
func (*GenerateCSRRequest) GetCertificateId ¶
func (x *GenerateCSRRequest) GetCertificateId() string
func (*GenerateCSRRequest) GetCsrParams ¶
func (x *GenerateCSRRequest) GetCsrParams() *CSRParams
func (*GenerateCSRRequest) ProtoMessage ¶
func (*GenerateCSRRequest) ProtoMessage()
func (*GenerateCSRRequest) ProtoReflect ¶
func (x *GenerateCSRRequest) ProtoReflect() protoreflect.Message
func (*GenerateCSRRequest) Reset ¶
func (x *GenerateCSRRequest) Reset()
func (*GenerateCSRRequest) String ¶
func (x *GenerateCSRRequest) String() string
type GenerateCSRResponse ¶
type GenerateCSRResponse struct { Csr *CSR `protobuf:"bytes,1,opt,name=csr,proto3" json:"csr,omitempty"` // contains filtered or unexported fields }
func (*GenerateCSRResponse) Descriptor
deprecated
func (*GenerateCSRResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateCSRResponse.ProtoReflect.Descriptor instead.
func (*GenerateCSRResponse) GetCsr ¶
func (x *GenerateCSRResponse) GetCsr() *CSR
func (*GenerateCSRResponse) ProtoMessage ¶
func (*GenerateCSRResponse) ProtoMessage()
func (*GenerateCSRResponse) ProtoReflect ¶
func (x *GenerateCSRResponse) ProtoReflect() protoreflect.Message
func (*GenerateCSRResponse) Reset ¶
func (x *GenerateCSRResponse) Reset()
func (*GenerateCSRResponse) String ¶
func (x *GenerateCSRResponse) String() string
type GetCertificatesRequest ¶
type GetCertificatesRequest struct {
// contains filtered or unexported fields
}
func (*GetCertificatesRequest) Descriptor
deprecated
func (*GetCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificatesRequest.ProtoReflect.Descriptor instead.
func (*GetCertificatesRequest) ProtoMessage ¶
func (*GetCertificatesRequest) ProtoMessage()
func (*GetCertificatesRequest) ProtoReflect ¶
func (x *GetCertificatesRequest) ProtoReflect() protoreflect.Message
func (*GetCertificatesRequest) Reset ¶
func (x *GetCertificatesRequest) Reset()
func (*GetCertificatesRequest) String ¶
func (x *GetCertificatesRequest) String() string
type GetCertificatesResponse ¶
type GetCertificatesResponse struct { CertificateInfo []*CertificateInfo `protobuf:"bytes,1,rep,name=certificate_info,json=certificateInfo,proto3" json:"certificate_info,omitempty"` // contains filtered or unexported fields }
func (*GetCertificatesResponse) Descriptor
deprecated
func (*GetCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificatesResponse.ProtoReflect.Descriptor instead.
func (*GetCertificatesResponse) GetCertificateInfo ¶
func (x *GetCertificatesResponse) GetCertificateInfo() []*CertificateInfo
func (*GetCertificatesResponse) ProtoMessage ¶
func (*GetCertificatesResponse) ProtoMessage()
func (*GetCertificatesResponse) ProtoReflect ¶
func (x *GetCertificatesResponse) ProtoReflect() protoreflect.Message
func (*GetCertificatesResponse) Reset ¶
func (x *GetCertificatesResponse) Reset()
func (*GetCertificatesResponse) String ¶
func (x *GetCertificatesResponse) String() string
type InstallCertificateRequest ¶
type InstallCertificateRequest struct { // Types that are assignable to InstallRequest: // // *InstallCertificateRequest_GenerateCsr // *InstallCertificateRequest_LoadCertificate InstallRequest isInstallCertificateRequest_InstallRequest `protobuf_oneof:"install_request"` // contains filtered or unexported fields }
func (*InstallCertificateRequest) Descriptor
deprecated
func (*InstallCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstallCertificateRequest.ProtoReflect.Descriptor instead.
func (*InstallCertificateRequest) GetGenerateCsr ¶
func (x *InstallCertificateRequest) GetGenerateCsr() *GenerateCSRRequest
func (*InstallCertificateRequest) GetInstallRequest ¶
func (m *InstallCertificateRequest) GetInstallRequest() isInstallCertificateRequest_InstallRequest
func (*InstallCertificateRequest) GetLoadCertificate ¶
func (x *InstallCertificateRequest) GetLoadCertificate() *LoadCertificateRequest
func (*InstallCertificateRequest) ProtoMessage ¶
func (*InstallCertificateRequest) ProtoMessage()
func (*InstallCertificateRequest) ProtoReflect ¶
func (x *InstallCertificateRequest) ProtoReflect() protoreflect.Message
func (*InstallCertificateRequest) Reset ¶
func (x *InstallCertificateRequest) Reset()
func (*InstallCertificateRequest) String ¶
func (x *InstallCertificateRequest) String() string
type InstallCertificateRequest_GenerateCsr ¶
type InstallCertificateRequest_GenerateCsr struct {
GenerateCsr *GenerateCSRRequest `protobuf:"bytes,1,opt,name=generate_csr,json=generateCsr,proto3,oneof"`
}
type InstallCertificateRequest_LoadCertificate ¶
type InstallCertificateRequest_LoadCertificate struct {
LoadCertificate *LoadCertificateRequest `protobuf:"bytes,2,opt,name=load_certificate,json=loadCertificate,proto3,oneof"`
}
type InstallCertificateResponse ¶
type InstallCertificateResponse struct { // Types that are assignable to InstallResponse: // // *InstallCertificateResponse_GeneratedCsr // *InstallCertificateResponse_LoadCertificate InstallResponse isInstallCertificateResponse_InstallResponse `protobuf_oneof:"install_response"` // contains filtered or unexported fields }
func (*InstallCertificateResponse) Descriptor
deprecated
func (*InstallCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstallCertificateResponse.ProtoReflect.Descriptor instead.
func (*InstallCertificateResponse) GetGeneratedCsr ¶
func (x *InstallCertificateResponse) GetGeneratedCsr() *GenerateCSRResponse
func (*InstallCertificateResponse) GetInstallResponse ¶
func (m *InstallCertificateResponse) GetInstallResponse() isInstallCertificateResponse_InstallResponse
func (*InstallCertificateResponse) GetLoadCertificate ¶
func (x *InstallCertificateResponse) GetLoadCertificate() *LoadCertificateResponse
func (*InstallCertificateResponse) ProtoMessage ¶
func (*InstallCertificateResponse) ProtoMessage()
func (*InstallCertificateResponse) ProtoReflect ¶
func (x *InstallCertificateResponse) ProtoReflect() protoreflect.Message
func (*InstallCertificateResponse) Reset ¶
func (x *InstallCertificateResponse) Reset()
func (*InstallCertificateResponse) String ¶
func (x *InstallCertificateResponse) String() string
type InstallCertificateResponse_GeneratedCsr ¶
type InstallCertificateResponse_GeneratedCsr struct {
GeneratedCsr *GenerateCSRResponse `protobuf:"bytes,1,opt,name=generated_csr,json=generatedCsr,proto3,oneof"`
}
type InstallCertificateResponse_LoadCertificate ¶
type InstallCertificateResponse_LoadCertificate struct {
LoadCertificate *LoadCertificateResponse `protobuf:"bytes,2,opt,name=load_certificate,json=loadCertificate,proto3,oneof"`
}
type KeyPair ¶
type KeyPair struct { PrivateKey []byte `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*KeyPair) Descriptor
deprecated
func (*KeyPair) GetPrivateKey ¶
func (*KeyPair) GetPublicKey ¶
func (*KeyPair) ProtoMessage ¶
func (*KeyPair) ProtoMessage()
func (*KeyPair) ProtoReflect ¶
func (x *KeyPair) ProtoReflect() protoreflect.Message
type KeyType ¶
type KeyType int32
func (KeyType) Descriptor ¶
func (KeyType) Descriptor() protoreflect.EnumDescriptor
func (KeyType) EnumDescriptor
deprecated
func (KeyType) Number ¶
func (x KeyType) Number() protoreflect.EnumNumber
func (KeyType) Type ¶
func (KeyType) Type() protoreflect.EnumType
type LoadCertificateAuthorityBundleRequest ¶
type LoadCertificateAuthorityBundleRequest struct { CaCertificates []*Certificate `protobuf:"bytes,1,rep,name=ca_certificates,json=caCertificates,proto3" json:"ca_certificates,omitempty"` // contains filtered or unexported fields }
func (*LoadCertificateAuthorityBundleRequest) Descriptor
deprecated
func (*LoadCertificateAuthorityBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadCertificateAuthorityBundleRequest.ProtoReflect.Descriptor instead.
func (*LoadCertificateAuthorityBundleRequest) GetCaCertificates ¶
func (x *LoadCertificateAuthorityBundleRequest) GetCaCertificates() []*Certificate
func (*LoadCertificateAuthorityBundleRequest) ProtoMessage ¶
func (*LoadCertificateAuthorityBundleRequest) ProtoMessage()
func (*LoadCertificateAuthorityBundleRequest) ProtoReflect ¶
func (x *LoadCertificateAuthorityBundleRequest) ProtoReflect() protoreflect.Message
func (*LoadCertificateAuthorityBundleRequest) Reset ¶
func (x *LoadCertificateAuthorityBundleRequest) Reset()
func (*LoadCertificateAuthorityBundleRequest) String ¶
func (x *LoadCertificateAuthorityBundleRequest) String() string
type LoadCertificateAuthorityBundleResponse ¶
type LoadCertificateAuthorityBundleResponse struct {
// contains filtered or unexported fields
}
func (*LoadCertificateAuthorityBundleResponse) Descriptor
deprecated
func (*LoadCertificateAuthorityBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoadCertificateAuthorityBundleResponse.ProtoReflect.Descriptor instead.
func (*LoadCertificateAuthorityBundleResponse) ProtoMessage ¶
func (*LoadCertificateAuthorityBundleResponse) ProtoMessage()
func (*LoadCertificateAuthorityBundleResponse) ProtoReflect ¶
func (x *LoadCertificateAuthorityBundleResponse) ProtoReflect() protoreflect.Message
func (*LoadCertificateAuthorityBundleResponse) Reset ¶
func (x *LoadCertificateAuthorityBundleResponse) Reset()
func (*LoadCertificateAuthorityBundleResponse) String ¶
func (x *LoadCertificateAuthorityBundleResponse) String() string
type LoadCertificateRequest ¶
type LoadCertificateRequest struct { Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` KeyPair *KeyPair `protobuf:"bytes,2,opt,name=key_pair,json=keyPair,proto3" json:"key_pair,omitempty"` CertificateId string `protobuf:"bytes,3,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` CaCertificates []*Certificate `protobuf:"bytes,4,rep,name=ca_certificates,json=caCertificates,proto3" json:"ca_certificates,omitempty"` // contains filtered or unexported fields }
func (*LoadCertificateRequest) Descriptor
deprecated
func (*LoadCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadCertificateRequest.ProtoReflect.Descriptor instead.
func (*LoadCertificateRequest) GetCaCertificates ¶
func (x *LoadCertificateRequest) GetCaCertificates() []*Certificate
func (*LoadCertificateRequest) GetCertificate ¶
func (x *LoadCertificateRequest) GetCertificate() *Certificate
func (*LoadCertificateRequest) GetCertificateId ¶
func (x *LoadCertificateRequest) GetCertificateId() string
func (*LoadCertificateRequest) GetKeyPair ¶
func (x *LoadCertificateRequest) GetKeyPair() *KeyPair
func (*LoadCertificateRequest) ProtoMessage ¶
func (*LoadCertificateRequest) ProtoMessage()
func (*LoadCertificateRequest) ProtoReflect ¶
func (x *LoadCertificateRequest) ProtoReflect() protoreflect.Message
func (*LoadCertificateRequest) Reset ¶
func (x *LoadCertificateRequest) Reset()
func (*LoadCertificateRequest) String ¶
func (x *LoadCertificateRequest) String() string
type LoadCertificateResponse ¶
type LoadCertificateResponse struct {
// contains filtered or unexported fields
}
func (*LoadCertificateResponse) Descriptor
deprecated
func (*LoadCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoadCertificateResponse.ProtoReflect.Descriptor instead.
func (*LoadCertificateResponse) ProtoMessage ¶
func (*LoadCertificateResponse) ProtoMessage()
func (*LoadCertificateResponse) ProtoReflect ¶
func (x *LoadCertificateResponse) ProtoReflect() protoreflect.Message
func (*LoadCertificateResponse) Reset ¶
func (x *LoadCertificateResponse) Reset()
func (*LoadCertificateResponse) String ¶
func (x *LoadCertificateResponse) String() string
type RevokeCertificatesRequest ¶
type RevokeCertificatesRequest struct { CertificateId []string `protobuf:"bytes,1,rep,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
func (*RevokeCertificatesRequest) Descriptor
deprecated
func (*RevokeCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeCertificatesRequest.ProtoReflect.Descriptor instead.
func (*RevokeCertificatesRequest) GetCertificateId ¶
func (x *RevokeCertificatesRequest) GetCertificateId() []string
func (*RevokeCertificatesRequest) ProtoMessage ¶
func (*RevokeCertificatesRequest) ProtoMessage()
func (*RevokeCertificatesRequest) ProtoReflect ¶
func (x *RevokeCertificatesRequest) ProtoReflect() protoreflect.Message
func (*RevokeCertificatesRequest) Reset ¶
func (x *RevokeCertificatesRequest) Reset()
func (*RevokeCertificatesRequest) String ¶
func (x *RevokeCertificatesRequest) String() string
type RevokeCertificatesResponse ¶
type RevokeCertificatesResponse struct { RevokedCertificateId []string `protobuf:"bytes,1,rep,name=revoked_certificate_id,json=revokedCertificateId,proto3" json:"revoked_certificate_id,omitempty"` CertificateRevocationError []*CertificateRevocationError `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RevokeCertificatesResponse) Descriptor
deprecated
func (*RevokeCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeCertificatesResponse.ProtoReflect.Descriptor instead.
func (*RevokeCertificatesResponse) GetCertificateRevocationError ¶
func (x *RevokeCertificatesResponse) GetCertificateRevocationError() []*CertificateRevocationError
func (*RevokeCertificatesResponse) GetRevokedCertificateId ¶
func (x *RevokeCertificatesResponse) GetRevokedCertificateId() []string
func (*RevokeCertificatesResponse) ProtoMessage ¶
func (*RevokeCertificatesResponse) ProtoMessage()
func (*RevokeCertificatesResponse) ProtoReflect ¶
func (x *RevokeCertificatesResponse) ProtoReflect() protoreflect.Message
func (*RevokeCertificatesResponse) Reset ¶
func (x *RevokeCertificatesResponse) Reset()
func (*RevokeCertificatesResponse) String ¶
func (x *RevokeCertificatesResponse) String() string
type RotateCertificateRequest ¶
type RotateCertificateRequest struct { // Types that are assignable to RotateRequest: // // *RotateCertificateRequest_GenerateCsr // *RotateCertificateRequest_LoadCertificate // *RotateCertificateRequest_FinalizeRotation RotateRequest isRotateCertificateRequest_RotateRequest `protobuf_oneof:"rotate_request"` // contains filtered or unexported fields }
func (*RotateCertificateRequest) Descriptor
deprecated
func (*RotateCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RotateCertificateRequest.ProtoReflect.Descriptor instead.
func (*RotateCertificateRequest) GetFinalizeRotation ¶
func (x *RotateCertificateRequest) GetFinalizeRotation() *FinalizeRequest
func (*RotateCertificateRequest) GetGenerateCsr ¶
func (x *RotateCertificateRequest) GetGenerateCsr() *GenerateCSRRequest
func (*RotateCertificateRequest) GetLoadCertificate ¶
func (x *RotateCertificateRequest) GetLoadCertificate() *LoadCertificateRequest
func (*RotateCertificateRequest) GetRotateRequest ¶
func (m *RotateCertificateRequest) GetRotateRequest() isRotateCertificateRequest_RotateRequest
func (*RotateCertificateRequest) ProtoMessage ¶
func (*RotateCertificateRequest) ProtoMessage()
func (*RotateCertificateRequest) ProtoReflect ¶
func (x *RotateCertificateRequest) ProtoReflect() protoreflect.Message
func (*RotateCertificateRequest) Reset ¶
func (x *RotateCertificateRequest) Reset()
func (*RotateCertificateRequest) String ¶
func (x *RotateCertificateRequest) String() string
type RotateCertificateRequest_FinalizeRotation ¶
type RotateCertificateRequest_FinalizeRotation struct {
FinalizeRotation *FinalizeRequest `protobuf:"bytes,3,opt,name=finalize_rotation,json=finalizeRotation,proto3,oneof"`
}
type RotateCertificateRequest_GenerateCsr ¶
type RotateCertificateRequest_GenerateCsr struct {
GenerateCsr *GenerateCSRRequest `protobuf:"bytes,1,opt,name=generate_csr,json=generateCsr,proto3,oneof"`
}
type RotateCertificateRequest_LoadCertificate ¶
type RotateCertificateRequest_LoadCertificate struct {
LoadCertificate *LoadCertificateRequest `protobuf:"bytes,2,opt,name=load_certificate,json=loadCertificate,proto3,oneof"`
}
type RotateCertificateResponse ¶
type RotateCertificateResponse struct { // Types that are assignable to RotateResponse: // // *RotateCertificateResponse_GeneratedCsr // *RotateCertificateResponse_LoadCertificate RotateResponse isRotateCertificateResponse_RotateResponse `protobuf_oneof:"rotate_response"` // contains filtered or unexported fields }
func (*RotateCertificateResponse) Descriptor
deprecated
func (*RotateCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RotateCertificateResponse.ProtoReflect.Descriptor instead.
func (*RotateCertificateResponse) GetGeneratedCsr ¶
func (x *RotateCertificateResponse) GetGeneratedCsr() *GenerateCSRResponse
func (*RotateCertificateResponse) GetLoadCertificate ¶
func (x *RotateCertificateResponse) GetLoadCertificate() *LoadCertificateResponse
func (*RotateCertificateResponse) GetRotateResponse ¶
func (m *RotateCertificateResponse) GetRotateResponse() isRotateCertificateResponse_RotateResponse
func (*RotateCertificateResponse) ProtoMessage ¶
func (*RotateCertificateResponse) ProtoMessage()
func (*RotateCertificateResponse) ProtoReflect ¶
func (x *RotateCertificateResponse) ProtoReflect() protoreflect.Message
func (*RotateCertificateResponse) Reset ¶
func (x *RotateCertificateResponse) Reset()
func (*RotateCertificateResponse) String ¶
func (x *RotateCertificateResponse) String() string
type RotateCertificateResponse_GeneratedCsr ¶
type RotateCertificateResponse_GeneratedCsr struct {
GeneratedCsr *GenerateCSRResponse `protobuf:"bytes,1,opt,name=generated_csr,json=generatedCsr,proto3,oneof"`
}
type RotateCertificateResponse_LoadCertificate ¶
type RotateCertificateResponse_LoadCertificate struct {
LoadCertificate *LoadCertificateResponse `protobuf:"bytes,2,opt,name=load_certificate,json=loadCertificate,proto3,oneof"`
}
type UnimplementedCertificateManagementServer ¶
type UnimplementedCertificateManagementServer struct { }
UnimplementedCertificateManagementServer must be embedded to have forward compatible implementations.
func (UnimplementedCertificateManagementServer) CanGenerateCSR ¶
func (UnimplementedCertificateManagementServer) CanGenerateCSR(context.Context, *CanGenerateCSRRequest) (*CanGenerateCSRResponse, error)
func (UnimplementedCertificateManagementServer) GenerateCSR ¶
func (UnimplementedCertificateManagementServer) GenerateCSR(context.Context, *GenerateCSRRequest) (*GenerateCSRResponse, error)
func (UnimplementedCertificateManagementServer) GetCertificates ¶
func (UnimplementedCertificateManagementServer) GetCertificates(context.Context, *GetCertificatesRequest) (*GetCertificatesResponse, error)
func (UnimplementedCertificateManagementServer) LoadCertificate ¶
func (UnimplementedCertificateManagementServer) LoadCertificate(context.Context, *LoadCertificateRequest) (*LoadCertificateResponse, error)
func (UnimplementedCertificateManagementServer) LoadCertificateAuthorityBundle ¶
func (UnimplementedCertificateManagementServer) LoadCertificateAuthorityBundle(context.Context, *LoadCertificateAuthorityBundleRequest) (*LoadCertificateAuthorityBundleResponse, error)
func (UnimplementedCertificateManagementServer) RevokeCertificates ¶
func (UnimplementedCertificateManagementServer) RevokeCertificates(context.Context, *RevokeCertificatesRequest) (*RevokeCertificatesResponse, error)
type UnsafeCertificateManagementServer ¶
type UnsafeCertificateManagementServer interface {
// contains filtered or unexported methods
}
UnsafeCertificateManagementServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CertificateManagementServer will result in compilation errors.