pbkeys

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterKeysServer

func RegisterKeysServer(s *grpc.Server, srv KeysServer)

Types

type AddNameRequest

type AddNameRequest struct {
	Keyname              string   `protobuf:"bytes,1,opt,name=keyname,proto3" json:"keyname,omitempty"`
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddNameRequest) Descriptor

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

func (*AddNameRequest) GetAddress

func (m *AddNameRequest) GetAddress() string

func (*AddNameRequest) GetKeyname

func (m *AddNameRequest) GetKeyname() string

func (*AddNameRequest) ProtoMessage

func (*AddNameRequest) ProtoMessage()

func (*AddNameRequest) Reset

func (m *AddNameRequest) Reset()

func (*AddNameRequest) String

func (m *AddNameRequest) String() string

func (*AddNameRequest) XXX_DiscardUnknown

func (m *AddNameRequest) XXX_DiscardUnknown()

func (*AddNameRequest) XXX_Marshal

func (m *AddNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddNameRequest) XXX_Merge

func (dst *AddNameRequest) XXX_Merge(src proto.Message)

func (*AddNameRequest) XXX_Size

func (m *AddNameRequest) XXX_Size() int

func (*AddNameRequest) XXX_Unmarshal

func (m *AddNameRequest) XXX_Unmarshal(b []byte) error

type AddNameResponse

type AddNameResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddNameResponse) Descriptor

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

func (*AddNameResponse) ProtoMessage

func (*AddNameResponse) ProtoMessage()

func (*AddNameResponse) Reset

func (m *AddNameResponse) Reset()

func (*AddNameResponse) String

func (m *AddNameResponse) String() string

func (*AddNameResponse) XXX_DiscardUnknown

func (m *AddNameResponse) XXX_DiscardUnknown()

func (*AddNameResponse) XXX_Marshal

func (m *AddNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddNameResponse) XXX_Merge

func (dst *AddNameResponse) XXX_Merge(src proto.Message)

func (*AddNameResponse) XXX_Size

func (m *AddNameResponse) XXX_Size() int

func (*AddNameResponse) XXX_Unmarshal

func (m *AddNameResponse) XXX_Unmarshal(b []byte) error

type ExportRequest

type ExportRequest struct {
	Passphrase           string   `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Address              string   `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExportRequest) Descriptor

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

func (*ExportRequest) GetAddress

func (m *ExportRequest) GetAddress() string

func (*ExportRequest) GetName

func (m *ExportRequest) GetName() string

func (*ExportRequest) GetPassphrase

func (m *ExportRequest) GetPassphrase() string

func (*ExportRequest) ProtoMessage

func (*ExportRequest) ProtoMessage()

func (*ExportRequest) Reset

func (m *ExportRequest) Reset()

func (*ExportRequest) String

func (m *ExportRequest) String() string

func (*ExportRequest) XXX_DiscardUnknown

func (m *ExportRequest) XXX_DiscardUnknown()

func (*ExportRequest) XXX_Marshal

func (m *ExportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportRequest) XXX_Merge

func (dst *ExportRequest) XXX_Merge(src proto.Message)

func (*ExportRequest) XXX_Size

func (m *ExportRequest) XXX_Size() int

func (*ExportRequest) XXX_Unmarshal

func (m *ExportRequest) XXX_Unmarshal(b []byte) error

type ExportResponse

