cert

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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)

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use CSR.ProtoReflect.Descriptor instead.

func (*CSR) GetCsr

func (x *CSR) GetCsr() []byte

func (*CSR) GetType

func (x *CSR) GetType() CertificateType

func (*CSR) ProtoMessage

func (*CSR) ProtoMessage()

func (*CSR) ProtoReflect

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

func (*CSR) Reset

func (x *CSR) Reset()

func (*CSR) String

func (x *CSR) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use CSRParams.ProtoReflect.Descriptor instead.

func (*CSRParams) GetCity

func (x *CSRParams) GetCity() string

func (*CSRParams) GetCommonName

func (x *CSRParams) GetCommonName() string

func (*CSRParams) GetCountry

func (x *CSRParams) GetCountry() string

func (*CSRParams) GetEmailId

func (x *CSRParams) GetEmailId() string

func (*CSRParams) GetIpAddress

func (x *CSRParams) GetIpAddress() string

func (*CSRParams) GetKeyType

func (x *CSRParams) GetKeyType() KeyType

func (*CSRParams) GetMinKeySize

func (x *CSRParams) GetMinKeySize() uint32

func (*CSRParams) GetOrganization

func (x *CSRParams) GetOrganization() string

func (*CSRParams) GetOrganizationalUnit

func (x *CSRParams) GetOrganizationalUnit() string

func (*CSRParams) GetState

func (x *CSRParams) GetState() string

func (*CSRParams) GetType

func (x *CSRParams) GetType() CertificateType

func (*CSRParams) ProtoMessage

func (*CSRParams) ProtoMessage()

func (*CSRParams) ProtoReflect

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

func (*CSRParams) Reset

func (x *CSRParams) Reset()

func (*CSRParams) String

func (x *CSRParams) String() string

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

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.

type CertificateManagementServer

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 (*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) Enum

func (x CertificateType) Enum() *CertificateType

func (CertificateType) EnumDescriptor deprecated

func (CertificateType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CertificateType.Descriptor instead.

func (CertificateType) Number

func (CertificateType) String

func (x CertificateType) String() string

func (CertificateType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetEndpoint

func (x *Endpoint) GetEndpoint() string

func (*Endpoint) GetType

func (x *Endpoint) GetType() Endpoint_Type

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect

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

func (*Endpoint) Reset

func (x *Endpoint) Reset()

func (*Endpoint) String

func (x *Endpoint) String() string

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) 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 (Endpoint_Type) String

func (x Endpoint_Type) String() string

func (Endpoint_Type) Type

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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use KeyPair.ProtoReflect.Descriptor instead.

func (*KeyPair) GetPrivateKey

func (x *KeyPair) GetPrivateKey() []byte

func (*KeyPair) GetPublicKey

func (x *KeyPair) GetPublicKey() []byte

func (*KeyPair) ProtoMessage

func (*KeyPair) ProtoMessage()

func (*KeyPair) ProtoReflect

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

func (*KeyPair) Reset

func (x *KeyPair) Reset()

func (*KeyPair) String

func (x *KeyPair) String() string

type KeyType

type KeyType int32
const (
	KeyType_KT_UNKNOWN KeyType = 0
	KeyType_KT_RSA     KeyType = 1
)

func (KeyType) Descriptor

func (KeyType) Descriptor() protoreflect.EnumDescriptor

func (KeyType) Enum

func (x KeyType) Enum() *KeyType

func (KeyType) EnumDescriptor deprecated

func (KeyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use KeyType.Descriptor instead.

func (KeyType) Number

func (x KeyType) Number() protoreflect.EnumNumber

func (KeyType) String

func (x KeyType) String() string

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 (*LoadCertificateAuthorityBundleRequest) Reset

func (*LoadCertificateAuthorityBundleRequest) 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) ProtoReflect

func (*LoadCertificateAuthorityBundleResponse) Reset

func (*LoadCertificateAuthorityBundleResponse) 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 (*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 (*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 (*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) GenerateCSR

func (UnimplementedCertificateManagementServer) GetCertificates

func (UnimplementedCertificateManagementServer) Install

func (UnimplementedCertificateManagementServer) LoadCertificate

func (UnimplementedCertificateManagementServer) RevokeCertificates

func (UnimplementedCertificateManagementServer) Rotate

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL