kmsetsi

package
v0.0.0-...-f9f117d Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KmsETSI_ETSICapabilities_FullMethodName         = "/kmsetsi.KmsETSI/ETSICapabilities"
	KmsETSI_ETSIGetQuantumInterfaces_FullMethodName = "/kmsetsi.KmsETSI/ETSIGetQuantumInterfaces"
	KmsETSI_ETSIAddKMSPeer_FullMethodName           = "/kmsetsi.KmsETSI/ETSIAddKMSPeer"
	KmsETSI_ETSIRemoveKMSPeer_FullMethodName        = "/kmsetsi.KmsETSI/ETSIRemoveKMSPeer"
	KmsETSI_ETSIGetPeerList_FullMethodName          = "/kmsetsi.KmsETSI/ETSIGetPeerList"
	KmsETSI_ETSIGetEncryptKeys256Bit_FullMethodName = "/kmsetsi.KmsETSI/ETSIGetEncryptKeys256Bit"
)

Variables

View Source
var File_kmsetsi_kmsetsiproto_proto protoreflect.FileDescriptor
View Source
var KmsETSI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kmsetsi.KmsETSI",
	HandlerType: (*KmsETSIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ETSICapabilities",
			Handler:    _KmsETSI_ETSICapabilities_Handler,
		},
		{
			MethodName: "ETSIGetQuantumInterfaces",
			Handler:    _KmsETSI_ETSIGetQuantumInterfaces_Handler,
		},
		{
			MethodName: "ETSIAddKMSPeer",
			Handler:    _KmsETSI_ETSIAddKMSPeer_Handler,
		},
		{
			MethodName: "ETSIRemoveKMSPeer",
			Handler:    _KmsETSI_ETSIRemoveKMSPeer_Handler,
		},
		{
			MethodName: "ETSIGetPeerList",
			Handler:    _KmsETSI_ETSIGetPeerList_Handler,
		},
		{
			MethodName: "ETSIGetEncryptKeys256Bit",
			Handler:    _KmsETSI_ETSIGetEncryptKeys256Bit_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "kmsetsi/kmsetsiproto.proto",
}

KmsETSI_ServiceDesc is the grpc.ServiceDesc for KmsETSI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterKmsETSIServer

func RegisterKmsETSIServer(s grpc.ServiceRegistrar, srv KmsETSIServer)

Types

type ETSICapabilitiesReply

type ETSICapabilitiesReply struct {
	PeerKmsName string `protobuf:"bytes,1,opt,name=peerKmsName,proto3" json:"peerKmsName,omitempty"`
	// contains filtered or unexported fields
}

The response message containing the greetings

func (*ETSICapabilitiesReply) Descriptor deprecated

func (*ETSICapabilitiesReply) Descriptor() ([]byte, []int)

Deprecated: Use ETSICapabilitiesReply.ProtoReflect.Descriptor instead.

func (*ETSICapabilitiesReply) GetPeerKmsName

func (x *ETSICapabilitiesReply) GetPeerKmsName() string

func (*ETSICapabilitiesReply) ProtoMessage

func (*ETSICapabilitiesReply) ProtoMessage()

func (*ETSICapabilitiesReply) ProtoReflect

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

func (*ETSICapabilitiesReply) Reset

func (x *ETSICapabilitiesReply) Reset()

func (*ETSICapabilitiesReply) String

func (x *ETSICapabilitiesReply) String() string

type ETSICapabilitiesRequest

type ETSICapabilitiesRequest struct {
	MyKmsName string `protobuf:"bytes,1,opt,name=myKmsName,proto3" json:"myKmsName,omitempty"`
	// contains filtered or unexported fields
}

The request message containing the user's name.

func (*ETSICapabilitiesRequest) Descriptor deprecated