type ExportResponse struct {
	Publickey            []byte   `protobuf:"bytes,1,opt,name=publickey,proto3" json:"publickey,omitempty"`
	Privatekey           []byte   `protobuf:"bytes,2,opt,name=privatekey,proto3" json:"privatekey,omitempty"`
	Address              []byte   `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Curvetype            string   `protobuf:"bytes,4,opt,name=curvetype,proto3" json:"curvetype,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExportResponse) Descriptor

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

func (*ExportResponse) GetAddress

func (m *ExportResponse) GetAddress() []byte

func (*ExportResponse) GetCurvetype

func (m *ExportResponse) GetCurvetype() string

func (*ExportResponse) GetPrivatekey

func (m *ExportResponse) GetPrivatekey() []byte

func (*ExportResponse) GetPublickey

func (m *ExportResponse) GetPublickey() []byte

func (*ExportResponse) ProtoMessage

func (*ExportResponse) ProtoMessage()

func (*ExportResponse) Reset

func (m *ExportResponse) Reset()

func (*ExportResponse) String

func (m *ExportResponse) String() string

func (*ExportResponse) XXX_DiscardUnknown

func (m *ExportResponse) XXX_DiscardUnknown()

func (*ExportResponse) XXX_Marshal

func (m *ExportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportResponse) XXX_Merge

func (dst *ExportResponse) XXX_Merge(src proto.Message)

func (*ExportResponse) XXX_Size

func (m *ExportResponse) XXX_Size() int

func (*ExportResponse) XXX_Unmarshal

func (m *ExportResponse) XXX_Unmarshal(b []byte) error

type GenRequest

type GenRequest struct {
	Passphrase           string   `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	Curvetype            string   `protobuf:"bytes,2,opt,name=curvetype,proto3" json:"curvetype,omitempty"`
	Keyname              string   `protobuf:"bytes,3,opt,name=keyname,proto3" json:"keyname,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenRequest) Descriptor

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

func (*GenRequest) GetCurvetype

func (m *GenRequest) GetCurvetype() string

func (*GenRequest) GetKeyname

func (m *GenRequest) GetKeyname() string

func (*GenRequest) GetPassphrase

func (m *GenRequest) GetPassphrase() string

func (*GenRequest) ProtoMessage

func (*GenRequest) ProtoMessage()

func (*GenRequest) Reset

func (m *GenRequest) Reset()

func (*GenRequest) String

func (m *GenRequest) String() string

func (*GenRequest) XXX_DiscardUnknown

func (m *GenRequest) XXX_DiscardUnknown()

func (*GenRequest) XXX_Marshal

func (m *GenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenRequest) XXX_Merge

func (dst *GenRequest) XXX_Merge(src proto.Message)

func (*GenRequest) XXX_Size

func (m *GenRequest) XXX_Size() int

func (*GenRequest) XXX_Unmarshal

func (m *GenRequest) XXX_Unmarshal(b []byte) error

type GenResponse

type GenResponse struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenResponse) Descriptor

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

func (*GenResponse) GetAddress

func (m *GenResponse) GetAddress() string

func (*GenResponse) ProtoMessage

func (*GenResponse) ProtoMessage()

func (*GenResponse) Reset

func (m *GenResponse) Reset()

func (*GenResponse) String

func (m *GenResponse) String() string

func (*GenResponse) XXX_DiscardUnknown

func (m *GenResponse) XXX_DiscardUnknown()

func (*GenResponse) XXX_Marshal

func (m *GenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenResponse) XXX_Merge

func (dst *GenResponse) XXX_Merge(src proto.Message)

func (*GenResponse) XXX_Size

func (m *GenResponse) XXX_Size() int

func (*GenResponse) XXX_Unmarshal

func (m *GenResponse) XXX_Unmarshal(b []byte) error

type HashRequest

type HashRequest struct {
	Hashtype             string   `protobuf:"bytes,1,opt,name=hashtype,proto3" json:"hashtype,omitempty"`
	Message              []byte   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HashRequest) Descriptor

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

func (*HashRequest) GetHashtype

func (m *HashRequest) GetHashtype() string

func (*HashRequest) GetMessage

func (m *HashRequest) GetMessage() []byte

func (*HashRequest) ProtoMessage

func (*HashRequest) ProtoMessage()

func (*HashRequest) Reset

func (m *HashRequest) Reset()

func (*HashRequest) String

func (m *HashRequest) String() string

func (*HashRequest) XXX_DiscardUnknown

func (m *HashRequest) XXX_DiscardUnknown()

func (*HashRequest) XXX_Marshal

func (m *HashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HashRequest) XXX_Merge

func (dst *HashRequest) XXX_Merge(src proto.Message)

func (*HashRequest) XXX_Size

func (m *HashRequest) XXX_Size() int

func (*HashRequest) XXX_Unmarshal

func (m *HashRequest) XXX_Unmarshal(b []byte) error

type HashResponse

type HashResponse struct {
	Hash                 string   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HashResponse) Descriptor

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

func (*HashResponse) GetHash

func (m *HashResponse) GetHash() string

func (*HashResponse) ProtoMessage

func (*HashResponse) ProtoMessage()

func (*HashResponse) Reset

func (m *HashResponse) Reset()

func (*HashResponse) String

func (m *HashResponse) String() string

func (*HashResponse) XXX_DiscardUnknown

func (m *HashResponse) XXX_DiscardUnknown()

func (*HashResponse) XXX_Marshal

func (m *HashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HashResponse) XXX_Merge

func (dst *HashResponse) XXX_Merge(src proto.Message)

func (*HashResponse) XXX_Size

func (m *HashResponse) XXX_Size() int

func (*HashResponse) XXX_Unmarshal

func (m *HashResponse) XXX_Unmarshal(b []byte) error

type ImportJSONRequest

type ImportJSONRequest struct {
	Passphrase           string   `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	JSON                 string   `protobuf:"bytes,2,opt,name=JSON,proto3" json:"JSON,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImportJSONRequest) Descriptor

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

func (*ImportJSONRequest) GetJSON

func (m *ImportJSONRequest) GetJSON() string

func (*ImportJSONRequest) GetPassphrase

func (m *ImportJSONRequest) GetPassphrase() string

func (*ImportJSONRequest) ProtoMessage

func (*ImportJSONRequest) ProtoMessage()

func (*ImportJSONRequest) Reset

func (m *ImportJSONRequest) Reset()

func (*ImportJSONRequest) String

func (m *ImportJSONRequest) String() string

func (*ImportJSONRequest) XXX_DiscardUnknown

func (m *ImportJSONRequest) XXX_DiscardUnknown()

func (*ImportJSONRequest) XXX_Marshal

func (m *ImportJSONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportJSONRequest) XXX_Merge

func (dst *ImportJSONRequest) XXX_Merge(src proto.Message)

func (*ImportJSONRequest) XXX_Size

func (m *ImportJSONRequest) XXX_Size() int

func (*ImportJSONRequest) XXX_Unmarshal

func (m *ImportJSONRequest) XXX_Unmarshal(b []byte) error

type ImportRequest

type ImportRequest struct {
	Passphrase           string   `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Curvetype            string   `protobuf:"bytes,3,opt,name=curvetype,proto3" json:"curvetype,omitempty"`
	Keybytes             []byte   `protobuf:"bytes,4,opt,name=keybytes,proto3" json:"keybytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImportRequest) Descriptor

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

func (*ImportRequest) GetCurvetype

func (m *ImportRequest) GetCurvetype() string

func (*ImportRequest) GetKeybytes

func (m *ImportRequest) GetKeybytes() []byte

func (*ImportRequest) GetName

func (m *ImportRequest) GetName() string

func (*ImportRequest) GetPassphrase

func (m *ImportRequest) GetPassphrase() string

func (*ImportRequest) ProtoMessage

func (*ImportRequest) ProtoMessage()

func (*ImportRequest) Reset

func (m *ImportRequest) Reset()

func (*ImportRequest) String

func (m *ImportRequest) String() string

func (*ImportRequest) XXX_DiscardUnknown

func (m *ImportRequest) XXX_DiscardUnknown()

func (*ImportRequest) XXX_Marshal

func (m *ImportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportRequest) XXX_Merge

func (dst *ImportRequest) XXX_Merge(src proto.Message)

func (*ImportRequest) XXX_Size

func (m *ImportRequest) XXX_Size() int

func (*ImportRequest) XXX_Unmarshal

func (m *ImportRequest) XXX_Unmarshal(b []byte) error

type ImportResponse

type ImportResponse struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImportResponse) Descriptor

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

func (*ImportResponse) GetAddress

func (m *ImportResponse) GetAddress() string

func (*ImportResponse) ProtoMessage

func (*ImportResponse) ProtoMessage()

func (*ImportResponse) Reset

func (m *ImportResponse) Reset()

func (*ImportResponse) String

func (m *ImportResponse) String() string

func (*ImportResponse) XXX_DiscardUnknown

func (m *ImportResponse) XXX_DiscardUnknown()

func (*ImportResponse) XXX_Marshal

func (m *ImportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportResponse) XXX_Merge

func (dst *ImportResponse) XXX_Merge(src proto.Message)

func (*ImportResponse) XXX_Size

func (m *ImportResponse) XXX_Size() int

func (*ImportResponse) XXX_Unmarshal

func (m *ImportResponse) XXX_Unmarshal(b []byte) error

type Key

type Key struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Keyname              string   `protobuf:"bytes,2,opt,name=keyname,proto3" json:"keyname,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Key) Descriptor

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

func (*Key) GetAddress

func (m *Key) GetAddress() string

func (*Key) GetKeyname

func (m *Key) GetKeyname() string

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) Reset

func (m *Key) Reset()

func (*Key) String

func (m *Key) String() string

func (*Key) XXX_DiscardUnknown

func (m *Key) XXX_DiscardUnknown()

func (*Key) XXX_Marshal

func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Key) XXX_Merge

func (dst *Key) XXX_Merge(src proto.Message)

func (*Key) XXX_Size

func (m *Key) XXX_Size() int

func (*Key) XXX_Unmarshal

func (m *Key) XXX_Unmarshal(b []byte) error

type KeysClient

type KeysClient interface {
	GenerateKey(ctx context.Context, in *GenRequest, opts ...grpc.CallOption) (*GenResponse, error)
	PublicKey(ctx context.Context, in *PubRequest, opts ...grpc.CallOption) (*PubResponse, error)
	Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error)
	Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error)
	Import(ctx context.Context, in *ImportRequest, opts ...grpc.CallOption) (*ImportResponse, error)
	ImportJSON(ctx context.Context, in *ImportJSONRequest, opts ...grpc.CallOption) (*ImportResponse, error)
	Export(ctx context.Context, in *ExportRequest, opts ...grpc.CallOption) (*ExportResponse, error)
	Hash(ctx context.Context, in *HashRequest, opts ...grpc.CallOption) (*HashResponse, error)
	RemoveName(ctx context.Context, in *RemoveNameRequest, opts ...grpc.CallOption) (*RemoveNameResponse, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	AddName(ctx context.Context, in *AddNameRequest, opts ...grpc.CallOption) (*AddNameResponse, error)
}

KeysClient is the client API for Keys service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewKeysClient

func NewKeysClient(cc *grpc.ClientConn) KeysClient

type ListRequest

type ListRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListRequest) Descriptor

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

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) Reset

func (m *ListRequest) Reset()

func (*ListRequest) String

func (m *ListRequest) String() string

func (*ListRequest) XXX_DiscardUnknown

func (m *ListRequest) XXX_DiscardUnknown()

func (*ListRequest) XXX_Marshal

func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListRequest) XXX_Merge

func (dst *ListRequest) XXX_Merge(src proto.Message)

func (*ListRequest) XXX_Size

func (m *ListRequest) XXX_Size() int

func (*ListRequest) XXX_Unmarshal

func (m *ListRequest) XXX_Unmarshal(b []byte) error

type ListResponse

type ListResponse struct {
	Key                  []*Key   `protobuf:"bytes,1,rep,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListResponse) Descriptor

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

func (*ListResponse) GetKey

func (m *ListResponse) GetKey() []*Key

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset

func (m *ListResponse) Reset()

func (*ListResponse) String

func (m *ListResponse) String() string

func (*ListResponse) XXX_DiscardUnknown

func (m *ListResponse) XXX_DiscardUnknown()

func (*ListResponse) XXX_Marshal

func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListResponse) XXX_Merge

func (dst *ListResponse) XXX_Merge(src proto.Message)

func (*ListResponse) XXX_Size

func (m *ListResponse) XXX_Size() int

func (*ListResponse) XXX_Unmarshal

func (m *ListResponse) XXX_Unmarshal(b []byte) error

type PubRequest

type PubRequest struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PubRequest) Descriptor

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

func (*PubRequest) GetAddress

func (m *PubRequest) GetAddress() string

func (*PubRequest) GetName

func (m *PubRequest) GetName() string

func (*PubRequest) ProtoMessage

func (*PubRequest) ProtoMessage()

func (*PubRequest) Reset

func (m *PubRequest) Reset()

func (*PubRequest) String

func (m *PubRequest) String() string

func (*PubRequest) XXX_DiscardUnknown

func (m *PubRequest) XXX_DiscardUnknown()

func (*PubRequest) XXX_Marshal

func (m *PubRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PubRequest) XXX_Merge

func (dst *PubRequest) XXX_Merge(src proto.Message)

func (*PubRequest) XXX_Size

func (m *PubRequest) XXX_Size() int

func (*PubRequest) XXX_Unmarshal

func (m *PubRequest) XXX_Unmarshal(b []byte) error

type PubResponse

type PubResponse struct {
	Pub                  []byte   `protobuf:"bytes,1,opt,name=pub,proto3" json:"pub,omitempty"`
	Curvetype            string   `protobuf:"bytes,2,opt,name=curvetype,proto3" json:"curvetype,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PubResponse) Descriptor

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

func (*PubResponse) GetCurvetype

func (m *PubResponse) GetCurvetype() string

func (*PubResponse) GetPub

func (m *PubResponse) GetPub() []byte

func (*PubResponse) ProtoMessage

func (*PubResponse) ProtoMessage()

func (*PubResponse) Reset

func (m *PubResponse) Reset()

func (*PubResponse) String

func (m *PubResponse) String() string

func (*PubResponse) XXX_DiscardUnknown

func (m *PubResponse) XXX_DiscardUnknown()

func (*PubResponse) XXX_Marshal

func (m *PubResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PubResponse) XXX_Merge

func (dst *PubResponse) XXX_Merge(src proto.Message)

func (*PubResponse) XXX_Size

func (m *PubResponse) XXX_Size() int

func (*PubResponse) XXX_Unmarshal

func (m *PubResponse) XXX_Unmarshal(b []byte) error

type RemoveNameRequest

type RemoveNameRequest struct {
	Keyname              string   `protobuf:"bytes,1,opt,name=keyname,proto3" json:"keyname,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveNameRequest) Descriptor

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

func (*RemoveNameRequest) GetKeyname

func (m *RemoveNameRequest) GetKeyname() string

func (*RemoveNameRequest) ProtoMessage

func (*RemoveNameRequest) ProtoMessage()

func (*RemoveNameRequest) Reset

func (m *RemoveNameRequest) Reset()

func (*RemoveNameRequest) String

func (m *RemoveNameRequest) String() string

func (*RemoveNameRequest) XXX_DiscardUnknown

func (m *RemoveNameRequest) XXX_DiscardUnknown()

func (*RemoveNameRequest) XXX_Marshal

func (m *RemoveNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveNameRequest) XXX_Merge

func (dst *RemoveNameRequest) XXX_Merge(src proto.Message)

func (*RemoveNameRequest) XXX_Size

func (m *RemoveNameRequest) XXX_Size() int

func (*RemoveNameRequest) XXX_Unmarshal

func (m *RemoveNameRequest) XXX_Unmarshal(b []byte) error

type RemoveNameResponse

type RemoveNameResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveNameResponse) Descriptor

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

func (*RemoveNameResponse) ProtoMessage

func (*RemoveNameResponse) ProtoMessage()

func (*RemoveNameResponse) Reset

func (m *RemoveNameResponse) Reset()

func (*RemoveNameResponse) String

func (m *RemoveNameResponse) String() string

func (*RemoveNameResponse) XXX_DiscardUnknown

func (m *RemoveNameResponse) XXX_DiscardUnknown()

func (*RemoveNameResponse) XXX_Marshal

func (m *RemoveNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveNameResponse) XXX_Merge

func (dst *RemoveNameResponse) XXX_Merge(src proto.Message)

func (*RemoveNameResponse) XXX_Size

func (m *RemoveNameResponse) XXX_Size() int

func (*RemoveNameResponse) XXX_Unmarshal

func (m *RemoveNameResponse) XXX_Unmarshal(b []byte) error

type SignRequest

type SignRequest struct {
	Passphrase           string   `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Message              []byte   `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignRequest) Descriptor

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

func (*SignRequest) GetAddress

func (m *SignRequest) GetAddress() string

func (*SignRequest) GetMessage

func (m *SignRequest) GetMessage() []byte

func (*SignRequest) GetName

func (m *SignRequest) GetName() string

func (*SignRequest) GetPassphrase

func (m *SignRequest) GetPassphrase() string

