Versions in this module Expand all Collapse all v1 v1.2.1 Dec 25, 2023 v1.2.0 Dec 25, 2023 v1.1.1 Dec 12, 2023 v1.1.0 Dec 12, 2023 Changes in this version + var CertificateType_name = map[int32]string + var CertificateType_value = map[string]int32 + var Endpoint_Type_name = map[int32]string + var Endpoint_Type_value = map[string]int32 + var File_cert_proto protoreflect.FileDescriptor + var KeyType_name = map[int32]string + var KeyType_value = map[string]int32 + func RegisterCertificateManagementServer(s *grpc.Server, srv CertificateManagementServer) + type CSR struct + Csr []byte + Type CertificateType + func (*CSR) Descriptor() ([]byte, []int) + func (*CSR) ProtoMessage() + func (x *CSR) GetCsr() []byte + func (x *CSR) GetType() CertificateType + func (x *CSR) ProtoReflect() protoreflect.Message + func (x *CSR) Reset() + func (x *CSR) String() string + type CSRParams struct + City string + CommonName string + Country string + EmailId string + IpAddress string + KeyType KeyType + MinKeySize uint32 + Organization string + OrganizationalUnit string + State string + Type CertificateType + func (*CSRParams) Descriptor() ([]byte, []int) + func (*CSRParams) ProtoMessage() + 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 (x *CSRParams) ProtoReflect() protoreflect.Message + func (x *CSRParams) Reset() + func (x *CSRParams) String() string + type CanGenerateCSRRequest struct + CertificateType CertificateType + KeySize uint32 + KeyType KeyType + func (*CanGenerateCSRRequest) Descriptor() ([]byte, []int) + func (*CanGenerateCSRRequest) ProtoMessage() + func (x *CanGenerateCSRRequest) GetCertificateType() CertificateType + func (x *CanGenerateCSRRequest) GetKeySize() uint32 + func (x *CanGenerateCSRRequest) GetKeyType() KeyType + func (x *CanGenerateCSRRequest) ProtoReflect() protoreflect.Message + func (x *CanGenerateCSRRequest) Reset() + func (x *CanGenerateCSRRequest) String() string + type CanGenerateCSRResponse struct + CanGenerate bool + func (*CanGenerateCSRResponse) Descriptor() ([]byte, []int) + func (*CanGenerateCSRResponse) ProtoMessage() + func (x *CanGenerateCSRResponse) GetCanGenerate() bool + func (x *CanGenerateCSRResponse) ProtoReflect() protoreflect.Message + func (x *CanGenerateCSRResponse) Reset() + func (x *CanGenerateCSRResponse) String() string + type Certificate struct + Certificate []byte + Type CertificateType + func (*Certificate) Descriptor() ([]byte, []int) + func (*Certificate) ProtoMessage() + func (x *Certificate) GetCertificate() []byte + func (x *Certificate) GetType() CertificateType + func (x *Certificate) ProtoReflect() protoreflect.Message + func (x *Certificate) Reset() + func (x *Certificate) String() string + type CertificateInfo struct + Certificate *Certificate + CertificateId string + Endpoints []*Endpoint + ModificationTime int64 + func (*CertificateInfo) Descriptor() ([]byte, []int) + func (*CertificateInfo) ProtoMessage() + func (x *CertificateInfo) GetCertificate() *Certificate + func (x *CertificateInfo) GetCertificateId() string + func (x *CertificateInfo) GetEndpoints() []*Endpoint + func (x *CertificateInfo) GetModificationTime() int64 + func (x *CertificateInfo) ProtoReflect() protoreflect.Message + func (x *CertificateInfo) Reset() + func (x *CertificateInfo) String() string + type CertificateManagementClient interface + CanGenerateCSR func(ctx context.Context, in *CanGenerateCSRRequest, opts ...grpc.CallOption) (*CanGenerateCSRResponse, error) + GetCertificates func(ctx context.Context, in *GetCertificatesRequest, opts ...grpc.CallOption) (*GetCertificatesResponse, error) + Install func(ctx context.Context, opts ...grpc.CallOption) (CertificateManagement_InstallClient, error) + RevokeCertificates func(ctx context.Context, in *RevokeCertificatesRequest, opts ...grpc.CallOption) (*RevokeCertificatesResponse, error) + Rotate func(ctx context.Context, opts ...grpc.CallOption) (CertificateManagement_RotateClient, error) + func NewCertificateManagementClient(cc grpc.ClientConnInterface) CertificateManagementClient + type CertificateManagementServer interface + CanGenerateCSR func(context.Context, *CanGenerateCSRRequest) (*CanGenerateCSRResponse, error) + GetCertificates func(context.Context, *GetCertificatesRequest) (*GetCertificatesResponse, error) + Install func(CertificateManagement_InstallServer) error + RevokeCertificates func(context.Context, *RevokeCertificatesRequest) (*RevokeCertificatesResponse, error) + Rotate func(CertificateManagement_RotateServer) error + type CertificateManagement_InstallClient interface + Recv func() (*InstallCertificateResponse, error) + Send func(*InstallCertificateRequest) error + type CertificateManagement_InstallServer interface + Recv func() (*InstallCertificateRequest, error) + Send func(*InstallCertificateResponse) error + type CertificateManagement_RotateClient interface + Recv func() (*RotateCertificateResponse, error) + Send func(*RotateCertificateRequest) error + type CertificateManagement_RotateServer interface + Recv func() (*RotateCertificateRequest, error) + Send func(*RotateCertificateResponse) error + type CertificateRevocationError struct + CertificateId string + ErrorMessage string + func (*CertificateRevocationError) Descriptor() ([]byte, []int) + func (*CertificateRevocationError) ProtoMessage() + func (x *CertificateRevocationError) GetCertificateId() string + func (x *CertificateRevocationError) GetErrorMessage() string + func (x *CertificateRevocationError) ProtoReflect() protoreflect.Message + func (x *CertificateRevocationError) Reset() + func (x *CertificateRevocationError) String() string + type CertificateType int32 + const CertificateType_CT_UNKNOWN + const CertificateType_CT_X509 + func (CertificateType) Descriptor() protoreflect.EnumDescriptor + func (CertificateType) EnumDescriptor() ([]byte, []int) + func (CertificateType) Type() protoreflect.EnumType + func (x CertificateType) Enum() *CertificateType + func (x CertificateType) Number() protoreflect.EnumNumber + func (x CertificateType) String() string + type Endpoint struct + Endpoint string + Type Endpoint_Type + func (*Endpoint) Descriptor() ([]byte, []int) + func (*Endpoint) ProtoMessage() + func (x *Endpoint) GetEndpoint() string + func (x *Endpoint) GetType() Endpoint_Type + func (x *Endpoint) ProtoReflect() protoreflect.Message + func (x *Endpoint) Reset() + func (x *Endpoint) String() string + type Endpoint_Type int32 + const Endpoint_EP_DAEMON + const Endpoint_EP_IPSEC_TUNNEL + const Endpoint_EP_UNSPECIFIED + func (Endpoint_Type) Descriptor() protoreflect.EnumDescriptor + func (Endpoint_Type) EnumDescriptor() ([]byte, []int) + func (Endpoint_Type) Type() protoreflect.EnumType + func (x Endpoint_Type) Enum() *Endpoint_Type + func (x Endpoint_Type) Number() protoreflect.EnumNumber + func (x Endpoint_Type) String() string + type FinalizeRequest struct + func (*FinalizeRequest) Descriptor() ([]byte, []int) + func (*FinalizeRequest) ProtoMessage() + func (x *FinalizeRequest) ProtoReflect() protoreflect.Message + func (x *FinalizeRequest) Reset() + func (x *FinalizeRequest) String() string + type GenerateCSRRequest struct + CertificateId string + CsrParams *CSRParams + func (*GenerateCSRRequest) Descriptor() ([]byte, []int) + func (*GenerateCSRRequest) ProtoMessage() + func (x *GenerateCSRRequest) GetCertificateId() string + func (x *GenerateCSRRequest) GetCsrParams() *CSRParams + func (x *GenerateCSRRequest) ProtoReflect() protoreflect.Message + func (x *GenerateCSRRequest) Reset() + func (x *GenerateCSRRequest) String() string + type GenerateCSRResponse struct + Csr *CSR + func (*GenerateCSRResponse) Descriptor() ([]byte, []int) + func (*GenerateCSRResponse) ProtoMessage() + func (x *GenerateCSRResponse) GetCsr() *CSR + func (x *GenerateCSRResponse) ProtoReflect() protoreflect.Message + func (x *GenerateCSRResponse) Reset() + func (x *GenerateCSRResponse) String() string + type GetCertificatesRequest struct + func (*GetCertificatesRequest) Descriptor() ([]byte, []int) + func (*GetCertificatesRequest) ProtoMessage() + func (x *GetCertificatesRequest) ProtoReflect() protoreflect.Message + func (x *GetCertificatesRequest) Reset() + func (x *GetCertificatesRequest) String() string + type GetCertificatesResponse struct + CertificateInfo []*CertificateInfo + func (*GetCertificatesResponse) Descriptor() ([]byte, []int) + func (*GetCertificatesResponse) ProtoMessage() + func (x *GetCertificatesResponse) GetCertificateInfo() []*CertificateInfo + func (x *GetCertificatesResponse) ProtoReflect() protoreflect.Message + func (x *GetCertificatesResponse) Reset() + func (x *GetCertificatesResponse) String() string + type InstallCertificateRequest struct + InstallRequest isInstallCertificateRequest_InstallRequest + func (*InstallCertificateRequest) Descriptor() ([]byte, []int) + func (*InstallCertificateRequest) ProtoMessage() + func (m *InstallCertificateRequest) GetInstallRequest() isInstallCertificateRequest_InstallRequest + func (x *InstallCertificateRequest) GetGenerateCsr() *GenerateCSRRequest + func (x *InstallCertificateRequest) GetLoadCertificate() *LoadCertificateRequest + func (x *InstallCertificateRequest) ProtoReflect() protoreflect.Message + func (x *InstallCertificateRequest) Reset() + func (x *InstallCertificateRequest) String() string + type InstallCertificateRequest_GenerateCsr struct + GenerateCsr *GenerateCSRRequest + type InstallCertificateRequest_LoadCertificate struct + LoadCertificate *LoadCertificateRequest + type InstallCertificateResponse struct + InstallResponse isInstallCertificateResponse_InstallResponse + func (*InstallCertificateResponse) Descriptor() ([]byte, []int) + func (*InstallCertificateResponse) ProtoMessage() + func (m *InstallCertificateResponse) GetInstallResponse() isInstallCertificateResponse_InstallResponse + func (x *InstallCertificateResponse) GetGeneratedCsr() *GenerateCSRResponse + func (x *InstallCertificateResponse) GetLoadCertificate() *LoadCertificateResponse + func (x *InstallCertificateResponse) ProtoReflect() protoreflect.Message + func (x *InstallCertificateResponse) Reset() + func (x *InstallCertificateResponse) String() string + type InstallCertificateResponse_GeneratedCsr struct + GeneratedCsr *GenerateCSRResponse + type InstallCertificateResponse_LoadCertificate struct + LoadCertificate *LoadCertificateResponse + type KeyPair struct + PrivateKey []byte + PublicKey []byte + func (*KeyPair) Descriptor() ([]byte, []int) + func (*KeyPair) ProtoMessage() + func (x *KeyPair) GetPrivateKey() []byte + func (x *KeyPair) GetPublicKey() []byte + func (x *KeyPair) ProtoReflect() protoreflect.Message + func (x *KeyPair) Reset() + func (x *KeyPair) String() string + type KeyType int32 + const KeyType_KT_RSA + const KeyType_KT_UNKNOWN + func (KeyType) Descriptor() protoreflect.EnumDescriptor + func (KeyType) EnumDescriptor() ([]byte, []int) + func (KeyType) Type() protoreflect.EnumType + func (x KeyType) Enum() *KeyType + func (x KeyType) Number() protoreflect.EnumNumber + func (x KeyType) String() string + type LoadCertificateRequest struct + CaCertificates []*Certificate + Certificate *Certificate + CertificateId string + KeyPair *KeyPair + func (*LoadCertificateRequest) Descriptor() ([]byte, []int) + func (*LoadCertificateRequest) ProtoMessage() + func (x *LoadCertificateRequest) GetCaCertificates() []*Certificate + func (x *LoadCertificateRequest) GetCertificate() *Certificate + func (x *LoadCertificateRequest) GetCertificateId() string + func (x *LoadCertificateRequest) GetKeyPair() *KeyPair + func (x *LoadCertificateRequest) ProtoReflect() protoreflect.Message + func (x *LoadCertificateRequest) Reset() + func (x *LoadCertificateRequest) String() string + type LoadCertificateResponse struct + func (*LoadCertificateResponse) Descriptor() ([]byte, []int) + func (*LoadCertificateResponse) ProtoMessage() + func (x *LoadCertificateResponse) ProtoReflect() protoreflect.Message + func (x *LoadCertificateResponse) Reset() + func (x *LoadCertificateResponse) String() string + type RevokeCertificatesRequest struct + CertificateId []string + func (*RevokeCertificatesRequest) Descriptor() ([]byte, []int) + func (*RevokeCertificatesRequest) ProtoMessage() + func (x *RevokeCertificatesRequest) GetCertificateId() []string + func (x *RevokeCertificatesRequest) ProtoReflect() protoreflect.Message + func (x *RevokeCertificatesRequest) Reset() + func (x *RevokeCertificatesRequest) String() string + type RevokeCertificatesResponse struct + CertificateRevocationError []*CertificateRevocationError + RevokedCertificateId []string + func (*RevokeCertificatesResponse) Descriptor() ([]byte, []int) + func (*RevokeCertificatesResponse) ProtoMessage() + func (x *RevokeCertificatesResponse) GetCertificateRevocationError() []*CertificateRevocationError + func (x *RevokeCertificatesResponse) GetRevokedCertificateId() []string + func (x *RevokeCertificatesResponse) ProtoReflect() protoreflect.Message + func (x *RevokeCertificatesResponse) Reset() + func (x *RevokeCertificatesResponse) String() string + type RotateCertificateRequest struct + RotateRequest isRotateCertificateRequest_RotateRequest + func (*RotateCertificateRequest) Descriptor() ([]byte, []int) + func (*RotateCertificateRequest) ProtoMessage() + func (m *RotateCertificateRequest) GetRotateRequest() isRotateCertificateRequest_RotateRequest + func (x *RotateCertificateRequest) GetFinalizeRotation() *FinalizeRequest + func (x *RotateCertificateRequest) GetGenerateCsr() *GenerateCSRRequest + func (x *RotateCertificateRequest) GetLoadCertificate() *LoadCertificateRequest + func (x *RotateCertificateRequest) ProtoReflect() protoreflect.Message + func (x *RotateCertificateRequest) Reset() + func (x *RotateCertificateRequest) String() string + type RotateCertificateRequest_FinalizeRotation struct + FinalizeRotation *FinalizeRequest + type RotateCertificateRequest_GenerateCsr struct + GenerateCsr *GenerateCSRRequest + type RotateCertificateRequest_LoadCertificate struct + LoadCertificate *LoadCertificateRequest + type RotateCertificateResponse struct + RotateResponse isRotateCertificateResponse_RotateResponse + func (*RotateCertificateResponse) Descriptor() ([]byte, []int) + func (*RotateCertificateResponse) ProtoMessage() + func (m *RotateCertificateResponse) GetRotateResponse() isRotateCertificateResponse_RotateResponse + func (x *RotateCertificateResponse) GetGeneratedCsr() *GenerateCSRResponse + func (x *RotateCertificateResponse) GetLoadCertificate() *LoadCertificateResponse + func (x *RotateCertificateResponse) ProtoReflect() protoreflect.Message + func (x *RotateCertificateResponse) Reset() + func (x *RotateCertificateResponse) String() string + type RotateCertificateResponse_GeneratedCsr struct + GeneratedCsr *GenerateCSRResponse + type RotateCertificateResponse_LoadCertificate struct + LoadCertificate *LoadCertificateResponse + type UnimplementedCertificateManagementServer struct + func (*UnimplementedCertificateManagementServer) CanGenerateCSR(context.Context, *CanGenerateCSRRequest) (*CanGenerateCSRResponse, error) + func (*UnimplementedCertificateManagementServer) GetCertificates(context.Context, *GetCertificatesRequest) (*GetCertificatesResponse, error) + func (*UnimplementedCertificateManagementServer) Install(CertificateManagement_InstallServer) error + func (*UnimplementedCertificateManagementServer) RevokeCertificates(context.Context, *RevokeCertificatesRequest) (*RevokeCertificatesResponse, error) + func (*UnimplementedCertificateManagementServer) Rotate(CertificateManagement_RotateServer) error