func (*ETSICapabilitiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ETSICapabilitiesRequest.ProtoReflect.Descriptor instead.

func (*ETSICapabilitiesRequest) GetMyKmsName

func (x *ETSICapabilitiesRequest) GetMyKmsName() string

func (*ETSICapabilitiesRequest) ProtoMessage

func (*ETSICapabilitiesRequest) ProtoMessage()

func (*ETSICapabilitiesRequest) ProtoReflect

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

func (*ETSICapabilitiesRequest) Reset

func (x *ETSICapabilitiesRequest) Reset()

func (*ETSICapabilitiesRequest) String

func (x *ETSICapabilitiesRequest) String() string

type ETSIGetEncryptKeys256BitReply

type ETSIGetEncryptKeys256BitReply struct {
	KeyID string `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"`
	Key   []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ETSIGetEncryptKeys256BitReply) Descriptor deprecated

func (*ETSIGetEncryptKeys256BitReply) Descriptor() ([]byte, []int)

Deprecated: Use ETSIGetEncryptKeys256BitReply.ProtoReflect.Descriptor instead.

func (*ETSIGetEncryptKeys256BitReply) GetKey

func (x *ETSIGetEncryptKeys256BitReply) GetKey() []byte

func (*ETSIGetEncryptKeys256BitReply) GetKeyID

func (x *ETSIGetEncryptKeys256BitReply) GetKeyID() string

func (*ETSIGetEncryptKeys256BitReply) ProtoMessage

func (*ETSIGetEncryptKeys256BitReply) ProtoMessage()

func (*ETSIGetEncryptKeys256BitReply) ProtoReflect

func (*ETSIGetEncryptKeys256BitReply) Reset

func (x *ETSIGetEncryptKeys256BitReply) Reset()

func (*ETSIGetEncryptKeys256BitReply) String

type ETSIGetEncryptKeys256BitRequest

type ETSIGetEncryptKeys256BitRequest struct {
	Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*ETSIGetEncryptKeys256BitRequest) Descriptor deprecated

func (*ETSIGetEncryptKeys256BitRequest) Descriptor() ([]byte, []int)

Deprecated: Use ETSIGetEncryptKeys256BitRequest.ProtoReflect.Descriptor instead.

func (*ETSIGetEncryptKeys256BitRequest) GetAmount

func (x *ETSIGetEncryptKeys256BitRequest) GetAmount() int64

func (*ETSIGetEncryptKeys256BitRequest) ProtoMessage

func (*ETSIGetEncryptKeys256BitRequest) ProtoMessage()

func (*ETSIGetEncryptKeys256BitRequest) ProtoReflect

func (*ETSIGetEncryptKeys256BitRequest) Reset

func (*ETSIGetEncryptKeys256BitRequest) String

type ETSIKMSPeer

type ETSIKMSPeer struct {
	PeerName   string `protobuf:"bytes,1,opt,name=peerName,proto3" json:"peerName,omitempty"`
	PeerStatus string `protobuf:"bytes,2,opt,name=peerStatus,proto3" json:"peerStatus,omitempty"`
	// contains filtered or unexported fields
}

func (*ETSIKMSPeer) Descriptor deprecated

func (*ETSIKMSPeer) Descriptor() ([]byte, []int)

Deprecated: Use ETSIKMSPeer.ProtoReflect.Descriptor instead.

func (*ETSIKMSPeer) GetPeerName

func (x *ETSIKMSPeer) GetPeerName() string

func (*ETSIKMSPeer) GetPeerStatus

func (x *ETSIKMSPeer) GetPeerStatus() string

func (*ETSIKMSPeer) ProtoMessage

func (*ETSIKMSPeer) ProtoMessage()

func (*ETSIKMSPeer) ProtoReflect

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

func (*ETSIKMSPeer) Reset

func (x *ETSIKMSPeer) Reset()

func (*ETSIKMSPeer) String

func (x *ETSIKMSPeer) String() string

type ETSIKMSPeerListReply

type ETSIKMSPeerListReply struct {
	Peer []*ETSIKMSPeer `protobuf:"bytes,1,rep,name=peer,proto3" json:"peer,omitempty"`
	// contains filtered or unexported fields
}

func (*ETSIKMSPeerListReply) Descriptor deprecated

func (*ETSIKMSPeerListReply) Descriptor() ([]byte, []int)

Deprecated: Use ETSIKMSPeerListReply.ProtoReflect.Descriptor instead.

func (*ETSIKMSPeerListReply) GetPeer

func (x *ETSIKMSPeerListReply) GetPeer() []*ETSIKMSPeer

func (*ETSIKMSPeerListReply) ProtoMessage

func (*ETSIKMSPeerListReply) ProtoMessage()

func (*ETSIKMSPeerListReply) ProtoReflect

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

func (*ETSIKMSPeerListReply) Reset

func (x *ETSIKMSPeerListReply) Reset()

func (*ETSIKMSPeerListReply) String

func (x *ETSIKMSPeerListReply) String() string

type ETSIKMSPeerListRequest

type ETSIKMSPeerListRequest struct {
	// contains filtered or unexported fields
}

func (*ETSIKMSPeerListRequest) Descriptor deprecated

func (*ETSIKMSPeerListRequest) Descriptor() ([]byte, []int)

Deprecated: Use ETSIKMSPeerListRequest.ProtoReflect.Descriptor instead.

func (*ETSIKMSPeerListRequest) ProtoMessage

func (*ETSIKMSPeerListRequest) ProtoMessage()

func (*ETSIKMSPeerListRequest) ProtoReflect

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

func (*ETSIKMSPeerListRequest) Reset

func (x *ETSIKMSPeerListRequest) Reset()

func (*ETSIKMSPeerListRequest) String

func (x *ETSIKMSPeerListRequest) String() string

type ETSIKMSPeerReply

type ETSIKMSPeerReply struct {
	KmsPeerName string `protobuf:"bytes,1,opt,name=kmsPeerName,proto3" json:"kmsPeerName,omitempty"`
	// contains filtered or unexported fields
}

func (*ETSIKMSPeerReply) Descriptor deprecated

func (*ETSIKMSPeerReply) Descriptor() ([]byte, []int)

Deprecated: Use ETSIKMSPeerReply.ProtoReflect.Descriptor instead.

func (*ETSIKMSPeerReply) GetKmsPeerName

func (x *ETSIKMSPeerReply) GetKmsPeerName() string

func (*ETSIKMSPeerReply) ProtoMessage

func (*ETSIKMSPeerReply) ProtoMessage()

func (*ETSIKMSPeerReply) ProtoReflect

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

func (*ETSIKMSPeerReply) Reset

func (x *ETSIKMSPeerReply) Reset()

func (*ETSIKMSPeerReply) String

func (x *ETSIKMSPeerReply) String() string

type ETSIKMSPeerRequest

type ETSIKMSPeerRequest struct {
	KmsPeerSocket string `protobuf:"bytes,1,opt,name=kmsPeerSocket,proto3" json:"kmsPeerSocket,omitempty"`
	KmsLocalQLEId uint32 `protobuf:"varint,2,opt,name=kmsLocalQLEId,proto3" json:"kmsLocalQLEId,omitempty"`
	// contains filtered or unexported fields
}

func (*ETSIKMSPeerRequest) Descriptor deprecated

func (*ETSIKMSPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use ETSIKMSPeerRequest.ProtoReflect.Descriptor instead.

func (*ETSIKMSPeerRequest) GetKmsLocalQLEId

func (x *ETSIKMSPeerRequest) GetKmsLocalQLEId() uint32

func (*ETSIKMSPeerRequest) GetKmsPeerSocket

func (x *ETSIKMSPeerRequest) GetKmsPeerSocket() string

func (*ETSIKMSPeerRequest) ProtoMessage

func (*ETSIKMSPeerRequest) ProtoMessage()

func (*ETSIKMSPeerRequest) ProtoReflect

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

func (*ETSIKMSPeerRequest) Reset

func (x *ETSIKMSPeerRequest) Reset()

func (*ETSIKMSPeerRequest) String

func (x *ETSIKMSPeerRequest) String() string

type ETSIKMSQuantumInterfaceListReply

type ETSIKMSQuantumInterfaceListReply struct {
	QlElementInfo []*QuantumElementInfo `protobuf:"bytes,1,rep,name=qlElementInfo,proto3" json:"qlElementInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*ETSIKMSQuantumInterfaceListReply) Descriptor deprecated

func (*ETSIKMSQuantumInterfaceListReply) Descriptor() ([]byte, []int)

Deprecated: Use ETSIKMSQuantumInterfaceListReply.ProtoReflect.Descriptor instead.

func (*ETSIKMSQuantumInterfaceListReply) GetQlElementInfo

func (x *ETSIKMSQuantumInterfaceListReply) GetQlElementInfo() []*QuantumElementInfo

func (*ETSIKMSQuantumInterfaceListReply) ProtoMessage

func (*ETSIKMSQuantumInterfaceListReply) ProtoMessage()

func (*ETSIKMSQuantumInterfaceListReply) ProtoReflect

func (*ETSIKMSQuantumInterfaceListReply) Reset

func (*ETSIKMSQuantumInterfaceListReply) String

type ETSIKMSQuantumInterfaceListRequest

type ETSIKMSQuantumInterfaceListRequest struct {
	// contains filtered or unexported fields
}

func (*ETSIKMSQuantumInterfaceListRequest) Descriptor deprecated

func (*ETSIKMSQuantumInterfaceListRequest) Descriptor() ([]byte, []int)

Deprecated: Use ETSIKMSQuantumInterfaceListRequest.ProtoReflect.Descriptor instead.

func (*ETSIKMSQuantumInterfaceListRequest) ProtoMessage

func (*ETSIKMSQuantumInterfaceListRequest) ProtoMessage()

func (*ETSIKMSQuantumInterfaceListRequest) ProtoReflect

func (*ETSIKMSQuantumInterfaceListRequest) Reset

func (*ETSIKMSQuantumInterfaceListRequest) String

type KmsETSIClient

type KmsETSIClient interface {
	// Sends a greeting
	ETSICapabilities(ctx context.Context, in *ETSICapabilitiesRequest, opts ...grpc.CallOption) (*ETSICapabilitiesReply, error)
	ETSIGetQuantumInterfaces(ctx context.Context, in *ETSIKMSQuantumInterfaceListRequest, opts ...grpc.CallOption) (*ETSIKMSQuantumInterfaceListReply, error)
	ETSIAddKMSPeer(ctx context.Context, in *ETSIKMSPeerRequest, opts ...grpc.CallOption) (*ETSIKMSPeerReply, error)
	ETSIRemoveKMSPeer(ctx context.Context, in *ETSIKMSPeerRequest, opts ...grpc.CallOption) (*ETSIKMSPeerReply, error)
	ETSIGetPeerList(ctx context.Context, in *ETSIKMSPeerListRequest, opts ...grpc.CallOption) (*ETSIKMSPeerListReply, error)
	ETSIGetEncryptKeys256Bit(ctx context.Context, in *ETSIGetEncryptKeys256BitRequest, opts ...grpc.CallOption) (*ETSIGetEncryptKeys256BitReply, error)
}

KmsETSIClient is the client API for KmsETSI 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 NewKmsETSIClient

func NewKmsETSIClient(cc grpc.ClientConnInterface) KmsETSIClient

type KmsETSIServer

type KmsETSIServer interface {
	// Sends a greeting
	ETSICapabilities(context.Context, *ETSICapabilitiesRequest) (*ETSICapabilitiesReply, error)
	ETSIGetQuantumInterfaces(context.Context, *ETSIKMSQuantumInterfaceListRequest) (*ETSIKMSQuantumInterfaceListReply, error)
	ETSIAddKMSPeer(context.Context, *ETSIKMSPeerRequest) (*ETSIKMSPeerReply, error)
	ETSIRemoveKMSPeer(context.Context, *ETSIKMSPeerRequest) (*ETSIKMSPeerReply, error)
	ETSIGetPeerList(context.Context, *ETSIKMSPeerListRequest) (*ETSIKMSPeerListReply, error)
	ETSIGetEncryptKeys256Bit(context.Context, *ETSIGetEncryptKeys256BitRequest) (*ETSIGetEncryptKeys256BitReply, error)
	// contains filtered or unexported methods
}

KmsETSIServer is the server API for KmsETSI service. All implementations must embed UnimplementedKmsETSIServer for forward compatibility

type QuantumElementInfo

type QuantumElementInfo struct {
	QleID   uint64 `protobuf:"varint,1,opt,name=qleID,proto3" json:"qleID,omitempty"`
	UdpAddr string `protobuf:"bytes,2,opt,name=udpAddr,proto3" json:"udpAddr,omitempty"`
	// contains filtered or unexported fields
}

NB for myself: this be used to link QLE mit KMS-Session!

func (*QuantumElementInfo) Descriptor deprecated

func (*QuantumElementInfo) Descriptor() ([]byte, []int)

Deprecated: Use QuantumElementInfo.ProtoReflect.Descriptor instead.

func (*QuantumElementInfo) GetQleID

func (x *QuantumElementInfo) GetQleID() uint64

func (*QuantumElementInfo) GetUdpAddr

func (x *QuantumElementInfo) GetUdpAddr() string

func (*QuantumElementInfo) ProtoMessage

func (*QuantumElementInfo) ProtoMessage()

func (*QuantumElementInfo) ProtoReflect

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

func (*QuantumElementInfo) Reset

func (x *QuantumElementInfo) Reset()

func (*QuantumElementInfo) String

func (x *QuantumElementInfo) String() string

type UnimplementedKmsETSIServer

type UnimplementedKmsETSIServer struct {
}

UnimplementedKmsETSIServer must be embedded to have forward compatible implementations.

func (UnimplementedKmsETSIServer) ETSIAddKMSPeer

func (UnimplementedKmsETSIServer) ETSICapabilities

func (UnimplementedKmsETSIServer) ETSIGetPeerList

func (UnimplementedKmsETSIServer) ETSIRemoveKMSPeer

type UnsafeKmsETSIServer

type UnsafeKmsETSIServer interface {
	// contains filtered or unexported methods
}

UnsafeKmsETSIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KmsETSIServer will result in compilation errors.

Jump to

Keyboard shortcuts

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