func (*SignRequest) ProtoMessage

func (*SignRequest) ProtoMessage()

func (*SignRequest) Reset

func (m *SignRequest) Reset()

func (*SignRequest) String

func (m *SignRequest) String() string

func (*SignRequest) XXX_DiscardUnknown

func (m *SignRequest) XXX_DiscardUnknown()

func (*SignRequest) XXX_Marshal

func (m *SignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignRequest) XXX_Merge

func (dst *SignRequest) XXX_Merge(src proto.Message)

func (*SignRequest) XXX_Size

func (m *SignRequest) XXX_Size() int

func (*SignRequest) XXX_Unmarshal

func (m *SignRequest) XXX_Unmarshal(b []byte) error

type SignResponse

type SignResponse struct {
	Signature            []byte   `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	Curvetype            string   `protobuf:"bytes,2,opt,name=curvetype,proto3" json:"curvetype,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignResponse) Descriptor

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

func (*SignResponse) GetCurvetype

func (m *SignResponse) GetCurvetype() string

func (*SignResponse) GetSignature

func (m *SignResponse) GetSignature() []byte

func (*SignResponse) ProtoMessage

func (*SignResponse) ProtoMessage()

func (*SignResponse) Reset

func (m *SignResponse) Reset()

func (*SignResponse) String

func (m *SignResponse) String() string

func (*SignResponse) XXX_DiscardUnknown

func (m *SignResponse) XXX_DiscardUnknown()

func (*SignResponse) XXX_Marshal

func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignResponse) XXX_Merge

