Newer
Older
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/hyperledger/burrow/keys/pbkeys/keys.proto
package pbkeys
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
type ListRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListRequest) Reset() { *m = ListRequest{} }
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
func (*ListRequest) ProtoMessage() {}
func (*ListRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{0}
}
func (m *ListRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListRequest.Unmarshal(m, b)
}
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic)
}
func (dst *ListRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListRequest.Merge(dst, src)
}
func (m *ListRequest) XXX_Size() int {
return xxx_messageInfo_ListRequest.Size(m)
}
func (m *ListRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListRequest proto.InternalMessageInfo
type VerifyResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VerifyResponse) Reset() { *m = VerifyResponse{} }
func (m *VerifyResponse) String() string { return proto.CompactTextString(m) }
func (*VerifyResponse) ProtoMessage() {}
func (*VerifyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{1}
}
func (m *VerifyResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VerifyResponse.Unmarshal(m, b)
}
func (m *VerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VerifyResponse.Marshal(b, m, deterministic)
}
func (dst *VerifyResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_VerifyResponse.Merge(dst, src)
}
func (m *VerifyResponse) XXX_Size() int {
return xxx_messageInfo_VerifyResponse.Size(m)
}
func (m *VerifyResponse) XXX_DiscardUnknown() {
xxx_messageInfo_VerifyResponse.DiscardUnknown(m)
}
var xxx_messageInfo_VerifyResponse proto.InternalMessageInfo
type RemoveNameResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RemoveNameResponse) Reset() { *m = RemoveNameResponse{} }
func (m *RemoveNameResponse) String() string { return proto.CompactTextString(m) }
func (*RemoveNameResponse) ProtoMessage() {}
func (*RemoveNameResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{2}
}
func (m *RemoveNameResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoveNameResponse.Unmarshal(m, b)
}
func (m *RemoveNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RemoveNameResponse.Marshal(b, m, deterministic)
}
func (dst *RemoveNameResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_RemoveNameResponse.Merge(dst, src)
}
func (m *RemoveNameResponse) XXX_Size() int {
return xxx_messageInfo_RemoveNameResponse.Size(m)
}
func (m *RemoveNameResponse) XXX_DiscardUnknown() {
xxx_messageInfo_RemoveNameResponse.DiscardUnknown(m)
}
var xxx_messageInfo_RemoveNameResponse proto.InternalMessageInfo
type AddNameResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AddNameResponse) Reset() { *m = AddNameResponse{} }
func (m *AddNameResponse) String() string { return proto.CompactTextString(m) }
func (*AddNameResponse) ProtoMessage() {}
func (*AddNameResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{3}
}
func (m *AddNameResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddNameResponse.Unmarshal(m, b)
}
func (m *AddNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddNameResponse.Marshal(b, m, deterministic)
}
func (dst *AddNameResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddNameResponse.Merge(dst, src)
}
func (m *AddNameResponse) XXX_Size() int {
return xxx_messageInfo_AddNameResponse.Size(m)
}
func (m *AddNameResponse) XXX_DiscardUnknown() {
xxx_messageInfo_AddNameResponse.DiscardUnknown(m)
var xxx_messageInfo_AddNameResponse proto.InternalMessageInfo
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
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 (m *RemoveNameRequest) Reset() { *m = RemoveNameRequest{} }
func (m *RemoveNameRequest) String() string { return proto.CompactTextString(m) }
func (*RemoveNameRequest) ProtoMessage() {}
func (*RemoveNameRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{4}
}
func (m *RemoveNameRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoveNameRequest.Unmarshal(m, b)
}
func (m *RemoveNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RemoveNameRequest.Marshal(b, m, deterministic)
}
func (dst *RemoveNameRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RemoveNameRequest.Merge(dst, src)
}
func (m *RemoveNameRequest) XXX_Size() int {
return xxx_messageInfo_RemoveNameRequest.Size(m)
}
func (m *RemoveNameRequest) XXX_DiscardUnknown() {
xxx_messageInfo_RemoveNameRequest.DiscardUnknown(m)
}
var xxx_messageInfo_RemoveNameRequest proto.InternalMessageInfo
func (m *RemoveNameRequest) GetKeyname() string {
if m != nil {
return m.Keyname
}
return ""
}
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 (m *GenRequest) Reset() { *m = GenRequest{} }
func (m *GenRequest) String() string { return proto.CompactTextString(m) }
func (*GenRequest) ProtoMessage() {}
func (*GenRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{5}
}
func (m *GenRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GenRequest.Unmarshal(m, b)
}
func (m *GenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GenRequest.Marshal(b, m, deterministic)
}
func (dst *GenRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GenRequest.Merge(dst, src)
}
func (m *GenRequest) XXX_Size() int {
return xxx_messageInfo_GenRequest.Size(m)
}
func (m *GenRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GenRequest.DiscardUnknown(m)
func (m *GenRequest) GetPassphrase() string {
if m != nil {
return m.Passphrase
}
return ""
}
func (m *GenRequest) GetCurvetype() string {
if m != nil {
return m.Curvetype
}
return ""
}
func (m *GenRequest) GetKeyname() string {
if m != nil {
return m.Keyname
}
return ""
}
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 (m *GenResponse) Reset() { *m = GenResponse{} }
func (m *GenResponse) String() string { return proto.CompactTextString(m) }
func (*GenResponse) ProtoMessage() {}
func (*GenResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{6}
}
func (m *GenResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GenResponse.Unmarshal(m, b)
}
func (m *GenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GenResponse.Marshal(b, m, deterministic)
}
func (dst *GenResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GenResponse.Merge(dst, src)
}
func (m *GenResponse) XXX_Size() int {
return xxx_messageInfo_GenResponse.Size(m)
}
func (m *GenResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GenResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GenResponse proto.InternalMessageInfo
func (m *GenResponse) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
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 (m *PubRequest) Reset() { *m = PubRequest{} }
func (m *PubRequest) String() string { return proto.CompactTextString(m) }
func (*PubRequest) ProtoMessage() {}
func (*PubRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{7}
}
func (m *PubRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PubRequest.Unmarshal(m, b)
}
func (m *PubRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PubRequest.Marshal(b, m, deterministic)
}
func (dst *PubRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_PubRequest.Merge(dst, src)
}
func (m *PubRequest) XXX_Size() int {
return xxx_messageInfo_PubRequest.Size(m)
}
func (m *PubRequest) XXX_DiscardUnknown() {
xxx_messageInfo_PubRequest.DiscardUnknown(m)
}
var xxx_messageInfo_PubRequest proto.InternalMessageInfo
func (m *PubRequest) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *PubRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type PubResponse struct {
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
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 (m *PubResponse) Reset() { *m = PubResponse{} }
func (m *PubResponse) String() string { return proto.CompactTextString(m) }
func (*PubResponse) ProtoMessage() {}
func (*PubResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{8}
}
func (m *PubResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PubResponse.Unmarshal(m, b)
}
func (m *PubResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PubResponse.Marshal(b, m, deterministic)
}
func (dst *PubResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_PubResponse.Merge(dst, src)
}
func (m *PubResponse) XXX_Size() int {
return xxx_messageInfo_PubResponse.Size(m)
}
func (m *PubResponse) XXX_DiscardUnknown() {
xxx_messageInfo_PubResponse.DiscardUnknown(m)
var xxx_messageInfo_PubResponse proto.InternalMessageInfo
func (m *PubResponse) GetPub() []byte {
if m != nil {
return m.Pub
}
return nil
}
func (m *PubResponse) GetCurvetype() string {
if m != nil {
return m.Curvetype
}
return ""
}
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 (m *ImportJSONRequest) Reset() { *m = ImportJSONRequest{} }
func (m *ImportJSONRequest) String() string { return proto.CompactTextString(m) }
func (*ImportJSONRequest) ProtoMessage() {}
func (*ImportJSONRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{9}
}
func (m *ImportJSONRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportJSONRequest.Unmarshal(m, b)
}
func (m *ImportJSONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportJSONRequest.Marshal(b, m, deterministic)
}
func (dst *ImportJSONRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportJSONRequest.Merge(dst, src)
}
func (m *ImportJSONRequest) XXX_Size() int {
return xxx_messageInfo_ImportJSONRequest.Size(m)
}
func (m *ImportJSONRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ImportJSONRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ImportJSONRequest proto.InternalMessageInfo
func (m *ImportJSONRequest) GetPassphrase() string {
if m != nil {
return m.Passphrase
}
return ""
}
func (m *ImportJSONRequest) GetJSON() string {
if m != nil {
return m.JSON
}
return ""
}
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 (m *ImportResponse) Reset() { *m = ImportResponse{} }
func (m *ImportResponse) String() string { return proto.CompactTextString(m) }
func (*ImportResponse) ProtoMessage() {}
func (*ImportResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{10}
}
func (m *ImportResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportResponse.Unmarshal(m, b)
}
func (m *ImportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportResponse.Marshal(b, m, deterministic)
}
func (dst *ImportResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportResponse.Merge(dst, src)
}
func (m *ImportResponse) XXX_Size() int {
return xxx_messageInfo_ImportResponse.Size(m)
}
func (m *ImportResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ImportResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ImportResponse proto.InternalMessageInfo
func (m *ImportResponse) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
type ImportRequest struct {
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
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 (m *ImportRequest) Reset() { *m = ImportRequest{} }
func (m *ImportRequest) String() string { return proto.CompactTextString(m) }
func (*ImportRequest) ProtoMessage() {}
func (*ImportRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{11}
}
func (m *ImportRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportRequest.Unmarshal(m, b)
}
func (m *ImportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportRequest.Marshal(b, m, deterministic)
}
func (dst *ImportRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportRequest.Merge(dst, src)
}
func (m *ImportRequest) XXX_Size() int {
return xxx_messageInfo_ImportRequest.Size(m)
}
func (m *ImportRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ImportRequest.DiscardUnknown(m)
var xxx_messageInfo_ImportRequest proto.InternalMessageInfo
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
func (m *ImportRequest) GetPassphrase() string {
if m != nil {
return m.Passphrase
}
return ""
}
func (m *ImportRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ImportRequest) GetCurvetype() string {
if m != nil {
return m.Curvetype
}
return ""
}
func (m *ImportRequest) GetKeybytes() []byte {
if m != nil {
return m.Keybytes
}
return nil
}
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 (m *ExportRequest) Reset() { *m = ExportRequest{} }
func (m *ExportRequest) String() string { return proto.CompactTextString(m) }
func (*ExportRequest) ProtoMessage() {}
func (*ExportRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{12}
}
func (m *ExportRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExportRequest.Unmarshal(m, b)
}
func (m *ExportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExportRequest.Marshal(b, m, deterministic)
}
func (dst *ExportRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExportRequest.Merge(dst, src)
}
func (m *ExportRequest) XXX_Size() int {
return xxx_messageInfo_ExportRequest.Size(m)
}
func (m *ExportRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ExportRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ExportRequest proto.InternalMessageInfo
func (m *ExportRequest) GetPassphrase() string {
if m != nil {
return m.Passphrase
}
return ""
}
func (m *ExportRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ExportRequest) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
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 (m *ExportResponse) Reset() { *m = ExportResponse{} }
func (m *ExportResponse) String() string { return proto.CompactTextString(m) }
func (*ExportResponse) ProtoMessage() {}
func (*ExportResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{13}
}
func (m *ExportResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExportResponse.Unmarshal(m, b)
}
func (m *ExportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExportResponse.Marshal(b, m, deterministic)
}
func (dst *ExportResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExportResponse.Merge(dst, src)
}
func (m *ExportResponse) XXX_Size() int {
return xxx_messageInfo_ExportResponse.Size(m)
}
func (m *ExportResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ExportResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ExportResponse proto.InternalMessageInfo
func (m *ExportResponse) GetPublickey() []byte {
return m.Publickey
}
return nil
}
func (m *ExportResponse) GetPrivatekey() []byte {
if m != nil {
return m.Privatekey
}
return nil
}
func (m *ExportResponse) GetAddress() []byte {
if m != nil {
return m.Address
}
return nil
}
func (m *ExportResponse) GetCurvetype() string {
if m != nil {
return m.Curvetype
}
return ""
}
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 (m *SignRequest) Reset() { *m = SignRequest{} }
func (m *SignRequest) String() string { return proto.CompactTextString(m) }
func (*SignRequest) ProtoMessage() {}
func (*SignRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{14}
}
func (m *SignRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SignRequest.Unmarshal(m, b)
}
func (m *SignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SignRequest.Marshal(b, m, deterministic)
}
func (dst *SignRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SignRequest.Merge(dst, src)
}
func (m *SignRequest) XXX_Size() int {
return xxx_messageInfo_SignRequest.Size(m)
}
func (m *SignRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SignRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SignRequest proto.InternalMessageInfo
func (m *SignRequest) GetPassphrase() string {
if m != nil {
return m.Passphrase
}
return ""
}
func (m *SignRequest) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *SignRequest) GetName() string {
return m.Name
}
return ""
}
func (m *SignRequest) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
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 (m *SignResponse) Reset() { *m = SignResponse{} }
func (m *SignResponse) String() string { return proto.CompactTextString(m) }
func (*SignResponse) ProtoMessage() {}
func (*SignResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{15}
}
func (m *SignResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SignResponse.Unmarshal(m, b)
}
func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SignResponse.Marshal(b, m, deterministic)
}
func (dst *SignResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SignResponse.Merge(dst, src)
}
func (m *SignResponse) XXX_Size() int {
return xxx_messageInfo_SignResponse.Size(m)
}
func (m *SignResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SignResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SignResponse proto.InternalMessageInfo
func (m *SignResponse) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
func (m *SignResponse) GetCurvetype() string {
if m != nil {
return m.Curvetype
}
return ""
}
type VerifyRequest struct {
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
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 (m *VerifyRequest) Reset() { *m = VerifyRequest{} }
func (m *VerifyRequest) String() string { return proto.CompactTextString(m) }
func (*VerifyRequest) ProtoMessage() {}
func (*VerifyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{16}
}
func (m *VerifyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VerifyRequest.Unmarshal(m, b)
}
func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VerifyRequest.Marshal(b, m, deterministic)
}
func (dst *VerifyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_VerifyRequest.Merge(dst, src)
}
func (m *VerifyRequest) XXX_Size() int {
return xxx_messageInfo_VerifyRequest.Size(m)
}
func (m *VerifyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_VerifyRequest.DiscardUnknown(m)
var xxx_messageInfo_VerifyRequest proto.InternalMessageInfo
func (m *VerifyRequest) GetCurvetype() string {
if m != nil {
return m.Curvetype
}
return ""
}
func (m *VerifyRequest) GetPub() []byte {
if m != nil {
return m.Pub
}
return nil
}
func (m *VerifyRequest) GetMessage() []byte {
}
return nil
}
func (m *VerifyRequest) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
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 (m *HashRequest) Reset() { *m = HashRequest{} }
func (m *HashRequest) String() string { return proto.CompactTextString(m) }
func (*HashRequest) ProtoMessage() {}
func (*HashRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{17}
}
func (m *HashRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HashRequest.Unmarshal(m, b)
}
func (m *HashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HashRequest.Marshal(b, m, deterministic)
}
func (dst *HashRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_HashRequest.Merge(dst, src)
}
func (m *HashRequest) XXX_Size() int {
return xxx_messageInfo_HashRequest.Size(m)
}
func (m *HashRequest) XXX_DiscardUnknown() {
xxx_messageInfo_HashRequest.DiscardUnknown(m)
}
var xxx_messageInfo_HashRequest proto.InternalMessageInfo
func (m *HashRequest) GetHashtype() string {
if m != nil {
return m.Hashtype
}
return ""
}
func (m *HashRequest) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
type HashResponse struct {
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
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 (m *HashResponse) Reset() { *m = HashResponse{} }
func (m *HashResponse) String() string { return proto.CompactTextString(m) }
func (*HashResponse) ProtoMessage() {}
func (*HashResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{18}
}
func (m *HashResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HashResponse.Unmarshal(m, b)
}
func (m *HashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HashResponse.Marshal(b, m, deterministic)
}
func (dst *HashResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_HashResponse.Merge(dst, src)
}
func (m *HashResponse) XXX_Size() int {
return xxx_messageInfo_HashResponse.Size(m)
}
func (m *HashResponse) XXX_DiscardUnknown() {
xxx_messageInfo_HashResponse.DiscardUnknown(m)
var xxx_messageInfo_HashResponse proto.InternalMessageInfo
func (m *HashResponse) GetHash() string {
if m != nil {
return m.Hash
}
return ""
}
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 (m *Key) Reset() { *m = Key{} }
func (m *Key) String() string { return proto.CompactTextString(m) }
func (*Key) ProtoMessage() {}
func (*Key) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{19}
}
func (m *Key) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Key.Unmarshal(m, b)
}
func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Key.Marshal(b, m, deterministic)
}
func (dst *Key) XXX_Merge(src proto.Message) {
xxx_messageInfo_Key.Merge(dst, src)
}
func (m *Key) XXX_Size() int {
return xxx_messageInfo_Key.Size(m)
}
func (m *Key) XXX_DiscardUnknown() {
xxx_messageInfo_Key.DiscardUnknown(m)
}
var xxx_messageInfo_Key proto.InternalMessageInfo
func (m *Key) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *Key) GetKeyname() string {
if m != nil {
return m.Keyname
}
return ""
}
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 (m *ListResponse) Reset() { *m = ListResponse{} }
func (m *ListResponse) String() string { return proto.CompactTextString(m) }
func (*ListResponse) ProtoMessage() {}
func (*ListResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{20}
}
func (m *ListResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListResponse.Unmarshal(m, b)
}
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListResponse.Marshal(b, m, deterministic)
}
func (dst *ListResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListResponse.Merge(dst, src)
}
func (m *ListResponse) XXX_Size() int {
return xxx_messageInfo_ListResponse.Size(m)
}
func (m *ListResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListResponse proto.InternalMessageInfo
func (m *ListResponse) GetKey() []*Key {
if m != nil {
return m.Key
}
return nil
}
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 (m *AddNameRequest) Reset() { *m = AddNameRequest{} }
func (m *AddNameRequest) String() string { return proto.CompactTextString(m) }
func (*AddNameRequest) ProtoMessage() {}
func (*AddNameRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_keys_ff2cb7ec9ea3671c, []int{21}
}
func (m *AddNameRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddNameRequest.Unmarshal(m, b)
}
func (m *AddNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddNameRequest.Marshal(b, m, deterministic)
}
func (dst *AddNameRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddNameRequest.Merge(dst, src)
}
func (m *AddNameRequest) XXX_Size() int {
return xxx_messageInfo_AddNameRequest.Size(m)
}
func (m *AddNameRequest) XXX_DiscardUnknown() {
xxx_messageInfo_AddNameRequest.DiscardUnknown(m)
}
var xxx_messageInfo_AddNameRequest proto.InternalMessageInfo
func (m *AddNameRequest) GetKeyname() string {