diff --git a/api/buf.gen.yaml b/api/buf.gen.yaml new file mode 100644 index 0000000000000000000000000000000000000000..72950582b034612d2feccdb2fc95cea8f49694de --- /dev/null +++ b/api/buf.gen.yaml @@ -0,0 +1,14 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: code.fbi.h-da.de/demoquandt/proto-kms/gen/proto/go +plugins: + - plugin: buf.build/grpc/go + out: gen/proto/go + opt: + - paths=source_relative + - plugin: buf.build/protocolbuffers/go + out: gen/proto/go + opt: + - paths=source_relative diff --git a/api/buf.work.yaml b/api/buf.work.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a35f7482c73f003e017f657f018b274dfafe5b22 --- /dev/null +++ b/api/buf.work.yaml @@ -0,0 +1,4 @@ +version: v1 +directories: + - kmsetsi + - kmsintercom diff --git a/kmsetsiproto/kmsetsiproto.pb.go b/api/gen/proto/go/kmsetsi/kmsetsiproto.pb.go similarity index 53% rename from kmsetsiproto/kmsetsiproto.pb.go rename to api/gen/proto/go/kmsetsi/kmsetsiproto.pb.go index c8f7b8cc172f26e4a2b058e3f8bedb199062b885..f859f18b5db223fd1a89169290cb840d05770439 100644 --- a/kmsetsiproto/kmsetsiproto.pb.go +++ b/api/gen/proto/go/kmsetsi/kmsetsiproto.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.12 -// source: kmsetsiproto.proto +// protoc-gen-go v1.31.0 +// protoc (unknown) +// source: kmsetsi/kmsetsiproto.proto -package kmsetsiproto +package kmsetsi import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -32,7 +32,7 @@ type ETSICapabilitiesRequest struct { func (x *ETSICapabilitiesRequest) Reset() { *x = ETSICapabilitiesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[0] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -45,7 +45,7 @@ func (x *ETSICapabilitiesRequest) String() string { func (*ETSICapabilitiesRequest) ProtoMessage() {} func (x *ETSICapabilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[0] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -58,7 +58,7 @@ func (x *ETSICapabilitiesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ETSICapabilitiesRequest.ProtoReflect.Descriptor instead. func (*ETSICapabilitiesRequest) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{0} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{0} } func (x *ETSICapabilitiesRequest) GetMyKmsName() string { @@ -80,7 +80,7 @@ type ETSICapabilitiesReply struct { func (x *ETSICapabilitiesReply) Reset() { *x = ETSICapabilitiesReply{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[1] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -93,7 +93,7 @@ func (x *ETSICapabilitiesReply) String() string { func (*ETSICapabilitiesReply) ProtoMessage() {} func (x *ETSICapabilitiesReply) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[1] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -106,7 +106,7 @@ func (x *ETSICapabilitiesReply) ProtoReflect() protoreflect.Message { // Deprecated: Use ETSICapabilitiesReply.ProtoReflect.Descriptor instead. func (*ETSICapabilitiesReply) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{1} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{1} } func (x *ETSICapabilitiesReply) GetPeerKmsName() string { @@ -125,7 +125,7 @@ type ETSIKMSQuantumInterfaceListRequest struct { func (x *ETSIKMSQuantumInterfaceListRequest) Reset() { *x = ETSIKMSQuantumInterfaceListRequest{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[2] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -138,7 +138,7 @@ func (x *ETSIKMSQuantumInterfaceListRequest) String() string { func (*ETSIKMSQuantumInterfaceListRequest) ProtoMessage() {} func (x *ETSIKMSQuantumInterfaceListRequest) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[2] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -151,7 +151,7 @@ func (x *ETSIKMSQuantumInterfaceListRequest) ProtoReflect() protoreflect.Message // Deprecated: Use ETSIKMSQuantumInterfaceListRequest.ProtoReflect.Descriptor instead. func (*ETSIKMSQuantumInterfaceListRequest) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{2} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{2} } // NB for myself: this be used to link QLE mit KMS-Session! @@ -167,7 +167,7 @@ type QuantumElementInfo struct { func (x *QuantumElementInfo) Reset() { *x = QuantumElementInfo{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[3] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -180,7 +180,7 @@ func (x *QuantumElementInfo) String() string { func (*QuantumElementInfo) ProtoMessage() {} func (x *QuantumElementInfo) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[3] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -193,7 +193,7 @@ func (x *QuantumElementInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use QuantumElementInfo.ProtoReflect.Descriptor instead. func (*QuantumElementInfo) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{3} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{3} } func (x *QuantumElementInfo) GetQleID() uint64 { @@ -221,7 +221,7 @@ type ETSIKMSQuantumInterfaceListReply struct { func (x *ETSIKMSQuantumInterfaceListReply) Reset() { *x = ETSIKMSQuantumInterfaceListReply{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[4] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -234,7 +234,7 @@ func (x *ETSIKMSQuantumInterfaceListReply) String() string { func (*ETSIKMSQuantumInterfaceListReply) ProtoMessage() {} func (x *ETSIKMSQuantumInterfaceListReply) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[4] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -247,7 +247,7 @@ func (x *ETSIKMSQuantumInterfaceListReply) ProtoReflect() protoreflect.Message { // Deprecated: Use ETSIKMSQuantumInterfaceListReply.ProtoReflect.Descriptor instead. func (*ETSIKMSQuantumInterfaceListReply) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{4} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{4} } func (x *ETSIKMSQuantumInterfaceListReply) GetQlElementInfo() []*QuantumElementInfo { @@ -269,7 +269,7 @@ type ETSIKMSPeerRequest struct { func (x *ETSIKMSPeerRequest) Reset() { *x = ETSIKMSPeerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[5] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -282,7 +282,7 @@ func (x *ETSIKMSPeerRequest) String() string { func (*ETSIKMSPeerRequest) ProtoMessage() {} func (x *ETSIKMSPeerRequest) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[5] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -295,7 +295,7 @@ func (x *ETSIKMSPeerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ETSIKMSPeerRequest.ProtoReflect.Descriptor instead. func (*ETSIKMSPeerRequest) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{5} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{5} } func (x *ETSIKMSPeerRequest) GetKmsPeerSocket() string { @@ -323,7 +323,7 @@ type ETSIKMSPeerReply struct { func (x *ETSIKMSPeerReply) Reset() { *x = ETSIKMSPeerReply{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[6] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -336,7 +336,7 @@ func (x *ETSIKMSPeerReply) String() string { func (*ETSIKMSPeerReply) ProtoMessage() {} func (x *ETSIKMSPeerReply) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[6] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -349,7 +349,7 @@ func (x *ETSIKMSPeerReply) ProtoReflect() protoreflect.Message { // Deprecated: Use ETSIKMSPeerReply.ProtoReflect.Descriptor instead. func (*ETSIKMSPeerReply) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{6} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{6} } func (x *ETSIKMSPeerReply) GetKmsPeerName() string { @@ -368,7 +368,7 @@ type ETSIKMSPeerListRequest struct { func (x *ETSIKMSPeerListRequest) Reset() { *x = ETSIKMSPeerListRequest{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[7] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -381,7 +381,7 @@ func (x *ETSIKMSPeerListRequest) String() string { func (*ETSIKMSPeerListRequest) ProtoMessage() {} func (x *ETSIKMSPeerListRequest) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[7] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -394,7 +394,7 @@ func (x *ETSIKMSPeerListRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ETSIKMSPeerListRequest.ProtoReflect.Descriptor instead. func (*ETSIKMSPeerListRequest) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{7} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{7} } type ETSIKMSPeer struct { @@ -409,7 +409,7 @@ type ETSIKMSPeer struct { func (x *ETSIKMSPeer) Reset() { *x = ETSIKMSPeer{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[8] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -422,7 +422,7 @@ func (x *ETSIKMSPeer) String() string { func (*ETSIKMSPeer) ProtoMessage() {} func (x *ETSIKMSPeer) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[8] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -435,7 +435,7 @@ func (x *ETSIKMSPeer) ProtoReflect() protoreflect.Message { // Deprecated: Use ETSIKMSPeer.ProtoReflect.Descriptor instead. func (*ETSIKMSPeer) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{8} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{8} } func (x *ETSIKMSPeer) GetPeerName() string { @@ -463,7 +463,7 @@ type ETSIKMSPeerListReply struct { func (x *ETSIKMSPeerListReply) Reset() { *x = ETSIKMSPeerListReply{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[9] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -476,7 +476,7 @@ func (x *ETSIKMSPeerListReply) String() string { func (*ETSIKMSPeerListReply) ProtoMessage() {} func (x *ETSIKMSPeerListReply) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[9] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -489,7 +489,7 @@ func (x *ETSIKMSPeerListReply) ProtoReflect() protoreflect.Message { // Deprecated: Use ETSIKMSPeerListReply.ProtoReflect.Descriptor instead. func (*ETSIKMSPeerListReply) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{9} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{9} } func (x *ETSIKMSPeerListReply) GetPeer() []*ETSIKMSPeer { @@ -510,7 +510,7 @@ type ETSIGetEncryptKeys256BitRequest struct { func (x *ETSIGetEncryptKeys256BitRequest) Reset() { *x = ETSIGetEncryptKeys256BitRequest{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[10] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -523,7 +523,7 @@ func (x *ETSIGetEncryptKeys256BitRequest) String() string { func (*ETSIGetEncryptKeys256BitRequest) ProtoMessage() {} func (x *ETSIGetEncryptKeys256BitRequest) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[10] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -536,7 +536,7 @@ func (x *ETSIGetEncryptKeys256BitRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ETSIGetEncryptKeys256BitRequest.ProtoReflect.Descriptor instead. func (*ETSIGetEncryptKeys256BitRequest) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{10} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{10} } func (x *ETSIGetEncryptKeys256BitRequest) GetAmount() int64 { @@ -558,7 +558,7 @@ type ETSIGetEncryptKeys256BitReply struct { func (x *ETSIGetEncryptKeys256BitReply) Reset() { *x = ETSIGetEncryptKeys256BitReply{} if protoimpl.UnsafeEnabled { - mi := &file_kmsetsiproto_proto_msgTypes[11] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -571,7 +571,7 @@ func (x *ETSIGetEncryptKeys256BitReply) String() string { func (*ETSIGetEncryptKeys256BitReply) ProtoMessage() {} func (x *ETSIGetEncryptKeys256BitReply) ProtoReflect() protoreflect.Message { - mi := &file_kmsetsiproto_proto_msgTypes[11] + mi := &file_kmsetsi_kmsetsiproto_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -584,7 +584,7 @@ func (x *ETSIGetEncryptKeys256BitReply) ProtoReflect() protoreflect.Message { // Deprecated: Use ETSIGetEncryptKeys256BitReply.ProtoReflect.Descriptor instead. func (*ETSIGetEncryptKeys256BitReply) Descriptor() ([]byte, []int) { - return file_kmsetsiproto_proto_rawDescGZIP(), []int{11} + return file_kmsetsi_kmsetsiproto_proto_rawDescGZIP(), []int{11} } func (x *ETSIGetEncryptKeys256BitReply) GetKeyID() string { @@ -601,148 +601,150 @@ func (x *ETSIGetEncryptKeys256BitReply) GetKey() []byte { return nil } -var File_kmsetsiproto_proto protoreflect.FileDescriptor - -var file_kmsetsiproto_proto_rawDesc = []byte{ - 0x0a, 0x12, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x17, 0x45, 0x54, 0x53, 0x49, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, - 0x09, 0x6d, 0x79, 0x4b, 0x6d, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x6d, 0x79, 0x4b, 0x6d, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x39, 0x0a, 0x15, 0x45, - 0x54, 0x53, 0x49, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x70, 0x6c, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x65, 0x72, 0x4b, 0x6d, 0x73, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x65, 0x72, 0x4b, - 0x6d, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x22, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, +var File_kmsetsi_kmsetsiproto_proto protoreflect.FileDescriptor + +var file_kmsetsi_kmsetsiproto_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x2f, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, + 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6b, 0x6d, + 0x73, 0x65, 0x74, 0x73, 0x69, 0x22, 0x37, 0x0a, 0x17, 0x45, 0x54, 0x53, 0x49, 0x43, 0x61, 0x70, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x79, 0x4b, 0x6d, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x79, 0x4b, 0x6d, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x39, + 0x0a, 0x15, 0x45, 0x54, 0x53, 0x49, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x65, 0x72, 0x4b, + 0x6d, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, + 0x65, 0x72, 0x4b, 0x6d, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x22, 0x45, 0x54, 0x53, + 0x49, 0x4b, 0x4d, 0x53, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x75, 0x6d, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x44, 0x0a, 0x12, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x75, 0x6d, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x71, 0x6c, 0x65, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x75, + 0x64, 0x70, 0x41, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x64, + 0x70, 0x41, 0x64, 0x64, 0x72, 0x22, 0x65, 0x0a, 0x20, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, + 0x51, 0x75, 0x61, 0x6e, 0x74, 0x75, 0x6d, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x41, 0x0a, 0x0d, 0x71, 0x6c, 0x45, + 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, + 0x75, 0x6d, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x71, + 0x6c, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x60, 0x0a, 0x12, + 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6b, 0x6d, 0x73, 0x50, 0x65, 0x65, 0x72, 0x53, 0x6f, 0x63, + 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6b, 0x6d, 0x73, 0x50, 0x65, + 0x65, 0x72, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6b, 0x6d, 0x73, 0x4c, + 0x6f, 0x63, 0x61, 0x6c, 0x51, 0x4c, 0x45, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0d, 0x6b, 0x6d, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x51, 0x4c, 0x45, 0x49, 0x64, 0x22, 0x34, + 0x0a, 0x10, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x6b, 0x6d, 0x73, 0x50, 0x65, 0x65, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6b, 0x6d, 0x73, 0x50, 0x65, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, + 0x65, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, + 0x0a, 0x0b, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x65, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x70, 0x65, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, + 0x65, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x40, 0x0a, 0x14, 0x45, 0x54, 0x53, + 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x12, 0x28, 0x0a, 0x04, 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, + 0x53, 0x50, 0x65, 0x65, 0x72, 0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 0x22, 0x39, 0x0a, 0x1f, 0x45, + 0x54, 0x53, 0x49, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4b, 0x65, 0x79, + 0x73, 0x32, 0x35, 0x36, 0x42, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x47, 0x0a, 0x1d, 0x45, 0x54, 0x53, 0x49, 0x47, 0x65, + 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x32, 0x35, 0x36, 0x42, + 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x44, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x32, + 0xb7, 0x04, 0x0a, 0x07, 0x4b, 0x6d, 0x73, 0x45, 0x54, 0x53, 0x49, 0x12, 0x56, 0x0a, 0x10, 0x45, + 0x54, 0x53, 0x49, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, + 0x20, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x43, 0x61, + 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1e, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, + 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x18, 0x45, 0x54, 0x53, 0x49, 0x47, 0x65, 0x74, 0x51, 0x75, + 0x61, 0x6e, 0x74, 0x75, 0x6d, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x12, + 0x2b, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x75, 0x6d, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, - 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x44, 0x0a, 0x12, - 0x51, 0x75, 0x61, 0x6e, 0x74, 0x75, 0x6d, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x05, 0x71, 0x6c, 0x65, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x64, 0x70, 0x41, - 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x64, 0x70, 0x41, 0x64, - 0x64, 0x72, 0x22, 0x6a, 0x0a, 0x20, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x51, 0x75, 0x61, - 0x6e, 0x74, 0x75, 0x6d, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x46, 0x0a, 0x0d, 0x71, 0x6c, 0x45, 0x6c, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x51, 0x75, 0x61, - 0x6e, 0x74, 0x75, 0x6d, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x0d, 0x71, 0x6c, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x60, - 0x0a, 0x12, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6b, 0x6d, 0x73, 0x50, 0x65, 0x65, 0x72, 0x53, - 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6b, 0x6d, 0x73, - 0x50, 0x65, 0x65, 0x72, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6b, 0x6d, - 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x51, 0x4c, 0x45, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0d, 0x6b, 0x6d, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x51, 0x4c, 0x45, 0x49, 0x64, - 0x22, 0x34, 0x0a, 0x10, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x52, - 0x65, 0x70, 0x6c, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x6b, 0x6d, 0x73, 0x50, 0x65, 0x65, 0x72, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6b, 0x6d, 0x73, 0x50, 0x65, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, - 0x53, 0x50, 0x65, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x49, 0x0a, 0x0b, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x12, - 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x70, 0x65, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, - 0x65, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x70, 0x65, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x45, 0x0a, 0x14, 0x45, - 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x70, 0x6c, 0x79, 0x12, 0x2d, 0x0a, 0x04, 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x52, 0x04, 0x70, 0x65, - 0x65, 0x72, 0x22, 0x39, 0x0a, 0x1f, 0x45, 0x54, 0x53, 0x49, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x32, 0x35, 0x36, 0x42, 0x69, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x47, 0x0a, - 0x1d, 0x45, 0x54, 0x53, 0x49, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4b, - 0x65, 0x79, 0x73, 0x32, 0x35, 0x36, 0x42, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, - 0x65, 0x79, 0x49, 0x44, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x32, 0xf3, 0x04, 0x0a, 0x07, 0x4b, 0x6d, 0x73, 0x45, 0x54, - 0x53, 0x49, 0x12, 0x60, 0x0a, 0x10, 0x45, 0x54, 0x53, 0x49, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x25, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, - 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x54, 0x53, - 0x49, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x70, - 0x6c, 0x79, 0x22, 0x00, 0x12, 0x7e, 0x0a, 0x18, 0x45, 0x54, 0x53, 0x49, 0x47, 0x65, 0x74, 0x51, - 0x75, 0x61, 0x6e, 0x74, 0x75, 0x6d, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, - 0x12, 0x30, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x75, 0x6d, 0x49, 0x6e, - 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x75, 0x6d, - 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, - 0x6c, 0x79, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x45, 0x54, 0x53, 0x49, 0x41, 0x64, 0x64, 0x4b, - 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x12, 0x20, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, - 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, - 0x65, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x11, 0x45, 0x54, - 0x53, 0x49, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x12, - 0x20, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, - 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1e, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, - 0x79, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0f, 0x45, 0x54, 0x53, 0x49, 0x47, 0x65, 0x74, 0x50, 0x65, - 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, - 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6b, - 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x54, 0x53, 0x49, - 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, - 0x22, 0x00, 0x12, 0x78, 0x0a, 0x18, 0x45, 0x54, 0x53, 0x49, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x32, 0x35, 0x36, 0x42, 0x69, 0x74, 0x12, 0x2d, - 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x54, - 0x53, 0x49, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4b, 0x65, 0x79, 0x73, - 0x32, 0x35, 0x36, 0x42, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, - 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x54, 0x53, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6b, + 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x51, 0x75, + 0x61, 0x6e, 0x74, 0x75, 0x6d, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0e, 0x45, 0x54, 0x53, + 0x49, 0x41, 0x64, 0x64, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x6b, 0x6d, + 0x73, 0x65, 0x74, 0x73, 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, + 0x73, 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x11, 0x45, 0x54, 0x53, 0x49, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x6b, 0x6d, 0x73, + 0x65, 0x74, 0x73, 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, + 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0f, 0x45, 0x54, 0x53, 0x49, 0x47, 0x65, 0x74, 0x50, + 0x65, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, + 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, + 0x73, 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x4b, 0x4d, 0x53, 0x50, 0x65, 0x65, 0x72, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x6e, 0x0a, 0x18, 0x45, 0x54, 0x53, 0x49, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x32, - 0x35, 0x36, 0x42, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x37, 0x5a, 0x35, + 0x35, 0x36, 0x42, 0x69, 0x74, 0x12, 0x28, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x2e, + 0x45, 0x54, 0x53, 0x49, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4b, 0x65, + 0x79, 0x73, 0x32, 0x35, 0x36, 0x42, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x26, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x2e, 0x45, 0x54, 0x53, 0x49, 0x47, 0x65, + 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x32, 0x35, 0x36, 0x42, + 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x98, 0x01, 0x0a, 0x0b, 0x63, 0x6f, + 0x6d, 0x2e, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x42, 0x11, 0x4b, 0x6d, 0x73, 0x65, 0x74, + 0x73, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x66, 0x62, 0x69, 0x2e, 0x68, 0x2d, 0x64, 0x61, 0x2e, 0x64, 0x65, - 0x2f, 0x6d, 0x2e, 0x73, 0x74, 0x69, 0x65, 0x6d, 0x65, 0x72, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2d, 0x6b, 0x6d, 0x73, 0x2f, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x64, 0x65, 0x6d, 0x6f, 0x71, 0x75, 0x61, 0x6e, 0x64, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2d, 0x6b, 0x6d, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x67, 0x6f, 0x2f, 0x6b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0xa2, 0x02, 0x03, 0x4b, 0x58, 0x58, + 0xaa, 0x02, 0x07, 0x4b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0xca, 0x02, 0x07, 0x4b, 0x6d, 0x73, + 0x65, 0x74, 0x73, 0x69, 0xe2, 0x02, 0x13, 0x4b, 0x6d, 0x73, 0x65, 0x74, 0x73, 0x69, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x4b, 0x6d, 0x73, + 0x65, 0x74, 0x73, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_kmsetsiproto_proto_rawDescOnce sync.Once - file_kmsetsiproto_proto_rawDescData = file_kmsetsiproto_proto_rawDesc + file_kmsetsi_kmsetsiproto_proto_rawDescOnce sync.Once + file_kmsetsi_kmsetsiproto_proto_rawDescData = file_kmsetsi_kmsetsiproto_proto_rawDesc ) -func file_kmsetsiproto_proto_rawDescGZIP() []byte { - file_kmsetsiproto_proto_rawDescOnce.Do(func() { - file_kmsetsiproto_proto_rawDescData = protoimpl.X.CompressGZIP(file_kmsetsiproto_proto_rawDescData) +func file_kmsetsi_kmsetsiproto_proto_rawDescGZIP() []byte { + file_kmsetsi_kmsetsiproto_proto_rawDescOnce.Do(func() { + file_kmsetsi_kmsetsiproto_proto_rawDescData = protoimpl.X.CompressGZIP(file_kmsetsi_kmsetsiproto_proto_rawDescData) }) - return file_kmsetsiproto_proto_rawDescData -} - -var file_kmsetsiproto_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_kmsetsiproto_proto_goTypes = []interface{}{ - (*ETSICapabilitiesRequest)(nil), // 0: kmsetsiproto.ETSICapabilitiesRequest - (*ETSICapabilitiesReply)(nil), // 1: kmsetsiproto.ETSICapabilitiesReply - (*ETSIKMSQuantumInterfaceListRequest)(nil), // 2: kmsetsiproto.ETSIKMSQuantumInterfaceListRequest - (*QuantumElementInfo)(nil), // 3: kmsetsiproto.QuantumElementInfo - (*ETSIKMSQuantumInterfaceListReply)(nil), // 4: kmsetsiproto.ETSIKMSQuantumInterfaceListReply - (*ETSIKMSPeerRequest)(nil), // 5: kmsetsiproto.ETSIKMSPeerRequest - (*ETSIKMSPeerReply)(nil), // 6: kmsetsiproto.ETSIKMSPeerReply - (*ETSIKMSPeerListRequest)(nil), // 7: kmsetsiproto.ETSIKMSPeerListRequest - (*ETSIKMSPeer)(nil), // 8: kmsetsiproto.ETSIKMSPeer - (*ETSIKMSPeerListReply)(nil), // 9: kmsetsiproto.ETSIKMSPeerListReply - (*ETSIGetEncryptKeys256BitRequest)(nil), // 10: kmsetsiproto.ETSIGetEncryptKeys256BitRequest - (*ETSIGetEncryptKeys256BitReply)(nil), // 11: kmsetsiproto.ETSIGetEncryptKeys256BitReply -} -var file_kmsetsiproto_proto_depIdxs = []int32{ - 3, // 0: kmsetsiproto.ETSIKMSQuantumInterfaceListReply.qlElementInfo:type_name -> kmsetsiproto.QuantumElementInfo - 8, // 1: kmsetsiproto.ETSIKMSPeerListReply.peer:type_name -> kmsetsiproto.ETSIKMSPeer - 0, // 2: kmsetsiproto.KmsETSI.ETSICapabilities:input_type -> kmsetsiproto.ETSICapabilitiesRequest - 2, // 3: kmsetsiproto.KmsETSI.ETSIGetQuantumInterfaces:input_type -> kmsetsiproto.ETSIKMSQuantumInterfaceListRequest - 5, // 4: kmsetsiproto.KmsETSI.ETSIAddKMSPeer:input_type -> kmsetsiproto.ETSIKMSPeerRequest - 5, // 5: kmsetsiproto.KmsETSI.ETSIRemoveKMSPeer:input_type -> kmsetsiproto.ETSIKMSPeerRequest - 7, // 6: kmsetsiproto.KmsETSI.ETSIGetPeerList:input_type -> kmsetsiproto.ETSIKMSPeerListRequest - 10, // 7: kmsetsiproto.KmsETSI.ETSIGetEncryptKeys256Bit:input_type -> kmsetsiproto.ETSIGetEncryptKeys256BitRequest - 1, // 8: kmsetsiproto.KmsETSI.ETSICapabilities:output_type -> kmsetsiproto.ETSICapabilitiesReply - 4, // 9: kmsetsiproto.KmsETSI.ETSIGetQuantumInterfaces:output_type -> kmsetsiproto.ETSIKMSQuantumInterfaceListReply - 6, // 10: kmsetsiproto.KmsETSI.ETSIAddKMSPeer:output_type -> kmsetsiproto.ETSIKMSPeerReply - 6, // 11: kmsetsiproto.KmsETSI.ETSIRemoveKMSPeer:output_type -> kmsetsiproto.ETSIKMSPeerReply - 9, // 12: kmsetsiproto.KmsETSI.ETSIGetPeerList:output_type -> kmsetsiproto.ETSIKMSPeerListReply - 11, // 13: kmsetsiproto.KmsETSI.ETSIGetEncryptKeys256Bit:output_type -> kmsetsiproto.ETSIGetEncryptKeys256BitReply + return file_kmsetsi_kmsetsiproto_proto_rawDescData +} + +var file_kmsetsi_kmsetsiproto_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_kmsetsi_kmsetsiproto_proto_goTypes = []interface{}{ + (*ETSICapabilitiesRequest)(nil), // 0: kmsetsi.ETSICapabilitiesRequest + (*ETSICapabilitiesReply)(nil), // 1: kmsetsi.ETSICapabilitiesReply + (*ETSIKMSQuantumInterfaceListRequest)(nil), // 2: kmsetsi.ETSIKMSQuantumInterfaceListRequest + (*QuantumElementInfo)(nil), // 3: kmsetsi.QuantumElementInfo + (*ETSIKMSQuantumInterfaceListReply)(nil), // 4: kmsetsi.ETSIKMSQuantumInterfaceListReply + (*ETSIKMSPeerRequest)(nil), // 5: kmsetsi.ETSIKMSPeerRequest + (*ETSIKMSPeerReply)(nil), // 6: kmsetsi.ETSIKMSPeerReply + (*ETSIKMSPeerListRequest)(nil), // 7: kmsetsi.ETSIKMSPeerListRequest + (*ETSIKMSPeer)(nil), // 8: kmsetsi.ETSIKMSPeer + (*ETSIKMSPeerListReply)(nil), // 9: kmsetsi.ETSIKMSPeerListReply + (*ETSIGetEncryptKeys256BitRequest)(nil), // 10: kmsetsi.ETSIGetEncryptKeys256BitRequest + (*ETSIGetEncryptKeys256BitReply)(nil), // 11: kmsetsi.ETSIGetEncryptKeys256BitReply +} +var file_kmsetsi_kmsetsiproto_proto_depIdxs = []int32{ + 3, // 0: kmsetsi.ETSIKMSQuantumInterfaceListReply.qlElementInfo:type_name -> kmsetsi.QuantumElementInfo + 8, // 1: kmsetsi.ETSIKMSPeerListReply.peer:type_name -> kmsetsi.ETSIKMSPeer + 0, // 2: kmsetsi.KmsETSI.ETSICapabilities:input_type -> kmsetsi.ETSICapabilitiesRequest + 2, // 3: kmsetsi.KmsETSI.ETSIGetQuantumInterfaces:input_type -> kmsetsi.ETSIKMSQuantumInterfaceListRequest + 5, // 4: kmsetsi.KmsETSI.ETSIAddKMSPeer:input_type -> kmsetsi.ETSIKMSPeerRequest + 5, // 5: kmsetsi.KmsETSI.ETSIRemoveKMSPeer:input_type -> kmsetsi.ETSIKMSPeerRequest + 7, // 6: kmsetsi.KmsETSI.ETSIGetPeerList:input_type -> kmsetsi.ETSIKMSPeerListRequest + 10, // 7: kmsetsi.KmsETSI.ETSIGetEncryptKeys256Bit:input_type -> kmsetsi.ETSIGetEncryptKeys256BitRequest + 1, // 8: kmsetsi.KmsETSI.ETSICapabilities:output_type -> kmsetsi.ETSICapabilitiesReply + 4, // 9: kmsetsi.KmsETSI.ETSIGetQuantumInterfaces:output_type -> kmsetsi.ETSIKMSQuantumInterfaceListReply + 6, // 10: kmsetsi.KmsETSI.ETSIAddKMSPeer:output_type -> kmsetsi.ETSIKMSPeerReply + 6, // 11: kmsetsi.KmsETSI.ETSIRemoveKMSPeer:output_type -> kmsetsi.ETSIKMSPeerReply + 9, // 12: kmsetsi.KmsETSI.ETSIGetPeerList:output_type -> kmsetsi.ETSIKMSPeerListReply + 11, // 13: kmsetsi.KmsETSI.ETSIGetEncryptKeys256Bit:output_type -> kmsetsi.ETSIGetEncryptKeys256BitReply 8, // [8:14] is the sub-list for method output_type 2, // [2:8] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name @@ -750,13 +752,13 @@ var file_kmsetsiproto_proto_depIdxs = []int32{ 0, // [0:2] is the sub-list for field type_name } -func init() { file_kmsetsiproto_proto_init() } -func file_kmsetsiproto_proto_init() { - if File_kmsetsiproto_proto != nil { +func init() { file_kmsetsi_kmsetsiproto_proto_init() } +func file_kmsetsi_kmsetsiproto_proto_init() { + if File_kmsetsi_kmsetsiproto_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_kmsetsiproto_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ETSICapabilitiesRequest); i { case 0: return &v.state @@ -768,7 +770,7 @@ func file_kmsetsiproto_proto_init() { return nil } } - file_kmsetsiproto_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ETSICapabilitiesReply); i { case 0: return &v.state @@ -780,7 +782,7 @@ func file_kmsetsiproto_proto_init() { return nil } } - file_kmsetsiproto_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ETSIKMSQuantumInterfaceListRequest); i { case 0: return &v.state @@ -792,7 +794,7 @@ func file_kmsetsiproto_proto_init() { return nil } } - file_kmsetsiproto_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QuantumElementInfo); i { case 0: return &v.state @@ -804,7 +806,7 @@ func file_kmsetsiproto_proto_init() { return nil } } - file_kmsetsiproto_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ETSIKMSQuantumInterfaceListReply); i { case 0: return &v.state @@ -816,7 +818,7 @@ func file_kmsetsiproto_proto_init() { return nil } } - file_kmsetsiproto_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ETSIKMSPeerRequest); i { case 0: return &v.state @@ -828,7 +830,7 @@ func file_kmsetsiproto_proto_init() { return nil } } - file_kmsetsiproto_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ETSIKMSPeerReply); i { case 0: return &v.state @@ -840,7 +842,7 @@ func file_kmsetsiproto_proto_init() { return nil } } - file_kmsetsiproto_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ETSIKMSPeerListRequest); i { case 0: return &v.state @@ -852,7 +854,7 @@ func file_kmsetsiproto_proto_init() { return nil } } - file_kmsetsiproto_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ETSIKMSPeer); i { case 0: return &v.state @@ -864,7 +866,7 @@ func file_kmsetsiproto_proto_init() { return nil } } - file_kmsetsiproto_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ETSIKMSPeerListReply); i { case 0: return &v.state @@ -876,7 +878,7 @@ func file_kmsetsiproto_proto_init() { return nil } } - file_kmsetsiproto_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ETSIGetEncryptKeys256BitRequest); i { case 0: return &v.state @@ -888,7 +890,7 @@ func file_kmsetsiproto_proto_init() { return nil } } - file_kmsetsiproto_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_kmsetsi_kmsetsiproto_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ETSIGetEncryptKeys256BitReply); i { case 0: return &v.state @@ -905,18 +907,18 @@ func file_kmsetsiproto_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_kmsetsiproto_proto_rawDesc, + RawDescriptor: file_kmsetsi_kmsetsiproto_proto_rawDesc, NumEnums: 0, NumMessages: 12, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_kmsetsiproto_proto_goTypes, - DependencyIndexes: file_kmsetsiproto_proto_depIdxs, - MessageInfos: file_kmsetsiproto_proto_msgTypes, + GoTypes: file_kmsetsi_kmsetsiproto_proto_goTypes, + DependencyIndexes: file_kmsetsi_kmsetsiproto_proto_depIdxs, + MessageInfos: file_kmsetsi_kmsetsiproto_proto_msgTypes, }.Build() - File_kmsetsiproto_proto = out.File - file_kmsetsiproto_proto_rawDesc = nil - file_kmsetsiproto_proto_goTypes = nil - file_kmsetsiproto_proto_depIdxs = nil + File_kmsetsi_kmsetsiproto_proto = out.File + file_kmsetsi_kmsetsiproto_proto_rawDesc = nil + file_kmsetsi_kmsetsiproto_proto_goTypes = nil + file_kmsetsi_kmsetsiproto_proto_depIdxs = nil } diff --git a/kmsetsiproto/kmsetsiproto_grpc.pb.go b/api/gen/proto/go/kmsetsi/kmsetsiproto_grpc.pb.go similarity index 87% rename from kmsetsiproto/kmsetsiproto_grpc.pb.go rename to api/gen/proto/go/kmsetsi/kmsetsiproto_grpc.pb.go index 055aad3dcb574fb958349820deaf3ec4abb62c99..20e30c30fb5c949365073f3e2d9fd31d607830eb 100644 --- a/kmsetsiproto/kmsetsiproto_grpc.pb.go +++ b/api/gen/proto/go/kmsetsi/kmsetsiproto_grpc.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.12 -// source: kmsetsiproto.proto +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: kmsetsi/kmsetsiproto.proto -package kmsetsiproto +package kmsetsi import ( context "context" @@ -18,6 +18,15 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +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" +) + // 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. @@ -41,7 +50,7 @@ func NewKmsETSIClient(cc grpc.ClientConnInterface) KmsETSIClient { func (c *kmsETSIClient) ETSICapabilities(ctx context.Context, in *ETSICapabilitiesRequest, opts ...grpc.CallOption) (*ETSICapabilitiesReply, error) { out := new(ETSICapabilitiesReply) - err := c.cc.Invoke(ctx, "/kmsetsiproto.KmsETSI/ETSICapabilities", in, out, opts...) + err := c.cc.Invoke(ctx, KmsETSI_ETSICapabilities_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -50,7 +59,7 @@ func (c *kmsETSIClient) ETSICapabilities(ctx context.Context, in *ETSICapabiliti func (c *kmsETSIClient) ETSIGetQuantumInterfaces(ctx context.Context, in *ETSIKMSQuantumInterfaceListRequest, opts ...grpc.CallOption) (*ETSIKMSQuantumInterfaceListReply, error) { out := new(ETSIKMSQuantumInterfaceListReply) - err := c.cc.Invoke(ctx, "/kmsetsiproto.KmsETSI/ETSIGetQuantumInterfaces", in, out, opts...) + err := c.cc.Invoke(ctx, KmsETSI_ETSIGetQuantumInterfaces_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -59,7 +68,7 @@ func (c *kmsETSIClient) ETSIGetQuantumInterfaces(ctx context.Context, in *ETSIKM func (c *kmsETSIClient) ETSIAddKMSPeer(ctx context.Context, in *ETSIKMSPeerRequest, opts ...grpc.CallOption) (*ETSIKMSPeerReply, error) { out := new(ETSIKMSPeerReply) - err := c.cc.Invoke(ctx, "/kmsetsiproto.KmsETSI/ETSIAddKMSPeer", in, out, opts...) + err := c.cc.Invoke(ctx, KmsETSI_ETSIAddKMSPeer_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -68,7 +77,7 @@ func (c *kmsETSIClient) ETSIAddKMSPeer(ctx context.Context, in *ETSIKMSPeerReque func (c *kmsETSIClient) ETSIRemoveKMSPeer(ctx context.Context, in *ETSIKMSPeerRequest, opts ...grpc.CallOption) (*ETSIKMSPeerReply, error) { out := new(ETSIKMSPeerReply) - err := c.cc.Invoke(ctx, "/kmsetsiproto.KmsETSI/ETSIRemoveKMSPeer", in, out, opts...) + err := c.cc.Invoke(ctx, KmsETSI_ETSIRemoveKMSPeer_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -77,7 +86,7 @@ func (c *kmsETSIClient) ETSIRemoveKMSPeer(ctx context.Context, in *ETSIKMSPeerRe func (c *kmsETSIClient) ETSIGetPeerList(ctx context.Context, in *ETSIKMSPeerListRequest, opts ...grpc.CallOption) (*ETSIKMSPeerListReply, error) { out := new(ETSIKMSPeerListReply) - err := c.cc.Invoke(ctx, "/kmsetsiproto.KmsETSI/ETSIGetPeerList", in, out, opts...) + err := c.cc.Invoke(ctx, KmsETSI_ETSIGetPeerList_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -86,7 +95,7 @@ func (c *kmsETSIClient) ETSIGetPeerList(ctx context.Context, in *ETSIKMSPeerList func (c *kmsETSIClient) ETSIGetEncryptKeys256Bit(ctx context.Context, in *ETSIGetEncryptKeys256BitRequest, opts ...grpc.CallOption) (*ETSIGetEncryptKeys256BitReply, error) { out := new(ETSIGetEncryptKeys256BitReply) - err := c.cc.Invoke(ctx, "/kmsetsiproto.KmsETSI/ETSIGetEncryptKeys256Bit", in, out, opts...) + err := c.cc.Invoke(ctx, KmsETSI_ETSIGetEncryptKeys256Bit_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -152,7 +161,7 @@ func _KmsETSI_ETSICapabilities_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/kmsetsiproto.KmsETSI/ETSICapabilities", + FullMethod: KmsETSI_ETSICapabilities_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KmsETSIServer).ETSICapabilities(ctx, req.(*ETSICapabilitiesRequest)) @@ -170,7 +179,7 @@ func _KmsETSI_ETSIGetQuantumInterfaces_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/kmsetsiproto.KmsETSI/ETSIGetQuantumInterfaces", + FullMethod: KmsETSI_ETSIGetQuantumInterfaces_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KmsETSIServer).ETSIGetQuantumInterfaces(ctx, req.(*ETSIKMSQuantumInterfaceListRequest)) @@ -188,7 +197,7 @@ func _KmsETSI_ETSIAddKMSPeer_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/kmsetsiproto.KmsETSI/ETSIAddKMSPeer", + FullMethod: KmsETSI_ETSIAddKMSPeer_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KmsETSIServer).ETSIAddKMSPeer(ctx, req.(*ETSIKMSPeerRequest)) @@ -206,7 +215,7 @@ func _KmsETSI_ETSIRemoveKMSPeer_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/kmsetsiproto.KmsETSI/ETSIRemoveKMSPeer", + FullMethod: KmsETSI_ETSIRemoveKMSPeer_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KmsETSIServer).ETSIRemoveKMSPeer(ctx, req.(*ETSIKMSPeerRequest)) @@ -224,7 +233,7 @@ func _KmsETSI_ETSIGetPeerList_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/kmsetsiproto.KmsETSI/ETSIGetPeerList", + FullMethod: KmsETSI_ETSIGetPeerList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KmsETSIServer).ETSIGetPeerList(ctx, req.(*ETSIKMSPeerListRequest)) @@ -242,7 +251,7 @@ func _KmsETSI_ETSIGetEncryptKeys256Bit_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/kmsetsiproto.KmsETSI/ETSIGetEncryptKeys256Bit", + FullMethod: KmsETSI_ETSIGetEncryptKeys256Bit_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KmsETSIServer).ETSIGetEncryptKeys256Bit(ctx, req.(*ETSIGetEncryptKeys256BitRequest)) @@ -254,7 +263,7 @@ func _KmsETSI_ETSIGetEncryptKeys256Bit_Handler(srv interface{}, ctx context.Cont // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var KmsETSI_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "kmsetsiproto.KmsETSI", + ServiceName: "kmsetsi.KmsETSI", HandlerType: (*KmsETSIServer)(nil), Methods: []grpc.MethodDesc{ { @@ -283,5 +292,5 @@ var KmsETSI_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "kmsetsiproto.proto", + Metadata: "kmsetsi/kmsetsiproto.proto", } diff --git a/api/gen/proto/go/kmsintercom/kmsintercom.pb.go b/api/gen/proto/go/kmsintercom/kmsintercom.pb.go new file mode 100644 index 0000000000000000000000000000000000000000..41fb9571aa6618d4ba597acae171d875c97969da --- /dev/null +++ b/api/gen/proto/go/kmsintercom/kmsintercom.pb.go @@ -0,0 +1,375 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) +// source: kmsintercom/kmsintercom.proto + +package kmsintercom + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Capabilities +// The request message containing the requesting kms' name. +type InterComCapabilitiesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MyKmsName string `protobuf:"bytes,1,opt,name=myKmsName,proto3" json:"myKmsName,omitempty"` +} + +func (x *InterComCapabilitiesRequest) Reset() { + *x = InterComCapabilitiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_kmsintercom_kmsintercom_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterComCapabilitiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterComCapabilitiesRequest) ProtoMessage() {} + +func (x *InterComCapabilitiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_kmsintercom_kmsintercom_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterComCapabilitiesRequest.ProtoReflect.Descriptor instead. +func (*InterComCapabilitiesRequest) Descriptor() ([]byte, []int) { + return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{0} +} + +func (x *InterComCapabilitiesRequest) GetMyKmsName() string { + if x != nil { + return x.MyKmsName + } + return "" +} + +// The response message containing the replying kms' name. +type InterComCapabilitiesReply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PeerKmsName string `protobuf:"bytes,1,opt,name=peerKmsName,proto3" json:"peerKmsName,omitempty"` +} + +func (x *InterComCapabilitiesReply) Reset() { + *x = InterComCapabilitiesReply{} + if protoimpl.UnsafeEnabled { + mi := &file_kmsintercom_kmsintercom_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterComCapabilitiesReply) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterComCapabilitiesReply) ProtoMessage() {} + +func (x *InterComCapabilitiesReply) ProtoReflect() protoreflect.Message { + mi := &file_kmsintercom_kmsintercom_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterComCapabilitiesReply.ProtoReflect.Descriptor instead. +func (*InterComCapabilitiesReply) Descriptor() ([]byte, []int) { + return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{1} +} + +func (x *InterComCapabilitiesReply) GetPeerKmsName() string { + if x != nil { + return x.PeerKmsName + } + return "" +} + +// KeyTransportSessionHandling +// The request message containing the requesting kms' name. +type InterComKeyTransportSessionHandlingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestedKey string `protobuf:"bytes,1,opt,name=requestedKey,proto3" json:"requestedKey,omitempty"` +} + +func (x *InterComKeyTransportSessionHandlingRequest) Reset() { + *x = InterComKeyTransportSessionHandlingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_kmsintercom_kmsintercom_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterComKeyTransportSessionHandlingRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterComKeyTransportSessionHandlingRequest) ProtoMessage() {} + +func (x *InterComKeyTransportSessionHandlingRequest) ProtoReflect() protoreflect.Message { + mi := &file_kmsintercom_kmsintercom_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterComKeyTransportSessionHandlingRequest.ProtoReflect.Descriptor instead. +func (*InterComKeyTransportSessionHandlingRequest) Descriptor() ([]byte, []int) { + return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{2} +} + +func (x *InterComKeyTransportSessionHandlingRequest) GetRequestedKey() string { + if x != nil { + return x.RequestedKey + } + return "" +} + +// The response message containing the replying kms' name. +type InterComKeyTransportSessionHandlingReply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UsedKey string `protobuf:"bytes,1,opt,name=usedKey,proto3" json:"usedKey,omitempty"` +} + +func (x *InterComKeyTransportSessionHandlingReply) Reset() { + *x = InterComKeyTransportSessionHandlingReply{} + if protoimpl.UnsafeEnabled { + mi := &file_kmsintercom_kmsintercom_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterComKeyTransportSessionHandlingReply) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterComKeyTransportSessionHandlingReply) ProtoMessage() {} + +func (x *InterComKeyTransportSessionHandlingReply) ProtoReflect() protoreflect.Message { + mi := &file_kmsintercom_kmsintercom_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterComKeyTransportSessionHandlingReply.ProtoReflect.Descriptor instead. +func (*InterComKeyTransportSessionHandlingReply) Descriptor() ([]byte, []int) { + return file_kmsintercom_kmsintercom_proto_rawDescGZIP(), []int{3} +} + +func (x *InterComKeyTransportSessionHandlingReply) GetUsedKey() string { + if x != nil { + return x.UsedKey + } + return "" +} + +var File_kmsintercom_kmsintercom_proto protoreflect.FileDescriptor + +var file_kmsintercom_kmsintercom_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x6d, + 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x0b, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x22, 0x3b, 0x0a, 0x1b, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6d, + 0x79, 0x4b, 0x6d, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x6d, 0x79, 0x4b, 0x6d, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3d, 0x0a, 0x19, 0x49, 0x6e, 0x74, + 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x65, 0x72, 0x4b, 0x6d, + 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x65, + 0x72, 0x4b, 0x6d, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x50, 0x0a, 0x2a, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x43, 0x6f, 0x6d, 0x4b, 0x65, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, + 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x22, 0x44, 0x0a, 0x28, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x4b, 0x65, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, + 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, + 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x64, 0x4b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x64, 0x4b, 0x65, 0x79, + 0x32, 0x91, 0x02, 0x0a, 0x09, 0x4b, 0x6d, 0x73, 0x54, 0x61, 0x6c, 0x6b, 0x65, 0x72, 0x12, 0x6a, + 0x0a, 0x14, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x63, 0x6f, 0x6d, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x43, 0x61, 0x70, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x2e, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x97, 0x01, 0x0a, 0x23, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x4b, 0x65, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, + 0x6f, 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, + 0x6e, 0x67, 0x12, 0x37, 0x2e, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, + 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x4b, 0x65, 0x79, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x6e, 0x64, + 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6b, 0x6d, + 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, + 0x6f, 0x6d, 0x4b, 0x65, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x22, 0x00, 0x42, 0xaf, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x6d, 0x73, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x42, 0x10, 0x4b, 0x6d, 0x73, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x63, 0x6f, + 0x64, 0x65, 0x2e, 0x66, 0x62, 0x69, 0x2e, 0x68, 0x2d, 0x64, 0x61, 0x2e, 0x64, 0x65, 0x2f, 0x64, + 0x65, 0x6d, 0x6f, 0x71, 0x75, 0x61, 0x6e, 0x64, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2d, + 0x6b, 0x6d, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, + 0x2f, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0xa2, 0x02, 0x03, 0x4b, + 0x58, 0x58, 0xaa, 0x02, 0x0b, 0x4b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, + 0xca, 0x02, 0x0b, 0x4b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0xe2, 0x02, + 0x17, 0x4b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4b, 0x6d, 0x73, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_kmsintercom_kmsintercom_proto_rawDescOnce sync.Once + file_kmsintercom_kmsintercom_proto_rawDescData = file_kmsintercom_kmsintercom_proto_rawDesc +) + +func file_kmsintercom_kmsintercom_proto_rawDescGZIP() []byte { + file_kmsintercom_kmsintercom_proto_rawDescOnce.Do(func() { + file_kmsintercom_kmsintercom_proto_rawDescData = protoimpl.X.CompressGZIP(file_kmsintercom_kmsintercom_proto_rawDescData) + }) + return file_kmsintercom_kmsintercom_proto_rawDescData +} + +var file_kmsintercom_kmsintercom_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_kmsintercom_kmsintercom_proto_goTypes = []interface{}{ + (*InterComCapabilitiesRequest)(nil), // 0: kmsintercom.InterComCapabilitiesRequest + (*InterComCapabilitiesReply)(nil), // 1: kmsintercom.InterComCapabilitiesReply + (*InterComKeyTransportSessionHandlingRequest)(nil), // 2: kmsintercom.InterComKeyTransportSessionHandlingRequest + (*InterComKeyTransportSessionHandlingReply)(nil), // 3: kmsintercom.InterComKeyTransportSessionHandlingReply +} +var file_kmsintercom_kmsintercom_proto_depIdxs = []int32{ + 0, // 0: kmsintercom.KmsTalker.InterComCapabilities:input_type -> kmsintercom.InterComCapabilitiesRequest + 2, // 1: kmsintercom.KmsTalker.InterComKeyTransportSessionHandling:input_type -> kmsintercom.InterComKeyTransportSessionHandlingRequest + 1, // 2: kmsintercom.KmsTalker.InterComCapabilities:output_type -> kmsintercom.InterComCapabilitiesReply + 3, // 3: kmsintercom.KmsTalker.InterComKeyTransportSessionHandling:output_type -> kmsintercom.InterComKeyTransportSessionHandlingReply + 2, // [2:4] is the sub-list for method output_type + 0, // [0:2] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_kmsintercom_kmsintercom_proto_init() } +func file_kmsintercom_kmsintercom_proto_init() { + if File_kmsintercom_kmsintercom_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_kmsintercom_kmsintercom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterComCapabilitiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_kmsintercom_kmsintercom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterComCapabilitiesReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_kmsintercom_kmsintercom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterComKeyTransportSessionHandlingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_kmsintercom_kmsintercom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterComKeyTransportSessionHandlingReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_kmsintercom_kmsintercom_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_kmsintercom_kmsintercom_proto_goTypes, + DependencyIndexes: file_kmsintercom_kmsintercom_proto_depIdxs, + MessageInfos: file_kmsintercom_kmsintercom_proto_msgTypes, + }.Build() + File_kmsintercom_kmsintercom_proto = out.File + file_kmsintercom_kmsintercom_proto_rawDesc = nil + file_kmsintercom_kmsintercom_proto_goTypes = nil + file_kmsintercom_kmsintercom_proto_depIdxs = nil +} diff --git a/kmsintercomproto/kmsintercom_grpc.pb.go b/api/gen/proto/go/kmsintercom/kmsintercom_grpc.pb.go similarity index 87% rename from kmsintercomproto/kmsintercom_grpc.pb.go rename to api/gen/proto/go/kmsintercom/kmsintercom_grpc.pb.go index d630de3ab1e454f855c9dbc5f0b07e72ecfe28c0..41dac93ae286b25d52cd099f75f07c40377a6b8c 100644 --- a/kmsintercomproto/kmsintercom_grpc.pb.go +++ b/api/gen/proto/go/kmsintercom/kmsintercom_grpc.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 -// source: kmsintercom.proto +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: kmsintercom/kmsintercom.proto -package kmsintercomproto +package kmsintercom import ( context "context" @@ -18,6 +18,11 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + KmsTalker_InterComCapabilities_FullMethodName = "/kmsintercom.KmsTalker/InterComCapabilities" + KmsTalker_InterComKeyTransportSessionHandling_FullMethodName = "/kmsintercom.KmsTalker/InterComKeyTransportSessionHandling" +) + // KmsTalkerClient is the client API for KmsTalker 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. @@ -36,7 +41,7 @@ func NewKmsTalkerClient(cc grpc.ClientConnInterface) KmsTalkerClient { func (c *kmsTalkerClient) InterComCapabilities(ctx context.Context, in *InterComCapabilitiesRequest, opts ...grpc.CallOption) (*InterComCapabilitiesReply, error) { out := new(InterComCapabilitiesReply) - err := c.cc.Invoke(ctx, "/kmsintercomproto.KmsTalker/InterComCapabilities", in, out, opts...) + err := c.cc.Invoke(ctx, KmsTalker_InterComCapabilities_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -45,7 +50,7 @@ func (c *kmsTalkerClient) InterComCapabilities(ctx context.Context, in *InterCom func (c *kmsTalkerClient) InterComKeyTransportSessionHandling(ctx context.Context, in *InterComKeyTransportSessionHandlingRequest, opts ...grpc.CallOption) (*InterComKeyTransportSessionHandlingReply, error) { out := new(InterComKeyTransportSessionHandlingReply) - err := c.cc.Invoke(ctx, "/kmsintercomproto.KmsTalker/InterComKeyTransportSessionHandling", in, out, opts...) + err := c.cc.Invoke(ctx, KmsTalker_InterComKeyTransportSessionHandling_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -94,7 +99,7 @@ func _KmsTalker_InterComCapabilities_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/kmsintercomproto.KmsTalker/InterComCapabilities", + FullMethod: KmsTalker_InterComCapabilities_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KmsTalkerServer).InterComCapabilities(ctx, req.(*InterComCapabilitiesRequest)) @@ -112,7 +117,7 @@ func _KmsTalker_InterComKeyTransportSessionHandling_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/kmsintercomproto.KmsTalker/InterComKeyTransportSessionHandling", + FullMethod: KmsTalker_InterComKeyTransportSessionHandling_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(KmsTalkerServer).InterComKeyTransportSessionHandling(ctx, req.(*InterComKeyTransportSessionHandlingRequest)) @@ -124,7 +129,7 @@ func _KmsTalker_InterComKeyTransportSessionHandling_Handler(srv interface{}, ctx // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var KmsTalker_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "kmsintercomproto.KmsTalker", + ServiceName: "kmsintercom.KmsTalker", HandlerType: (*KmsTalkerServer)(nil), Methods: []grpc.MethodDesc{ { @@ -137,5 +142,5 @@ var KmsTalker_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "kmsintercom.proto", + Metadata: "kmsintercom/kmsintercom.proto", } diff --git a/api/kmsetsi/kmsetsi/buf.lock b/api/kmsetsi/kmsetsi/buf.lock new file mode 100644 index 0000000000000000000000000000000000000000..c91b5810c2976f1e6c940bfc491e8e1d8f871180 --- /dev/null +++ b/api/kmsetsi/kmsetsi/buf.lock @@ -0,0 +1,2 @@ +# Generated by buf. DO NOT EDIT. +version: v1 diff --git a/api/kmsetsi/kmsetsi/buf.yaml b/api/kmsetsi/kmsetsi/buf.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5fc4486b00f9a9afd5a9580343cc141ce855685d --- /dev/null +++ b/api/kmsetsi/kmsetsi/buf.yaml @@ -0,0 +1,7 @@ +version: v1 +lint: + use: + - DEFAULT +breaking: + use: + - FILE diff --git a/kmsetsiproto/kmsetsiproto.proto b/api/kmsetsi/kmsetsi/kmsetsiproto.proto similarity index 94% rename from kmsetsiproto/kmsetsiproto.proto rename to api/kmsetsi/kmsetsi/kmsetsiproto.proto index 9bcc1c939254397615c64daaac06f20d92468c25..ae04fa50d55d399bacde166c56242428773e860b 100644 --- a/kmsetsiproto/kmsetsiproto.proto +++ b/api/kmsetsi/kmsetsi/kmsetsiproto.proto @@ -1,8 +1,6 @@ syntax = "proto3"; -option go_package = "code.fbi.h-da.de/demoquandt/proto-kms/kmsetsiproto"; - -package kmsetsiproto; +package kmsetsi; service KmsETSI { // Sends a greeting diff --git a/api/kmsintercom/kmsintercom/buf.lock b/api/kmsintercom/kmsintercom/buf.lock new file mode 100644 index 0000000000000000000000000000000000000000..c91b5810c2976f1e6c940bfc491e8e1d8f871180 --- /dev/null +++ b/api/kmsintercom/kmsintercom/buf.lock @@ -0,0 +1,2 @@ +# Generated by buf. DO NOT EDIT. +version: v1 diff --git a/api/kmsintercom/kmsintercom/buf.yaml b/api/kmsintercom/kmsintercom/buf.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5fc4486b00f9a9afd5a9580343cc141ce855685d --- /dev/null +++ b/api/kmsintercom/kmsintercom/buf.yaml @@ -0,0 +1,7 @@ +version: v1 +lint: + use: + - DEFAULT +breaking: + use: + - FILE diff --git a/kmsintercomproto/kmsintercom.proto b/api/kmsintercom/kmsintercom/kmsintercom.proto similarity index 88% rename from kmsintercomproto/kmsintercom.proto rename to api/kmsintercom/kmsintercom/kmsintercom.proto index ea62a309d7fe5bd796d3338659df43661127d71e..52af6f1e24f6dbd018a3a361349aa59446a1f686 100644 --- a/kmsintercomproto/kmsintercom.proto +++ b/api/kmsintercom/kmsintercom/kmsintercom.proto @@ -1,8 +1,6 @@ syntax = "proto3"; -option go_package = "code.fbi.h-da.de/demoquandt/proto-kms/kmsintercomproto"; - -package kmsintercomproto; +package kmsintercom; service KmsTalker { rpc InterComCapabilities (InterComCapabilitiesRequest) returns (InterComCapabilitiesReply) {} @@ -14,7 +12,7 @@ service KmsTalker { message InterComCapabilitiesRequest { string myKmsName = 1; } - + // The response message containing the replying kms' name. message InterComCapabilitiesReply { string peerKmsName= 1; @@ -25,9 +23,8 @@ message InterComCapabilitiesReply { message InterComKeyTransportSessionHandlingRequest { string requestedKey = 1; } - + // The response message containing the replying kms' name. message InterComKeyTransportSessionHandlingReply { string usedKey = 1; } - diff --git a/kms/kms.go b/kms/kms.go index 3c924a44cd0d81e5e60852f09c15ba91a75b7da5..11fd477a8512b3449e2ba8efce20ff373ae87343 100644 --- a/kms/kms.go +++ b/kms/kms.go @@ -11,8 +11,8 @@ import ( "sync" "time" - pbETSI "code.fbi.h-da.de/demoquandt/proto-kms/kmsetsiproto" - pbIC "code.fbi.h-da.de/demoquandt/proto-kms/kmsintercomproto" + pbETSI "code.fbi.h-da.de/demoquandt/proto-kms/api/gen/proto/go/kmsetsi" + pbIC "code.fbi.h-da.de/demoquandt/proto-kms/api/gen/proto/go/kmsintercom" "code.fbi.h-da.de/demoquandt/proto-kms/quantumlayer" "github.com/google/uuid" ) diff --git a/kms/kmsetsi.go b/kms/kmsetsi.go index 49ed304fc7e322dfbcf5574b7f41671692c1a07a..6351d30eca7473c77aad5b9c2e33aabe83c247e0 100644 --- a/kms/kmsetsi.go +++ b/kms/kmsetsi.go @@ -8,7 +8,7 @@ import ( "log" "net" - pb "code.fbi.h-da.de/demoquandt/proto-kms/kmsetsiproto" + pb "code.fbi.h-da.de/demoquandt/proto-kms/api/gen/proto/go/kmsetsi" "google.golang.org/grpc" ) diff --git a/kms/kmsintercom.go b/kms/kmsintercom.go index 720db0ed990833693a2e92d3bc777861460ea721..e6ff17f6f2fb481a54163892442e5ab35925cb85 100644 --- a/kms/kmsintercom.go +++ b/kms/kmsintercom.go @@ -7,7 +7,7 @@ import ( "log" "net" - pb "code.fbi.h-da.de/demoquandt/proto-kms/kmsintercomproto" + pb "code.fbi.h-da.de/demoquandt/proto-kms/api/gen/proto/go/kmsintercom" "google.golang.org/grpc" ) diff --git a/kms/kmspeers.go b/kms/kmspeers.go index d5a5fb8fb50e7913e1e13f1d6f2a4c3e7f42f1a8..d3089f397b079446850368d21e42cf4bffc722f9 100644 --- a/kms/kmspeers.go +++ b/kms/kmspeers.go @@ -6,7 +6,7 @@ import ( "net" "time" - pb "code.fbi.h-da.de/demoquandt/proto-kms/kmsetsiproto" + pb "code.fbi.h-da.de/demoquandt/proto-kms/api/gen/proto/go/kmsetsi" "github.com/google/uuid" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" @@ -102,7 +102,6 @@ func (ph *kmsPeer) PeerHandler(kmsName string) { } } - } func (ph *kmsPeer) GetKmsPeerStatus() KmsPeerStatus { diff --git a/kmsetsiproto/kmsetsiproto.go b/kmsetsiproto/kmsetsiproto.go deleted file mode 100644 index dfa3e2b2680d117a51734e64f4f57af38f854f95..0000000000000000000000000000000000000000 --- a/kmsetsiproto/kmsetsiproto.go +++ /dev/null @@ -1 +0,0 @@ -package kmsetsiproto diff --git a/kmsintercomproto/kmsintercom.pb.go b/kmsintercomproto/kmsintercom.pb.go deleted file mode 100644 index db7290ed7623b17641bc5cf682fd009702b4765b..0000000000000000000000000000000000000000 --- a/kmsintercomproto/kmsintercom.pb.go +++ /dev/null @@ -1,369 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.19.4 -// source: kmsintercom.proto - -package kmsintercomproto - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Capabilities -// The request message containing the requesting kms' name. -type InterComCapabilitiesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MyKmsName string `protobuf:"bytes,1,opt,name=myKmsName,proto3" json:"myKmsName,omitempty"` -} - -func (x *InterComCapabilitiesRequest) Reset() { - *x = InterComCapabilitiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_kmsintercom_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InterComCapabilitiesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InterComCapabilitiesRequest) ProtoMessage() {} - -func (x *InterComCapabilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_kmsintercom_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InterComCapabilitiesRequest.ProtoReflect.Descriptor instead. -func (*InterComCapabilitiesRequest) Descriptor() ([]byte, []int) { - return file_kmsintercom_proto_rawDescGZIP(), []int{0} -} - -func (x *InterComCapabilitiesRequest) GetMyKmsName() string { - if x != nil { - return x.MyKmsName - } - return "" -} - -// The response message containing the replying kms' name. -type InterComCapabilitiesReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PeerKmsName string `protobuf:"bytes,1,opt,name=peerKmsName,proto3" json:"peerKmsName,omitempty"` -} - -func (x *InterComCapabilitiesReply) Reset() { - *x = InterComCapabilitiesReply{} - if protoimpl.UnsafeEnabled { - mi := &file_kmsintercom_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InterComCapabilitiesReply) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InterComCapabilitiesReply) ProtoMessage() {} - -func (x *InterComCapabilitiesReply) ProtoReflect() protoreflect.Message { - mi := &file_kmsintercom_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InterComCapabilitiesReply.ProtoReflect.Descriptor instead. -func (*InterComCapabilitiesReply) Descriptor() ([]byte, []int) { - return file_kmsintercom_proto_rawDescGZIP(), []int{1} -} - -func (x *InterComCapabilitiesReply) GetPeerKmsName() string { - if x != nil { - return x.PeerKmsName - } - return "" -} - -// KeyTransportSessionHandling -// The request message containing the requesting kms' name. -type InterComKeyTransportSessionHandlingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RequestedKey string `protobuf:"bytes,1,opt,name=requestedKey,proto3" json:"requestedKey,omitempty"` -} - -func (x *InterComKeyTransportSessionHandlingRequest) Reset() { - *x = InterComKeyTransportSessionHandlingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_kmsintercom_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InterComKeyTransportSessionHandlingRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InterComKeyTransportSessionHandlingRequest) ProtoMessage() {} - -func (x *InterComKeyTransportSessionHandlingRequest) ProtoReflect() protoreflect.Message { - mi := &file_kmsintercom_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InterComKeyTransportSessionHandlingRequest.ProtoReflect.Descriptor instead. -func (*InterComKeyTransportSessionHandlingRequest) Descriptor() ([]byte, []int) { - return file_kmsintercom_proto_rawDescGZIP(), []int{2} -} - -func (x *InterComKeyTransportSessionHandlingRequest) GetRequestedKey() string { - if x != nil { - return x.RequestedKey - } - return "" -} - -// The response message containing the replying kms' name. -type InterComKeyTransportSessionHandlingReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UsedKey string `protobuf:"bytes,1,opt,name=usedKey,proto3" json:"usedKey,omitempty"` -} - -func (x *InterComKeyTransportSessionHandlingReply) Reset() { - *x = InterComKeyTransportSessionHandlingReply{} - if protoimpl.UnsafeEnabled { - mi := &file_kmsintercom_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InterComKeyTransportSessionHandlingReply) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InterComKeyTransportSessionHandlingReply) ProtoMessage() {} - -func (x *InterComKeyTransportSessionHandlingReply) ProtoReflect() protoreflect.Message { - mi := &file_kmsintercom_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InterComKeyTransportSessionHandlingReply.ProtoReflect.Descriptor instead. -func (*InterComKeyTransportSessionHandlingReply) Descriptor() ([]byte, []int) { - return file_kmsintercom_proto_rawDescGZIP(), []int{3} -} - -func (x *InterComKeyTransportSessionHandlingReply) GetUsedKey() string { - if x != nil { - return x.UsedKey - } - return "" -} - -var File_kmsintercom_proto protoreflect.FileDescriptor - -var file_kmsintercom_proto_rawDesc = []byte{ - 0x0a, 0x11, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x1b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, - 0x6d, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x79, 0x4b, 0x6d, 0x73, 0x4e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x79, 0x4b, 0x6d, 0x73, 0x4e, 0x61, - 0x6d, 0x65, 0x22, 0x3d, 0x0a, 0x19, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x43, 0x61, - 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, - 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x65, 0x72, 0x4b, 0x6d, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x65, 0x72, 0x4b, 0x6d, 0x73, 0x4e, 0x61, 0x6d, - 0x65, 0x22, 0x50, 0x0a, 0x2a, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x4b, 0x65, 0x79, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, - 0x4b, 0x65, 0x79, 0x22, 0x44, 0x0a, 0x28, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x4b, - 0x65, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, - 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x75, 0x73, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x32, 0xa5, 0x02, 0x0a, 0x09, 0x4b, 0x6d, - 0x73, 0x54, 0x61, 0x6c, 0x6b, 0x65, 0x72, 0x12, 0x74, 0x0a, 0x14, 0x49, 0x6e, 0x74, 0x65, 0x72, - 0x43, 0x6f, 0x6d, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, - 0x2d, 0x2e, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x43, 0x61, 0x70, 0x61, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, - 0x2e, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0xa1, 0x01, - 0x0a, 0x23, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x4b, 0x65, 0x79, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x6e, - 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x3c, 0x2e, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, - 0x6d, 0x4b, 0x65, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x6b, 0x6d, 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, - 0x6d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x4b, - 0x65, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, - 0x00, 0x42, 0x3b, 0x5a, 0x39, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x66, 0x62, 0x69, 0x2e, 0x68, 0x2d, - 0x64, 0x61, 0x2e, 0x64, 0x65, 0x2f, 0x6d, 0x2e, 0x73, 0x74, 0x69, 0x65, 0x6d, 0x65, 0x72, 0x6c, - 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2d, 0x6b, 0x6d, 0x73, 0x2f, 0x6b, 0x6d, - 0x73, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_kmsintercom_proto_rawDescOnce sync.Once - file_kmsintercom_proto_rawDescData = file_kmsintercom_proto_rawDesc -) - -func file_kmsintercom_proto_rawDescGZIP() []byte { - file_kmsintercom_proto_rawDescOnce.Do(func() { - file_kmsintercom_proto_rawDescData = protoimpl.X.CompressGZIP(file_kmsintercom_proto_rawDescData) - }) - return file_kmsintercom_proto_rawDescData -} - -var file_kmsintercom_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_kmsintercom_proto_goTypes = []interface{}{ - (*InterComCapabilitiesRequest)(nil), // 0: kmsintercomproto.InterComCapabilitiesRequest - (*InterComCapabilitiesReply)(nil), // 1: kmsintercomproto.InterComCapabilitiesReply - (*InterComKeyTransportSessionHandlingRequest)(nil), // 2: kmsintercomproto.InterComKeyTransportSessionHandlingRequest - (*InterComKeyTransportSessionHandlingReply)(nil), // 3: kmsintercomproto.InterComKeyTransportSessionHandlingReply -} -var file_kmsintercom_proto_depIdxs = []int32{ - 0, // 0: kmsintercomproto.KmsTalker.InterComCapabilities:input_type -> kmsintercomproto.InterComCapabilitiesRequest - 2, // 1: kmsintercomproto.KmsTalker.InterComKeyTransportSessionHandling:input_type -> kmsintercomproto.InterComKeyTransportSessionHandlingRequest - 1, // 2: kmsintercomproto.KmsTalker.InterComCapabilities:output_type -> kmsintercomproto.InterComCapabilitiesReply - 3, // 3: kmsintercomproto.KmsTalker.InterComKeyTransportSessionHandling:output_type -> kmsintercomproto.InterComKeyTransportSessionHandlingReply - 2, // [2:4] is the sub-list for method output_type - 0, // [0:2] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_kmsintercom_proto_init() } -func file_kmsintercom_proto_init() { - if File_kmsintercom_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_kmsintercom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InterComCapabilitiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_kmsintercom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InterComCapabilitiesReply); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_kmsintercom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InterComKeyTransportSessionHandlingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_kmsintercom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InterComKeyTransportSessionHandlingReply); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_kmsintercom_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_kmsintercom_proto_goTypes, - DependencyIndexes: file_kmsintercom_proto_depIdxs, - MessageInfos: file_kmsintercom_proto_msgTypes, - }.Build() - File_kmsintercom_proto = out.File - file_kmsintercom_proto_rawDesc = nil - file_kmsintercom_proto_goTypes = nil - file_kmsintercom_proto_depIdxs = nil -} diff --git a/kmsintercomproto/kmsintercomproto.go b/kmsintercomproto/kmsintercomproto.go deleted file mode 100644 index 2d9c99146f02dab97031e6a09f6f22f54a4d8d5f..0000000000000000000000000000000000000000 --- a/kmsintercomproto/kmsintercomproto.go +++ /dev/null @@ -1 +0,0 @@ -package kmsintercomproto