encryption

package
v4.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cells_encryption_proto protoreflect.FileDescriptor
View Source
var NodeKeyManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "encryption.NodeKeyManager",
	HandlerType: (*NodeKeyManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetNodeInfo",
			Handler:    _NodeKeyManager_GetNodeInfo_Handler,
		},
		{
			MethodName: "GetNodePlainSize",
			Handler:    _NodeKeyManager_GetNodePlainSize_Handler,
		},
		{
			MethodName: "CopyNodeInfo",
			Handler:    _NodeKeyManager_CopyNodeInfo_Handler,
		},
		{
			MethodName: "DeleteNode",
			Handler:    _NodeKeyManager_DeleteNode_Handler,
		},
		{
			MethodName: "DeleteNodeKey",
			Handler:    _NodeKeyManager_DeleteNodeKey_Handler,
		},
		{
			MethodName: "DeleteNodeSharedKey",
			Handler:    _NodeKeyManager_DeleteNodeSharedKey_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SetNodeInfo",
			Handler:       _NodeKeyManager_SetNodeInfo_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "cells-encryption.proto",
}

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

View Source
var UserKeyStore_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "encryption.UserKeyStore",
	HandlerType: (*UserKeyStoreServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddKey",
			Handler:    _UserKeyStore_AddKey_Handler,
		},
		{
			MethodName: "GetKey",
			Handler:    _UserKeyStore_GetKey_Handler,
		},
		{
			MethodName: "AdminListKeys",
			Handler:    _UserKeyStore_AdminListKeys_Handler,
		},
		{
			MethodName: "AdminCreateKey",
			Handler:    _UserKeyStore_AdminCreateKey_Handler,
		},
		{
			MethodName: "AdminDeleteKey",
			Handler:    _UserKeyStore_AdminDeleteKey_Handler,
		},
		{
			MethodName: "AdminExportKey",
			Handler:    _UserKeyStore_AdminExportKey_Handler,
		},
		{
			MethodName: "AdminImportKey",
			Handler:    _UserKeyStore_AdminImportKey_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-encryption.proto",
}

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

Functions

func DeregisterNodeKeyManagerEnhancedServer

func DeregisterNodeKeyManagerEnhancedServer(s grpc.ServiceRegistrar, name string)

func DeregisterUserKeyStoreEnhancedServer

func DeregisterUserKeyStoreEnhancedServer(s grpc.ServiceRegistrar, name string)

func RegisterNodeKeyManagerEnhancedServer

func RegisterNodeKeyManagerEnhancedServer(s grpc.ServiceRegistrar, srv NamedNodeKeyManagerServer)

func RegisterNodeKeyManagerServer

func RegisterNodeKeyManagerServer(s grpc.ServiceRegistrar, srv NodeKeyManagerServer)

func RegisterUserKeyStoreEnhancedServer

func RegisterUserKeyStoreEnhancedServer(s grpc.ServiceRegistrar, srv NamedUserKeyStoreServer)

func RegisterUserKeyStoreServer

func RegisterUserKeyStoreServer(s grpc.ServiceRegistrar, srv UserKeyStoreServer)

Types

type AddKeyRequest