func (dst *SignResponse) XXX_Merge(src proto.Message)

func (*SignResponse) XXX_Size

func (m *SignResponse) XXX_Size() int

func (*SignResponse) XXX_Unmarshal

func (m *SignResponse) XXX_Unmarshal(b []byte) error

type VerifyRequest

type VerifyRequest struct {
	Curvetype            string   `protobuf:"bytes,1,opt,name=curvetype,proto3" json:"curvetype,omitempty"`
	Pub                  []byte   `protobuf:"bytes,2,opt,name=pub,proto3" json:"pub,omitempty"`
	Message              []byte   `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Signature            []byte   `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyRequest) Descriptor

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

func (*VerifyRequest) GetCurvetype

func (m *VerifyRequest) GetCurvetype() string

func (*VerifyRequest) GetMessage

func (m *VerifyRequest) GetMessage() []byte

func (*VerifyRequest) GetPub

func (m *VerifyRequest) GetPub() []byte

func (*VerifyRequest) GetSignature

func (m *VerifyRequest) GetSignature() []byte

func (*VerifyRequest) ProtoMessage

func (*VerifyRequest) ProtoMessage()

func (*VerifyRequest) Reset

func (m *VerifyRequest) Reset()

func (*VerifyRequest) String

func (m *VerifyRequest) String() string

func (*VerifyRequest) XXX_DiscardUnknown

func (m *VerifyRequest) XXX_DiscardUnknown()

func (*VerifyRequest) XXX_Marshal

func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyRequest) XXX_Merge

func (dst *VerifyRequest) XXX_Merge(src proto.Message)

func (*VerifyRequest) XXX_Size

func (m *VerifyRequest) XXX_Size() int

func (*VerifyRequest) XXX_Unmarshal

func (m *VerifyRequest) XXX_Unmarshal(b []byte) error

type VerifyResponse

type VerifyResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyResponse) Descriptor

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

func (*VerifyResponse) ProtoMessage

func (*VerifyResponse) ProtoMessage()

func (*VerifyResponse) Reset

func (m *VerifyResponse) Reset()

func (*VerifyResponse) String

func (m *VerifyResponse) String() string

func (*VerifyResponse) XXX_DiscardUnknown

func (m *VerifyResponse) XXX_DiscardUnknown()

func (*VerifyResponse) XXX_Marshal

func (m *VerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyResponse) XXX_Merge

func (dst *VerifyResponse) XXX_Merge(src proto.Message)

func (*VerifyResponse) XXX_Size

func (m *VerifyResponse) XXX_Size() int

func (*VerifyResponse) XXX_Unmarshal

func (m *VerifyResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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