type AddKeyRequest struct {

	// Key to add
	Key *Key `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	// Key password as string
	StrPassword string `protobuf:"bytes,2,opt,name=StrPassword,proto3" json:"StrPassword,omitempty"`
	// contains filtered or unexported fields
}

func (*AddKeyRequest) Descriptor deprecated

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

Deprecated: Use AddKeyRequest.ProtoReflect.Descriptor instead.

func (*AddKeyRequest) GetKey

func (x *AddKeyRequest) GetKey() *Key

func (*AddKeyRequest) GetStrPassword

func (x *AddKeyRequest) GetStrPassword() string

func (*AddKeyRequest) ProtoMessage

func (*AddKeyRequest) ProtoMessage()

func (*AddKeyRequest) ProtoReflect

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

func (*AddKeyRequest) Reset

func (x *AddKeyRequest) Reset()

func (*AddKeyRequest) String

func (x *AddKeyRequest) String() string

func (*AddKeyRequest) Validate

func (this *AddKeyRequest) Validate() error

type AddKeyResponse

type AddKeyResponse struct {
	Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
	// contains filtered or unexported fields
}

func (*AddKeyResponse) Descriptor deprecated

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

Deprecated: Use AddKeyResponse.ProtoReflect.Descriptor instead.

func (*AddKeyResponse) GetSuccess

func (x *AddKeyResponse) GetSuccess() bool

func (*AddKeyResponse) ProtoMessage

func (*AddKeyResponse) ProtoMessage()

func (*AddKeyResponse) ProtoReflect

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

func (*AddKeyResponse) Reset

func (x *AddKeyResponse) Reset()

func (*AddKeyResponse) String

func (x *AddKeyResponse) String() string

func (*AddKeyResponse) Validate

func (this *AddKeyResponse) Validate() error

type AdminCreateKeyRequest

type AdminCreateKeyRequest struct {

	// Create a key with this ID
	KeyID string `protobuf:"bytes,1,opt,name=KeyID,proto3" json:"KeyID,omitempty"`
	// Provide label for the newly created key
	Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminCreateKeyRequest) Descriptor deprecated

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

Deprecated: Use AdminCreateKeyRequest.ProtoReflect.Descriptor instead.

func (*AdminCreateKeyRequest) GetKeyID

func (x *AdminCreateKeyRequest) GetKeyID() string

func (*AdminCreateKeyRequest) GetLabel

func (x *AdminCreateKeyRequest) GetLabel() string

func (*AdminCreateKeyRequest) ProtoMessage

func (*AdminCreateKeyRequest) ProtoMessage()

func (*AdminCreateKeyRequest) ProtoReflect

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

func (*AdminCreateKeyRequest) Reset

func (x *AdminCreateKeyRequest) Reset()

func (*AdminCreateKeyRequest) String

func (x *AdminCreateKeyRequest) String() string

func (*AdminCreateKeyRequest) Validate

func (this *AdminCreateKeyRequest) Validate() error

type AdminCreateKeyResponse

type AdminCreateKeyResponse struct {
	Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminCreateKeyResponse) Descriptor deprecated

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

Deprecated: Use AdminCreateKeyResponse.ProtoReflect.Descriptor instead.

func (*AdminCreateKeyResponse) GetSuccess

func (x *AdminCreateKeyResponse) GetSuccess() bool

func (*AdminCreateKeyResponse) ProtoMessage

func (*AdminCreateKeyResponse) ProtoMessage()

func (*AdminCreateKeyResponse) ProtoReflect

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

func (*AdminCreateKeyResponse) Reset

func (x *AdminCreateKeyResponse) Reset()

func (*AdminCreateKeyResponse) String

func (x *AdminCreateKeyResponse) String() string

func (*AdminCreateKeyResponse) Validate

func (this *AdminCreateKeyResponse) Validate() error

type AdminDeleteKeyRequest

type AdminDeleteKeyRequest struct {

	// Id of the key to delete
	KeyID string `protobuf:"bytes,1,opt,name=KeyID,proto3" json:"KeyID,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminDeleteKeyRequest) Descriptor deprecated

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

Deprecated: Use AdminDeleteKeyRequest.ProtoReflect.Descriptor instead.

func (*AdminDeleteKeyRequest) GetKeyID

func (x *AdminDeleteKeyRequest) GetKeyID() string

func (*AdminDeleteKeyRequest) ProtoMessage

func (*AdminDeleteKeyRequest) ProtoMessage()

func (*AdminDeleteKeyRequest) ProtoReflect

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

func (*AdminDeleteKeyRequest) Reset

func (x *AdminDeleteKeyRequest) Reset()

func (*AdminDeleteKeyRequest) String

func (x *AdminDeleteKeyRequest) String() string

func (*AdminDeleteKeyRequest) Validate

func (this *AdminDeleteKeyRequest) Validate() error

type AdminDeleteKeyResponse

type AdminDeleteKeyResponse struct {
	Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminDeleteKeyResponse) Descriptor deprecated

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

Deprecated: Use AdminDeleteKeyResponse.ProtoReflect.Descriptor instead.

func (*AdminDeleteKeyResponse) GetSuccess

func (x *AdminDeleteKeyResponse) GetSuccess() bool

func (*AdminDeleteKeyResponse) ProtoMessage

func (*AdminDeleteKeyResponse) ProtoMessage()

func (*AdminDeleteKeyResponse) ProtoReflect

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

func (*AdminDeleteKeyResponse) Reset

func (x *AdminDeleteKeyResponse) Reset()

func (*AdminDeleteKeyResponse) String

func (x *AdminDeleteKeyResponse) String() string

func (*AdminDeleteKeyResponse) Validate

func (this *AdminDeleteKeyResponse) Validate() error

type AdminExportKeyRequest

type AdminExportKeyRequest struct {

	// Id of the key to export
	KeyID string `protobuf:"bytes,1,opt,name=KeyID,proto3" json:"KeyID,omitempty"`
	// Associated password as string
	StrPassword string `protobuf:"bytes,2,opt,name=StrPassword,proto3" json:"StrPassword,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminExportKeyRequest) Descriptor deprecated

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

Deprecated: Use AdminExportKeyRequest.ProtoReflect.Descriptor instead.

func (*AdminExportKeyRequest) GetKeyID

func (x *AdminExportKeyRequest) GetKeyID() string

func (*AdminExportKeyRequest) GetStrPassword

func (x *AdminExportKeyRequest) GetStrPassword() string

func (*AdminExportKeyRequest) ProtoMessage

func (*AdminExportKeyRequest) ProtoMessage()

func (*AdminExportKeyRequest) ProtoReflect

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

func (*AdminExportKeyRequest) Reset

func (x *AdminExportKeyRequest) Reset()

func (*AdminExportKeyRequest) String

func (x *AdminExportKeyRequest) String() string

func (*AdminExportKeyRequest) Validate

func (this *AdminExportKeyRequest) Validate() error

type AdminExportKeyResponse

type AdminExportKeyResponse struct {
	Key *Key `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminExportKeyResponse) Descriptor deprecated

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

Deprecated: Use AdminExportKeyResponse.ProtoReflect.Descriptor instead.

func (*AdminExportKeyResponse) GetKey

func (x *AdminExportKeyResponse) GetKey() *Key

func (*AdminExportKeyResponse) ProtoMessage

func (*AdminExportKeyResponse) ProtoMessage()

func (*AdminExportKeyResponse) ProtoReflect

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

func (*AdminExportKeyResponse) Reset

func (x *AdminExportKeyResponse) Reset()

func (*AdminExportKeyResponse) String

func (x *AdminExportKeyResponse) String() string

func (*AdminExportKeyResponse) Validate

func (this *AdminExportKeyResponse) Validate() error

type AdminImportKeyRequest

type AdminImportKeyRequest struct {

	// Imported key data
	Key *Key `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	// Key password
	StrPassword string `protobuf:"bytes,2,opt,name=StrPassword,proto3" json:"StrPassword,omitempty"`
	// Whether to override if a key with same ID already exists
	Override bool `protobuf:"varint,3,opt,name=Override,proto3" json:"Override,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminImportKeyRequest) Descriptor deprecated

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

Deprecated: Use AdminImportKeyRequest.ProtoReflect.Descriptor instead.

func (*AdminImportKeyRequest) GetKey

func (x *AdminImportKeyRequest) GetKey() *Key

func (*AdminImportKeyRequest) GetOverride

func (x *AdminImportKeyRequest) GetOverride() bool

func (*AdminImportKeyRequest) GetStrPassword

func (x *AdminImportKeyRequest) GetStrPassword() string

func (*AdminImportKeyRequest) ProtoMessage

func (*AdminImportKeyRequest) ProtoMessage()

func (*AdminImportKeyRequest) ProtoReflect

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

func (*AdminImportKeyRequest) Reset

func (x *AdminImportKeyRequest) Reset()

func (*AdminImportKeyRequest) String

func (x *AdminImportKeyRequest) String() string

func (*AdminImportKeyRequest) Validate

func (this *AdminImportKeyRequest) Validate() error

type AdminImportKeyResponse

type AdminImportKeyResponse struct {
	Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminImportKeyResponse) Descriptor deprecated

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

Deprecated: Use AdminImportKeyResponse.ProtoReflect.Descriptor instead.

func (*AdminImportKeyResponse) GetSuccess

func (x *AdminImportKeyResponse) GetSuccess() bool

func (*AdminImportKeyResponse) ProtoMessage

func (*AdminImportKeyResponse) ProtoMessage()

func (*AdminImportKeyResponse) ProtoReflect

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

func (*AdminImportKeyResponse) Reset

func (x *AdminImportKeyResponse) Reset()

func (*AdminImportKeyResponse) String

func (x *AdminImportKeyResponse) String() string

func (*AdminImportKeyResponse) Validate

func (this *AdminImportKeyResponse) Validate() error

type AdminListKeysRequest

type AdminListKeysRequest struct {
	All bool `protobuf:"varint,1,opt,name=All,proto3" json:"All,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminListKeysRequest) Descriptor deprecated

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

Deprecated: Use AdminListKeysRequest.ProtoReflect.Descriptor instead.

func (*AdminListKeysRequest) GetAll added in v4.0.1

func (x *AdminListKeysRequest) GetAll() bool

func (*AdminListKeysRequest) ProtoMessage

func (*AdminListKeysRequest) ProtoMessage()

func (*AdminListKeysRequest) ProtoReflect

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

func (*AdminListKeysRequest) Reset

func (x *AdminListKeysRequest) Reset()

func (*AdminListKeysRequest) String

func (x *AdminListKeysRequest) String() string

func (*AdminListKeysRequest) Validate

func (this *AdminListKeysRequest) Validate() error

type AdminListKeysResponse

type AdminListKeysResponse struct {
	Keys []*Key `protobuf:"bytes,1,rep,name=Keys,proto3" json:"Keys,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminListKeysResponse) Descriptor deprecated

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

Deprecated: Use AdminListKeysResponse.ProtoReflect.Descriptor instead.

func (*AdminListKeysResponse) GetKeys

func (x *AdminListKeysResponse) GetKeys() []*Key

func (*AdminListKeysResponse) ProtoMessage

func (*AdminListKeysResponse) ProtoMessage()

func (*AdminListKeysResponse) ProtoReflect

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

func (*AdminListKeysResponse) Reset

func (x *AdminListKeysResponse) Reset()

func (*AdminListKeysResponse) String

func (x *AdminListKeysResponse) String() string

func (*AdminListKeysResponse) Validate

func (this *AdminListKeysResponse) Validate() error

type Block

type Block struct {
	OwnerId    string `protobuf:"bytes,1,opt,name=OwnerId,proto3" json:"OwnerId,omitempty"`
	PartId     uint32 `protobuf:"varint,2,opt,name=PartId,proto3" json:"PartId,omitempty"`
	Position   uint32 `protobuf:"varint,3,opt,name=Position,proto3" json:"Position,omitempty"`
	HeaderSize uint32 `protobuf:"varint,4,opt,name=HeaderSize,proto3" json:"HeaderSize,omitempty"`
	BlockSize  uint32 `protobuf:"varint,5,opt,name=BlockSize,proto3" json:"BlockSize,omitempty"`
	Nonce      []byte `protobuf:"bytes,6,opt,name=Nonce,proto3" json:"Nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetBlockSize

func (x *Block) GetBlockSize() uint32

func (*Block) GetHeaderSize

func (x *Block) GetHeaderSize() uint32

func (*Block) GetNonce

func (x *Block) GetNonce() []byte

func (*Block) GetOwnerId

func (x *Block) GetOwnerId() string

func (*Block) GetPartId

func (x *Block) GetPartId() uint32

func (*Block) GetPosition

func (x *Block) GetPosition() uint32

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

func (*Block) Validate

func (this *Block) Validate() error

type CopyNodeInfoRequest

type CopyNodeInfoRequest struct {
	NodeUuid     string `protobuf:"bytes,1,opt,name=NodeUuid,proto3" json:"NodeUuid,omitempty"`
	NodeCopyUuid string `protobuf:"bytes,2,opt,name=NodeCopyUuid,proto3" json:"NodeCopyUuid,omitempty"`
	// contains filtered or unexported fields
}

func (*CopyNodeInfoRequest) Descriptor deprecated

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

Deprecated: Use CopyNodeInfoRequest.ProtoReflect.Descriptor instead.

func (*CopyNodeInfoRequest) GetNodeCopyUuid

func (x *CopyNodeInfoRequest) GetNodeCopyUuid() string

func (*CopyNodeInfoRequest) GetNodeUuid

func (x *CopyNodeInfoRequest) GetNodeUuid() string

func (*CopyNodeInfoRequest) ProtoMessage

func (*CopyNodeInfoRequest) ProtoMessage()

func (*CopyNodeInfoRequest) ProtoReflect

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

func (*CopyNodeInfoRequest) Reset

func (x *CopyNodeInfoRequest) Reset()

func (*CopyNodeInfoRequest) String

func (x *CopyNodeInfoRequest) String() string

func (*CopyNodeInfoRequest) Validate

func (this *CopyNodeInfoRequest) Validate() error

type CopyNodeInfoResponse

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

func (*CopyNodeInfoResponse) Descriptor deprecated

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

Deprecated: Use CopyNodeInfoResponse.ProtoReflect.Descriptor instead.

func (*CopyNodeInfoResponse) ProtoMessage

func (*CopyNodeInfoResponse) ProtoMessage()

func (*CopyNodeInfoResponse) ProtoReflect

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

func (*CopyNodeInfoResponse) Reset

func (x *CopyNodeInfoResponse) Reset()

func (*CopyNodeInfoResponse) String

func (x *CopyNodeInfoResponse) String() string

func (*CopyNodeInfoResponse) Validate

func (this *CopyNodeInfoResponse) Validate() error

type DeleteNodeKeyRequest

type DeleteNodeKeyRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"`
	NodeId string `protobuf:"bytes,2,opt,name=NodeId,proto3" json:"NodeId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNodeKeyRequest) Descriptor deprecated

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

Deprecated: Use DeleteNodeKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteNodeKeyRequest) GetNodeId

func (x *DeleteNodeKeyRequest) GetNodeId() string

func (*DeleteNodeKeyRequest) GetUserId

func (x *DeleteNodeKeyRequest) GetUserId() string

func (*DeleteNodeKeyRequest) ProtoMessage

func (*DeleteNodeKeyRequest) ProtoMessage()

func (*DeleteNodeKeyRequest) ProtoReflect

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

func (*DeleteNodeKeyRequest) Reset

func (x *DeleteNodeKeyRequest) Reset()

func (*DeleteNodeKeyRequest) String

func (x *DeleteNodeKeyRequest) String() string

func (*DeleteNodeKeyRequest) Validate

func (this *DeleteNodeKeyRequest) Validate() error

type DeleteNodeKeyResponse

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

func (*DeleteNodeKeyResponse) Descriptor deprecated

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

Deprecated: Use DeleteNodeKeyResponse.ProtoReflect.Descriptor instead.

func (*DeleteNodeKeyResponse) ProtoMessage

func (*DeleteNodeKeyResponse) ProtoMessage()

func (*DeleteNodeKeyResponse) ProtoReflect

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

func (*DeleteNodeKeyResponse) Reset

func (x *DeleteNodeKeyResponse) Reset()

func (*DeleteNodeKeyResponse) String

func (x *DeleteNodeKeyResponse) String() string

func (*DeleteNodeKeyResponse) Validate

func (this *DeleteNodeKeyResponse) Validate() error

type DeleteNodeRequest

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

func (*DeleteNodeRequest) Descriptor deprecated

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

Deprecated: Use DeleteNodeRequest.ProtoReflect.Descriptor instead.

func (*DeleteNodeRequest) GetNodeId

func (x *DeleteNodeRequest) GetNodeId() string

func (*DeleteNodeRequest) ProtoMessage

func (*DeleteNodeRequest) ProtoMessage()

func (*DeleteNodeRequest) ProtoReflect

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

func (*DeleteNodeRequest) Reset

func (x *DeleteNodeRequest) Reset()

func (*DeleteNodeRequest) String

func (x *DeleteNodeRequest) String() string

func (*DeleteNodeRequest) Validate

func (this *DeleteNodeRequest) Validate() error

type DeleteNodeResponse

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

func (*DeleteNodeResponse) Descriptor deprecated

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

Deprecated: Use DeleteNodeResponse.ProtoReflect.Descriptor instead.

func (*DeleteNodeResponse) ProtoMessage

func (*DeleteNodeResponse) ProtoMessage()

func (*DeleteNodeResponse) ProtoReflect

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

func (*DeleteNodeResponse) Reset

func (x *DeleteNodeResponse) Reset()

func (*DeleteNodeResponse) String

func (x *DeleteNodeResponse) String() string

func (*DeleteNodeResponse) Validate

func (this *DeleteNodeResponse) Validate() error

type DeleteNodeSharedKeyRequest

type DeleteNodeSharedKeyRequest struct {
	UserId  string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"`
	OwnerId string `protobuf:"bytes,2,opt,name=OwnerId,proto3" json:"OwnerId,omitempty"`
	NodeId  string `protobuf:"bytes,3,opt,name=NodeId,proto3" json:"NodeId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNodeSharedKeyRequest) Descriptor deprecated

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

Deprecated: Use DeleteNodeSharedKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteNodeSharedKeyRequest) GetNodeId

func (x *DeleteNodeSharedKeyRequest) GetNodeId() string

func (*DeleteNodeSharedKeyRequest) GetOwnerId

func (x *DeleteNodeSharedKeyRequest) GetOwnerId() string

func (*DeleteNodeSharedKeyRequest) GetUserId

func (x *DeleteNodeSharedKeyRequest) GetUserId() string

func (*DeleteNodeSharedKeyRequest) ProtoMessage

func (*DeleteNodeSharedKeyRequest) ProtoMessage()

func (*DeleteNodeSharedKeyRequest) ProtoReflect

func (*DeleteNodeSharedKeyRequest) Reset

func (x *DeleteNodeSharedKeyRequest) Reset()

func (*DeleteNodeSharedKeyRequest) String

func (x *DeleteNodeSharedKeyRequest) String() string

func (*DeleteNodeSharedKeyRequest) Validate

func (this *DeleteNodeSharedKeyRequest) Validate() error

type DeleteNodeSharedKeyResponse

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

func (*DeleteNodeSharedKeyResponse) Descriptor deprecated

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

Deprecated: Use DeleteNodeSharedKeyResponse.ProtoReflect.Descriptor instead.

func (*DeleteNodeSharedKeyResponse) ProtoMessage

func (*DeleteNodeSharedKeyResponse) ProtoMessage()

func (*DeleteNodeSharedKeyResponse) ProtoReflect

func (*DeleteNodeSharedKeyResponse) Reset

func (x *DeleteNodeSharedKeyResponse) Reset()

func (*DeleteNodeSharedKeyResponse) String

func (x *DeleteNodeSharedKeyResponse) String() string

func (*DeleteNodeSharedKeyResponse) Validate

func (this *DeleteNodeSharedKeyResponse) Validate() error

type Export

type Export struct {

	// Name of exporter
	By string `protobuf:"bytes,1,opt,name=By,proto3" json:"By,omitempty"`
	// Date of export
	Date int32 `protobuf:"varint,2,opt,name=Date,proto3" json:"Date,omitempty"`
	// contains filtered or unexported fields
}

func (*Export) Descriptor deprecated

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

Deprecated: Use Export.ProtoReflect.Descriptor instead.

func (*Export) GetBy

func (x *Export) GetBy() string

func (*Export) GetDate

func (x *Export) GetDate() int32

func (*Export) ProtoMessage

func (*Export) ProtoMessage()

func (*Export) ProtoReflect

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

func (*Export) Reset

func (x *Export) Reset()

func (*Export) String

func (x *Export) String() string

func (*Export) Validate

func (this *Export) Validate() error

type GetKeyRequest

type GetKeyRequest struct {
	Owner       string `protobuf:"bytes,1,opt,name=Owner,proto3" json:"Owner,omitempty"`
	KeyID       string `protobuf:"bytes,2,opt,name=KeyID,proto3" json:"KeyID,omitempty"`
	StrPassword string `protobuf:"bytes,3,opt,name=StrPassword,proto3" json:"StrPassword,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyRequest) Descriptor deprecated

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

Deprecated: Use GetKeyRequest.ProtoReflect.Descriptor instead.

func (*GetKeyRequest) GetKeyID

func (x *GetKeyRequest) GetKeyID() string

func (*GetKeyRequest) GetOwner

func (x *GetKeyRequest) GetOwner() string

func (*GetKeyRequest) GetStrPassword

func (x *GetKeyRequest) GetStrPassword() string

func (*GetKeyRequest) ProtoMessage

func (*GetKeyRequest) ProtoMessage()

func (*GetKeyRequest) ProtoReflect

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

func (*GetKeyRequest) Reset

func (x *GetKeyRequest) Reset()

func (*GetKeyRequest) String

func (x *GetKeyRequest) String() string

func (*GetKeyRequest) Validate

func (this *GetKeyRequest) Validate() error

type GetKeyResponse

type GetKeyResponse struct {
	Key *Key `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyResponse) Descriptor deprecated

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

Deprecated: Use GetKeyResponse.ProtoReflect.Descriptor instead.

func (*GetKeyResponse) GetKey

func (x *GetKeyResponse) GetKey() *Key

func (*GetKeyResponse) ProtoMessage

func (*GetKeyResponse) ProtoMessage()

func (*GetKeyResponse) ProtoReflect

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

func (*GetKeyResponse) Reset

func (x *GetKeyResponse) Reset()

func (*GetKeyResponse) String

func (x *GetKeyResponse) String() string

func (*GetKeyResponse) Validate

func (this *GetKeyResponse) Validate() error

type GetNodeInfoRequest

type GetNodeInfoRequest struct {
	UserId      string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"`
	NodeId      string `protobuf:"bytes,2,opt,name=NodeId,proto3" json:"NodeId,omitempty"`
	WithRange   bool   `protobuf:"varint,3,opt,name=WithRange,proto3" json:"WithRange,omitempty"`
	PlainOffset int64  `protobuf:"varint,4,opt,name=PlainOffset,proto3" json:"PlainOffset,omitempty"`
	PlainLength int64  `protobuf:"varint,5,opt,name=PlainLength,proto3" json:"PlainLength,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeInfoRequest) Descriptor deprecated

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

Deprecated: Use GetNodeInfoRequest.ProtoReflect.Descriptor instead.

func (*GetNodeInfoRequest) GetNodeId

func (x *GetNodeInfoRequest) GetNodeId() string

func (*GetNodeInfoRequest) GetPlainLength

func (x *GetNodeInfoRequest) GetPlainLength() int64

func (*GetNodeInfoRequest) GetPlainOffset

func (x *GetNodeInfoRequest) GetPlainOffset() int64

func (*GetNodeInfoRequest) GetUserId

func (x *GetNodeInfoRequest) GetUserId() string

func (*GetNodeInfoRequest) GetWithRange

func (x *GetNodeInfoRequest) GetWithRange() bool

func (*GetNodeInfoRequest) ProtoMessage

func (*GetNodeInfoRequest) ProtoMessage()

func (*GetNodeInfoRequest) ProtoReflect

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

func (*GetNodeInfoRequest) Reset

func (x *GetNodeInfoRequest) Reset()

func (*GetNodeInfoRequest) String

func (x *GetNodeInfoRequest) String() string

func (*GetNodeInfoRequest) Validate

func (this *GetNodeInfoRequest) Validate() error

type GetNodeInfoResponse

type GetNodeInfoResponse struct {
	NodeInfo                   *NodeInfo `protobuf:"bytes,1,opt,name=NodeInfo,proto3" json:"NodeInfo,omitempty"`
	HeadSKippedPlainBytesCount int64     `protobuf:"varint,2,opt,name=HeadSKippedPlainBytesCount,proto3" json:"HeadSKippedPlainBytesCount,omitempty"`
	WithRange                  bool      `protobuf:"varint,3,opt,name=WithRange,proto3" json:"WithRange,omitempty"`
	EncryptedOffset            int64     `protobuf:"varint,4,opt,name=EncryptedOffset,proto3" json:"EncryptedOffset,omitempty"`
	EncryptedCount             int64     `protobuf:"varint,5,opt,name=EncryptedCount,proto3" json:"EncryptedCount,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeInfoResponse) Descriptor deprecated

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

Deprecated: Use GetNodeInfoResponse.ProtoReflect.Descriptor instead.

func (*GetNodeInfoResponse) GetEncryptedCount

func (x *GetNodeInfoResponse) GetEncryptedCount() int64

func (*GetNodeInfoResponse) GetEncryptedOffset

func (x *GetNodeInfoResponse) GetEncryptedOffset() int64

func (*GetNodeInfoResponse) GetHeadSKippedPlainBytesCount

func (x *GetNodeInfoResponse) GetHeadSKippedPlainBytesCount() int64

func (*GetNodeInfoResponse) GetNodeInfo

func (x *GetNodeInfoResponse) GetNodeInfo() *NodeInfo

func (*GetNodeInfoResponse) GetWithRange

func (x *GetNodeInfoResponse) GetWithRange() bool

func (*GetNodeInfoResponse) ProtoMessage

func (*GetNodeInfoResponse) ProtoMessage()

func (*GetNodeInfoResponse) ProtoReflect

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

func (*GetNodeInfoResponse) Reset

func (x *GetNodeInfoResponse) Reset()

func (*GetNodeInfoResponse) String

func (x *GetNodeInfoResponse) String() string

func (*GetNodeInfoResponse) Validate

func (this *GetNodeInfoResponse) Validate() error

type GetNodePlainSizeRequest

type GetNodePlainSizeRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"`
	NodeId string `protobuf:"bytes,2,opt,name=NodeId,proto3" json:"NodeId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodePlainSizeRequest) Descriptor deprecated

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

Deprecated: Use GetNodePlainSizeRequest.ProtoReflect.Descriptor instead.

func (*GetNodePlainSizeRequest) GetNodeId

func (x *GetNodePlainSizeRequest) GetNodeId() string

func (*GetNodePlainSizeRequest) GetUserId

func (x *GetNodePlainSizeRequest) GetUserId() string

func (*GetNodePlainSizeRequest) ProtoMessage

func (*GetNodePlainSizeRequest) ProtoMessage()

func (*GetNodePlainSizeRequest) ProtoReflect

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

func (*GetNodePlainSizeRequest) Reset

func (x *GetNodePlainSizeRequest) Reset()

func (*GetNodePlainSizeRequest) String

func (x *GetNodePlainSizeRequest) String() string

func (*GetNodePlainSizeRequest) Validate

func (this *GetNodePlainSizeRequest) Validate() error

type GetNodePlainSizeResponse

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

func (*GetNodePlainSizeResponse) Descriptor deprecated

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

Deprecated: Use GetNodePlainSizeResponse.ProtoReflect.Descriptor instead.

func (*GetNodePlainSizeResponse) GetSize

func (x *GetNodePlainSizeResponse) GetSize() int64

func (*GetNodePlainSizeResponse) ProtoMessage

func (*GetNodePlainSizeResponse) ProtoMessage()

func (*GetNodePlainSizeResponse) ProtoReflect

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

func (*GetNodePlainSizeResponse) Reset

func (x *GetNodePlainSizeResponse) Reset()

func (*GetNodePlainSizeResponse) String

func (x *GetNodePlainSizeResponse) String() string

func (*GetNodePlainSizeResponse) Validate

func (this *GetNodePlainSizeResponse) Validate() error

type Import

type Import struct {

	// Name of importer
	By string `protobuf:"bytes,1,opt,name=By,proto3" json:"By,omitempty"`
	// Date of import
	Date int32 `protobuf:"varint,3,opt,name=Date,proto3" json:"Date,omitempty"`
	// contains filtered or unexported fields
}

func (*Import) Descriptor deprecated

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

Deprecated: Use Import.ProtoReflect.Descriptor instead.

func (*Import) GetBy

func (x *Import) GetBy() string

func (*Import) GetDate

func (x *Import) GetDate() int32

func (*Import) ProtoMessage

func (*Import) ProtoMessage()

func (*Import) ProtoReflect

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

func (*Import) Reset

func (x *Import) Reset()

func (*Import) String

func (x *Import) String() string

func (*Import) Validate

func (this *Import) Validate() error

type Key

type Key struct {

	// Key owner
	Owner string `protobuf:"bytes,1,opt,name=Owner,proto3" json:"Owner,omitempty"`
	// Key ID
	ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	// Key label
	Label string `protobuf:"bytes,3,opt,name=Label,proto3" json:"Label,omitempty"`
	// Key content
	Content string `protobuf:"bytes,4,opt,name=Content,proto3" json:"Content,omitempty"`
	// Key creation date
	CreationDate int32 `protobuf:"varint,5,opt,name=CreationDate,proto3" json:"CreationDate,omitempty"`
	// Additional key info
	Info *KeyInfo `protobuf:"bytes,6,opt,name=Info,proto3" json:"Info,omitempty"`
	// contains filtered or unexported fields
}

func (*Key) Descriptor deprecated

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

Deprecated: Use Key.ProtoReflect.Descriptor instead.

func (*Key) GetContent

func (x *Key) GetContent() string

func (*Key) GetCreationDate

func (x *Key) GetCreationDate() int32

func (*Key) GetID

func (x *Key) GetID() string

func (*Key) GetInfo

func (x *Key) GetInfo() *KeyInfo

func (*Key) GetLabel

func (x *Key) GetLabel() string

func (*Key) GetOwner

func (x *Key) GetOwner() string

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) ProtoReflect

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

func (*Key) Reset

func (x *Key) Reset()

func (*Key) String

func (x *Key) String() string

func (*Key) Validate

func (this *Key) Validate() error

type KeyInfo

type KeyInfo struct {
	Exports []*Export `protobuf:"bytes,1,rep,name=Exports,proto3" json:"Exports,omitempty"`
	Imports []*Import `protobuf:"bytes,2,rep,name=Imports,proto3" json:"Imports,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyInfo) Descriptor deprecated

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

Deprecated: Use KeyInfo.ProtoReflect.Descriptor instead.

func (*KeyInfo) GetExports

func (x *KeyInfo) GetExports() []*Export

func (*KeyInfo) GetImports

func (x *KeyInfo) GetImports() []*Import

func (*KeyInfo) ProtoMessage

func (*KeyInfo) ProtoMessage()

func (*KeyInfo) ProtoReflect

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

func (*KeyInfo) Reset

func (x *KeyInfo) Reset()

func (*KeyInfo) String

func (x *KeyInfo) String() string

func (*KeyInfo) Validate

func (this *KeyInfo) Validate() error

type NamedNodeKeyManagerServer

type NamedNodeKeyManagerServer interface {
	NodeKeyManagerServer
	Name() string
}

type NamedUserKeyStoreServer

type NamedUserKeyStoreServer interface {
	UserKeyStoreServer
	Name() string
}

type Node

type Node struct {
	NodeId string `protobuf:"bytes,1,opt,name=NodeId,proto3" json:"NodeId,omitempty"`
	Legacy bool   `protobuf:"varint,2,opt,name=Legacy,proto3" json:"Legacy,omitempty"`
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetLegacy

func (x *Node) GetLegacy() bool

func (*Node) GetNodeId

func (x *Node) GetNodeId() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

func (*Node) Validate

func (this *Node) Validate() error

type NodeInfo

type NodeInfo struct {
	Node    *Node    `protobuf:"bytes,1,opt,name=Node,proto3" json:"Node,omitempty"`
	NodeKey *NodeKey `protobuf:"bytes,2,opt,name=NodeKey,proto3" json:"NodeKey,omitempty"`
	Block   *Block   `protobuf:"bytes,3,opt,name=Block,proto3" json:"Block,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfo) Descriptor deprecated

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

Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo) GetBlock

func (x *NodeInfo) GetBlock() *Block

func (*NodeInfo) GetNode

func (x *NodeInfo) GetNode() *Node

func (*NodeInfo) GetNodeKey

func (x *NodeInfo) GetNodeKey() *NodeKey

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) ProtoReflect

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

func (*NodeInfo) Reset

func (x *NodeInfo) Reset()

func (*NodeInfo) String

func (x *NodeInfo) String() string

func (*NodeInfo) Validate

func (this *NodeInfo) Validate() error

type NodeKey

type NodeKey struct {
	NodeId  string `protobuf:"bytes,1,opt,name=NodeId,proto3" json:"NodeId,omitempty"`
	UserId  string `protobuf:"bytes,2,opt,name=UserId,proto3" json:"UserId,omitempty"`
	OwnerId string `protobuf:"bytes,3,opt,name=OwnerId,proto3" json:"OwnerId,omitempty"`
	KeyData []byte `protobuf:"bytes,6,opt,name=KeyData,proto3" json:"KeyData,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeKey) Descriptor deprecated

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

Deprecated: Use NodeKey.ProtoReflect.Descriptor instead.

func (*NodeKey) GetKeyData

func (x *NodeKey) GetKeyData() []byte

func (*NodeKey) GetNodeId

func (x *NodeKey) GetNodeId() string

func (*NodeKey) GetOwnerId

func (x *NodeKey) GetOwnerId() string

func (*NodeKey) GetUserId

func (x *NodeKey) GetUserId() string

func (*NodeKey) ProtoMessage

func (*NodeKey) ProtoMessage()

func (*NodeKey) ProtoReflect

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

func (*NodeKey) Reset

func (x *NodeKey) Reset()

func (*NodeKey) String

func (x *NodeKey) String() string

func (*NodeKey) Validate

func (this *NodeKey) Validate() error

type NodeKeyManagerClient

NodeKeyManagerClient is the client API for NodeKeyManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type NodeKeyManagerEnhancedServer

type NodeKeyManagerEnhancedServer map[string]NamedNodeKeyManagerServer

func (NodeKeyManagerEnhancedServer) CopyNodeInfo

func (NodeKeyManagerEnhancedServer) DeleteNode

func (NodeKeyManagerEnhancedServer) DeleteNodeKey

func (NodeKeyManagerEnhancedServer) DeleteNodeSharedKey

func (NodeKeyManagerEnhancedServer) GetNodeInfo

func (NodeKeyManagerEnhancedServer) GetNodePlainSize

func (NodeKeyManagerEnhancedServer) SetNodeInfo

type NodeKeyManagerServer

NodeKeyManagerServer is the server API for NodeKeyManager service. All implementations must embed UnimplementedNodeKeyManagerServer for forward compatibility

type NodeKeyManager_SetNodeInfoClient

type NodeKeyManager_SetNodeInfoClient interface {
	Send(*SetNodeInfoRequest) error
	CloseAndRecv() (*SetNodeInfoResponse, error)
	grpc.ClientStream
}

type NodeKeyManager_SetNodeInfoServer

type NodeKeyManager_SetNodeInfoServer interface {
	SendAndClose(*SetNodeInfoResponse) error
	Recv() (*SetNodeInfoRequest, error)
	grpc.ServerStream
}

type RangedBlock

type RangedBlock struct {
	OwnerId    string `protobuf:"bytes,1,opt,name=OwnerId,proto3" json:"OwnerId,omitempty"`
	PartId     uint32 `protobuf:"varint,2,opt,name=PartId,proto3" json:"PartId,omitempty"`
	SeqStart   uint32 `protobuf:"varint,3,opt,name=SeqStart,proto3" json:"SeqStart,omitempty"`
	SeqEnd     uint32 `protobuf:"varint,4,opt,name=SeqEnd,proto3" json:"SeqEnd,omitempty"`
	HeaderSize uint32 `protobuf:"varint,5,opt,name=HeaderSize,proto3" json:"HeaderSize,omitempty"`
	BlockSize  uint32 `protobuf:"varint,6,opt,name=BlockSize,proto3" json:"BlockSize,omitempty"`
	// contains filtered or unexported fields
}

func (*RangedBlock) Descriptor deprecated

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

Deprecated: Use RangedBlock.ProtoReflect.Descriptor instead.

func (*RangedBlock) GetBlockSize

func (x *RangedBlock) GetBlockSize() uint32

func (*RangedBlock) GetHeaderSize

func (x *RangedBlock) GetHeaderSize() uint32

func (*RangedBlock) GetOwnerId

func (x *RangedBlock) GetOwnerId() string

func (*RangedBlock) GetPartId

func (x *RangedBlock) GetPartId() uint32

func (*RangedBlock) GetSeqEnd

func (x *RangedBlock) GetSeqEnd() uint32

func (*RangedBlock) GetSeqStart

func (x *RangedBlock) GetSeqStart() uint32

func (*RangedBlock) ProtoMessage

func (*RangedBlock) ProtoMessage()

func (*RangedBlock) ProtoReflect

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

func (*RangedBlock) Reset

func (x *RangedBlock) Reset()

func (*RangedBlock) String

func (x *RangedBlock) String() string

func (*RangedBlock) Validate

func (this *RangedBlock) Validate() error

type SetNodeBlockRequest

type SetNodeBlockRequest struct {
	NodeUuid string `protobuf:"bytes,1,opt,name=NodeUuid,proto3" json:"NodeUuid,omitempty"`
	Block    *Block `protobuf:"bytes,2,opt,name=Block,proto3" json:"Block,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNodeBlockRequest) Descriptor deprecated

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

Deprecated: Use SetNodeBlockRequest.ProtoReflect.Descriptor instead.

func (*SetNodeBlockRequest) GetBlock

func (x *SetNodeBlockRequest) GetBlock() *Block

func (*SetNodeBlockRequest) GetNodeUuid

func (x *SetNodeBlockRequest) GetNodeUuid() string

func (*SetNodeBlockRequest) ProtoMessage

func (*SetNodeBlockRequest) ProtoMessage()

func (*SetNodeBlockRequest) ProtoReflect

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

func (*SetNodeBlockRequest) Reset

func (x *SetNodeBlockRequest) Reset()

func (*SetNodeBlockRequest) String

func (x *SetNodeBlockRequest) String() string

func (*SetNodeBlockRequest) Validate

func (this *SetNodeBlockRequest) Validate() error

type SetNodeBlockResponse

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

func (*SetNodeBlockResponse) Descriptor deprecated

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

Deprecated: Use SetNodeBlockResponse.ProtoReflect.Descriptor instead.

func (*SetNodeBlockResponse) ProtoMessage

func (*SetNodeBlockResponse) ProtoMessage()

func (*SetNodeBlockResponse) ProtoReflect

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

func (*SetNodeBlockResponse) Reset

func (x *SetNodeBlockResponse) Reset()

func (*SetNodeBlockResponse) String

func (x *SetNodeBlockResponse) String() string

func (*SetNodeBlockResponse) Validate

func (this *SetNodeBlockResponse) Validate() error

type SetNodeInfoRequest

type SetNodeInfoRequest struct {
	Action     string               `protobuf:"bytes,1,opt,name=Action,proto3" json:"Action,omitempty"`
	SetNodeKey *SetNodeKeyRequest   `protobuf:"bytes,2,opt,name=SetNodeKey,proto3" json:"SetNodeKey,omitempty"`
	SetBlock   *SetNodeBlockRequest `protobuf:"bytes,3,opt,name=SetBlock,proto3" json:"SetBlock,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNodeInfoRequest) Descriptor deprecated

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

Deprecated: Use SetNodeInfoRequest.ProtoReflect.Descriptor instead.

func (*SetNodeInfoRequest) GetAction

func (x *SetNodeInfoRequest) GetAction() string

func (*SetNodeInfoRequest) GetSetBlock

func (x *SetNodeInfoRequest) GetSetBlock() *SetNodeBlockRequest

func (*SetNodeInfoRequest) GetSetNodeKey

func (x *SetNodeInfoRequest) GetSetNodeKey() *SetNodeKeyRequest

func (*SetNodeInfoRequest) ProtoMessage

func (*SetNodeInfoRequest) ProtoMessage()

func (*SetNodeInfoRequest) ProtoReflect

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

func (*SetNodeInfoRequest) Reset

func (x *SetNodeInfoRequest) Reset()

func (*SetNodeInfoRequest) String

func (x *SetNodeInfoRequest) String() string

func (*SetNodeInfoRequest) Validate

func (this *SetNodeInfoRequest) Validate() error

type SetNodeInfoResponse

type SetNodeInfoResponse struct {
	ErrorText  string                `protobuf:"bytes,1,opt,name=ErrorText,proto3" json:"ErrorText,omitempty"`
	SetNodeKey *SetNodeKeyResponse   `protobuf:"bytes,2,opt,name=SetNodeKey,proto3" json:"SetNodeKey,omitempty"`
	SetBlock   *SetNodeBlockResponse `protobuf:"bytes,3,opt,name=SetBlock,proto3" json:"SetBlock,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNodeInfoResponse) Descriptor deprecated

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

Deprecated: Use SetNodeInfoResponse.ProtoReflect.Descriptor instead.

func (*SetNodeInfoResponse) GetErrorText

func (x *SetNodeInfoResponse) GetErrorText() string

func (*SetNodeInfoResponse) GetSetBlock

func (x *SetNodeInfoResponse) GetSetBlock() *SetNodeBlockResponse

func (*SetNodeInfoResponse) GetSetNodeKey

func (x *SetNodeInfoResponse) GetSetNodeKey() *SetNodeKeyResponse

func (*SetNodeInfoResponse) ProtoMessage

func (*SetNodeInfoResponse) ProtoMessage()

func (*SetNodeInfoResponse) ProtoReflect

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

func (*SetNodeInfoResponse) Reset

func (x *SetNodeInfoResponse) Reset()

func (*SetNodeInfoResponse) String

func (x *SetNodeInfoResponse) String() string

func (*SetNodeInfoResponse) Validate

func (this *SetNodeInfoResponse) Validate() error

type SetNodeKeyRequest

type SetNodeKeyRequest struct {
	NodeKey *NodeKey `protobuf:"bytes,1,opt,name=NodeKey,proto3" json:"NodeKey,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNodeKeyRequest) Descriptor deprecated

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

Deprecated: Use SetNodeKeyRequest.ProtoReflect.Descriptor instead.

func (*SetNodeKeyRequest) GetNodeKey

func (x *SetNodeKeyRequest) GetNodeKey() *NodeKey

func (*SetNodeKeyRequest) ProtoMessage

func (*SetNodeKeyRequest) ProtoMessage()

func (*SetNodeKeyRequest) ProtoReflect

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

func (*SetNodeKeyRequest) Reset

func (x *SetNodeKeyRequest) Reset()

func (*SetNodeKeyRequest) String

func (x *SetNodeKeyRequest) String() string

func (*SetNodeKeyRequest) Validate

func (this *SetNodeKeyRequest) Validate() error

type SetNodeKeyResponse

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

func (*SetNodeKeyResponse) Descriptor deprecated

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

Deprecated: Use SetNodeKeyResponse.ProtoReflect.Descriptor instead.

func (*SetNodeKeyResponse) ProtoMessage

func (*SetNodeKeyResponse) ProtoMessage()

func (*SetNodeKeyResponse) ProtoReflect

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

func (*SetNodeKeyResponse) Reset

func (x *SetNodeKeyResponse) Reset()

func (*SetNodeKeyResponse) String

func (x *SetNodeKeyResponse) String() string

func (*SetNodeKeyResponse) Validate

func (this *SetNodeKeyResponse) Validate() error

type UnimplementedNodeKeyManagerServer

type UnimplementedNodeKeyManagerServer struct {
}

UnimplementedNodeKeyManagerServer must be embedded to have forward compatible implementations.

func (UnimplementedNodeKeyManagerServer) CopyNodeInfo

func (UnimplementedNodeKeyManagerServer) DeleteNode

func (UnimplementedNodeKeyManagerServer) DeleteNodeKey

func (UnimplementedNodeKeyManagerServer) DeleteNodeSharedKey

func (UnimplementedNodeKeyManagerServer) GetNodeInfo

func (UnimplementedNodeKeyManagerServer) GetNodePlainSize

func (UnimplementedNodeKeyManagerServer) SetNodeInfo

type UnimplementedUserKeyStoreServer

type UnimplementedUserKeyStoreServer struct {
}

UnimplementedUserKeyStoreServer must be embedded to have forward compatible implementations.

func (UnimplementedUserKeyStoreServer) AddKey

func (UnimplementedUserKeyStoreServer) AdminCreateKey

func (UnimplementedUserKeyStoreServer) AdminDeleteKey

func (UnimplementedUserKeyStoreServer) AdminExportKey

func (UnimplementedUserKeyStoreServer) AdminImportKey

func (UnimplementedUserKeyStoreServer) AdminListKeys

func (UnimplementedUserKeyStoreServer) GetKey

type UnsafeNodeKeyManagerServer

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

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

type UnsafeUserKeyStoreServer

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

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

type UserKeyStoreClient

type UserKeyStoreClient interface {
	AddKey(ctx context.Context, in *AddKeyRequest, opts ...grpc.CallOption) (*AddKeyResponse, error)
	GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*GetKeyResponse, error)
	AdminListKeys(ctx context.Context, in *AdminListKeysRequest, opts ...grpc.CallOption) (*AdminListKeysResponse, error)
	AdminCreateKey(ctx context.Context, in *AdminCreateKeyRequest, opts ...grpc.CallOption) (*AdminCreateKeyResponse, error)
	AdminDeleteKey(ctx context.Context, in *AdminDeleteKeyRequest, opts ...grpc.CallOption) (*AdminDeleteKeyResponse, error)
	AdminExportKey(ctx context.Context, in *AdminExportKeyRequest, opts ...grpc.CallOption) (*AdminExportKeyResponse, error)
	AdminImportKey(ctx context.Context, in *AdminImportKeyRequest, opts ...grpc.CallOption) (*AdminImportKeyResponse, error)
}

UserKeyStoreClient is the client API for UserKeyStore service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UserKeyStoreEnhancedServer

type UserKeyStoreEnhancedServer map[string]NamedUserKeyStoreServer

func (UserKeyStoreEnhancedServer) AddKey

func (UserKeyStoreEnhancedServer) AdminCreateKey

func (UserKeyStoreEnhancedServer) AdminDeleteKey

func (UserKeyStoreEnhancedServer) AdminExportKey

func (UserKeyStoreEnhancedServer) AdminImportKey

func (UserKeyStoreEnhancedServer) AdminListKeys

func (UserKeyStoreEnhancedServer) GetKey

type UserKeyStoreServer

UserKeyStoreServer is the server API for UserKeyStore service. All implementations must embed UnimplementedUserKeyStoreServer for forward compatibility

Jump to

Keyboard shortcuts

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