pb

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KVPair

type KVPair struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KVPair) Descriptor

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

func (*KVPair) GetKey

func (m *KVPair) GetKey() string

func (*KVPair) GetValue

func (m *KVPair) GetValue() string

func (*KVPair) ProtoMessage

func (*KVPair) ProtoMessage()

func (*KVPair) Reset

func (m *KVPair) Reset()

func (*KVPair) String

func (m *KVPair) String() string

func (*KVPair) XXX_DiscardUnknown

func (m *KVPair) XXX_DiscardUnknown()

func (*KVPair) XXX_Marshal

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

func (*KVPair) XXX_Merge

func (m *KVPair) XXX_Merge(src proto.Message)

func (*KVPair) XXX_Size

func (m *KVPair) XXX_Size() int

func (*KVPair) XXX_Unmarshal

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

type KVPairs

type KVPairs struct {
	Kv                   []*KVPair `protobuf:"bytes,1,rep,name=kv,proto3" json:"kv,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*KVPairs) Descriptor

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

func (*KVPairs) GetKv

func (m *KVPairs) GetKv() []*KVPair

func (*KVPairs) ProtoMessage

func (*KVPairs) ProtoMessage()

func (*KVPairs) Reset

func (m *KVPairs) Reset()

func (*KVPairs) String

func (m *KVPairs) String() string

func (*KVPairs) XXX_DiscardUnknown

func (m *KVPairs) XXX_DiscardUnknown()

func (*KVPairs) XXX_Marshal

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

func (*KVPairs) XXX_Merge

func (m *KVPairs) XXX_Merge(src proto.Message)

func (*KVPairs) XXX_Size

func (m *KVPairs) XXX_Size() int

func (*KVPairs) XXX_Unmarshal

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

type KeyGenOutputs

type KeyGenOutputs struct {
	PrivateKey           string   `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	PublicKey            string   `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyGenOutputs) Descriptor

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

func (*KeyGenOutputs) GetPrivateKey

func (m *KeyGenOutputs) GetPrivateKey() string

func (*KeyGenOutputs) GetPublicKey

func (m *KeyGenOutputs) GetPublicKey() string

func (*KeyGenOutputs) ProtoMessage

func (*KeyGenOutputs) ProtoMessage()

func (*KeyGenOutputs) Reset

func (m *KeyGenOutputs) Reset()

func (*KeyGenOutputs) String

func (m *KeyGenOutputs) String() string

func (*KeyGenOutputs) XXX_DiscardUnknown

func (m *KeyGenOutputs) XXX_DiscardUnknown()

func (*KeyGenOutputs) XXX_Marshal

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

func (*KeyGenOutputs) XXX_Merge

func (m *KeyGenOutputs) XXX_Merge(src proto.Message)

func (*KeyGenOutputs) XXX_Size

func (m *KeyGenOutputs) XXX_Size() int

func (*KeyGenOutputs) XXX_Unmarshal

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

type KeyGenParams

type KeyGenParams struct {
	Secbit               int64    `protobuf:"varint,1,opt,name=secbit,proto3" json:"secbit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

paillier encryption params and outputs

func (*KeyGenParams) Descriptor

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

func (*KeyGenParams) GetSecbit

func (m *KeyGenParams) GetSecbit() int64

func (*KeyGenParams) ProtoMessage

func (*KeyGenParams) ProtoMessage()

func (*KeyGenParams) Reset

func (m *KeyGenParams) Reset()

func (*KeyGenParams) String

func (m *KeyGenParams) String() string

func (*KeyGenParams) XXX_DiscardUnknown

func (m *KeyGenParams) XXX_DiscardUnknown()

func (*KeyGenParams) XXX_Marshal

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

func (*KeyGenParams) XXX_Merge

func (m *KeyGenParams) XXX_Merge(src proto.Message)

func (*KeyGenParams) XXX_Size

func (m *KeyGenParams) XXX_Size() int

func (*KeyGenParams) XXX_Unmarshal

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

type PaillierDecOutputs

type PaillierDecOutputs struct {
	Plaintext            uint64   `protobuf:"varint,1,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PaillierDecOutputs) Descriptor

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

func (*PaillierDecOutputs) GetPlaintext

func (m *PaillierDecOutputs) GetPlaintext() uint64

func (*PaillierDecOutputs) ProtoMessage

func (*PaillierDecOutputs) ProtoMessage()

func (*PaillierDecOutputs) Reset

func (m *PaillierDecOutputs) Reset()

func (*PaillierDecOutputs) String

func (m *PaillierDecOutputs) String() string

func (*PaillierDecOutputs) XXX_DiscardUnknown

func (m *PaillierDecOutputs) XXX_DiscardUnknown()

func (*PaillierDecOutputs) XXX_Marshal

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

func (*PaillierDecOutputs) XXX_Merge

func (m *PaillierDecOutputs) XXX_Merge(src proto.Message)

func (*PaillierDecOutputs) XXX_Size

func (m *PaillierDecOutputs) XXX_Size() int

func (*PaillierDecOutputs) XXX_Unmarshal

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

type PaillierDecParams

type PaillierDecParams struct {
	Ciphertext           string   `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	PublicKey            string   `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	PrivateKey           string   `protobuf:"bytes,3,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PaillierDecParams) Descriptor

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

func (*PaillierDecParams) GetCiphertext

func (m *PaillierDecParams) GetCiphertext() string

func (*PaillierDecParams) GetPrivateKey

func (m *PaillierDecParams) GetPrivateKey() string

func (*PaillierDecParams) GetPublicKey

func (m *PaillierDecParams) GetPublicKey() string

func (*PaillierDecParams) ProtoMessage

func (*PaillierDecParams) ProtoMessage()

func (*PaillierDecParams) Reset

func (m *PaillierDecParams) Reset()

func (*PaillierDecParams) String

func (m *PaillierDecParams) String() string

func (*PaillierDecParams) XXX_DiscardUnknown

func (m *PaillierDecParams) XXX_DiscardUnknown()

func (*PaillierDecParams) XXX_Marshal

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

func (*PaillierDecParams) XXX_Merge

func (m *PaillierDecParams) XXX_Merge(src proto.Message)

func (*PaillierDecParams) XXX_Size

func (m *PaillierDecParams) XXX_Size() int

func (*PaillierDecParams) XXX_Unmarshal

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

type PaillierEncOutputs

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

func (*PaillierEncOutputs) Descriptor

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

func (*PaillierEncOutputs) GetCiphertext

func (m *PaillierEncOutputs) GetCiphertext() string

func (*PaillierEncOutputs) ProtoMessage

func (*PaillierEncOutputs) ProtoMessage()

func (*PaillierEncOutputs) Reset

func (m *PaillierEncOutputs) Reset()

func (*PaillierEncOutputs) String

func (m *PaillierEncOutputs) String() string

func (*PaillierEncOutputs) XXX_DiscardUnknown

func (m *PaillierEncOutputs) XXX_DiscardUnknown()

func (*PaillierEncOutputs) XXX_Marshal

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

func (*PaillierEncOutputs) XXX_Merge

func (m *PaillierEncOutputs) XXX_Merge(src proto.Message)

func (*PaillierEncOutputs) XXX_Size

func (m *PaillierEncOutputs) XXX_Size() int

func (*PaillierEncOutputs) XXX_Unmarshal

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

type PaillierEncParams

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

func (*PaillierEncParams) Descriptor

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

func (*PaillierEncParams) GetMessage

func (m *PaillierEncParams) GetMessage() string

func (*PaillierEncParams) GetPublicKey

func (m *PaillierEncParams) GetPublicKey() string

func (*PaillierEncParams) ProtoMessage

func (*PaillierEncParams) ProtoMessage()

func (*PaillierEncParams) Reset

func (m *PaillierEncParams) Reset()

func (*PaillierEncParams) String

func (m *PaillierEncParams) String() string

func (*PaillierEncParams) XXX_DiscardUnknown

func (m *PaillierEncParams) XXX_DiscardUnknown()

func (*PaillierEncParams) XXX_Marshal

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

func (*PaillierEncParams) XXX_Merge

func (m *PaillierEncParams) XXX_Merge(src proto.Message)

func (*PaillierEncParams) XXX_Size

func (m *PaillierEncParams) XXX_Size() int

func (*PaillierEncParams) XXX_Unmarshal

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

type PaillierExpOutputs

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

func (*PaillierExpOutputs) Descriptor

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

func (*PaillierExpOutputs) GetCiphertext

func (m *PaillierExpOutputs) GetCiphertext() string

func (*PaillierExpOutputs) ProtoMessage

func (*PaillierExpOutputs) ProtoMessage()

func (*PaillierExpOutputs) Reset

func (m *PaillierExpOutputs) Reset()

func (*PaillierExpOutputs) String

func (m *PaillierExpOutputs) String() string

func (*PaillierExpOutputs) XXX_DiscardUnknown

func (m *PaillierExpOutputs) XXX_DiscardUnknown()

func (*PaillierExpOutputs) XXX_Marshal

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

func (*PaillierExpOutputs) XXX_Merge

func (m *PaillierExpOutputs) XXX_Merge(src proto.Message)

func (*PaillierExpOutputs) XXX_Size

func (m *PaillierExpOutputs) XXX_Size() int

func (*PaillierExpOutputs) XXX_Unmarshal

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

type PaillierExpParams

type PaillierExpParams struct {
	PublicKey            string   `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	Ciphertext           string   `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	Commitment           string   `protobuf:"bytes,3,opt,name=commitment,proto3" json:"commitment,omitempty"`
	Scalar               string   `protobuf:"bytes,4,opt,name=scalar,proto3" json:"scalar,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PaillierExpParams) Descriptor

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

func (*PaillierExpParams) GetCiphertext

func (m *PaillierExpParams) GetCiphertext() string

func (*PaillierExpParams) GetCommitment added in v0.0.3

func (m *PaillierExpParams) GetCommitment() string

func (*PaillierExpParams) GetPublicKey

func (m *PaillierExpParams) GetPublicKey() string

func (*PaillierExpParams) GetScalar

func (m *PaillierExpParams) GetScalar() string

func (*PaillierExpParams) ProtoMessage

func (*PaillierExpParams) ProtoMessage()

func (*PaillierExpParams) Reset

func (m *PaillierExpParams) Reset()

func (*PaillierExpParams) String

func (m *PaillierExpParams) String() string

func (*PaillierExpParams) XXX_DiscardUnknown

func (m *PaillierExpParams) XXX_DiscardUnknown()

func (*PaillierExpParams) XXX_Marshal

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

func (*PaillierExpParams) XXX_Merge

func (m *PaillierExpParams) XXX_Merge(src proto.Message)

func (*PaillierExpParams) XXX_Size

func (m *PaillierExpParams) XXX_Size() int

func (*PaillierExpParams) XXX_Unmarshal

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

type PaillierMulOutputs

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

func (*PaillierMulOutputs) Descriptor

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

func (*PaillierMulOutputs) GetCiphertext

func (m *PaillierMulOutputs) GetCiphertext() string

func (*PaillierMulOutputs) ProtoMessage

func (*PaillierMulOutputs) ProtoMessage()

func (*PaillierMulOutputs) Reset

func (m *PaillierMulOutputs) Reset()

func (*PaillierMulOutputs) String

func (m *PaillierMulOutputs) String() string

func (*PaillierMulOutputs) XXX_DiscardUnknown

func (m *PaillierMulOutputs) XXX_DiscardUnknown()

func (*PaillierMulOutputs) XXX_Marshal

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

func (*PaillierMulOutputs) XXX_Merge

func (m *PaillierMulOutputs) XXX_Merge(src proto.Message)

func (*PaillierMulOutputs) XXX_Size

func (m *PaillierMulOutputs) XXX_Size() int

func (*PaillierMulOutputs) XXX_Unmarshal

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

type PaillierMulParams

type PaillierMulParams struct {
	PublicKey            string   `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	Ciphertext1          string   `protobuf:"bytes,2,opt,name=ciphertext1,proto3" json:"ciphertext1,omitempty"`
	Ciphertext2          string   `protobuf:"bytes,3,opt,name=ciphertext2,proto3" json:"ciphertext2,omitempty"`
	Commitment1          string   `protobuf:"bytes,4,opt,name=commitment1,proto3" json:"commitment1,omitempty"`
	Commitment2          string   `protobuf:"bytes,5,opt,name=commitment2,proto3" json:"commitment2,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PaillierMulParams) Descriptor

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

func (*PaillierMulParams) GetCiphertext1

func (m *PaillierMulParams) GetCiphertext1() string

func (*PaillierMulParams) GetCiphertext2

func (m *PaillierMulParams) GetCiphertext2() string

func (*PaillierMulParams) GetCommitment1 added in v0.0.3

func (m *PaillierMulParams) GetCommitment1() string

func (*PaillierMulParams) GetCommitment2 added in v0.0.3

func (m *PaillierMulParams) GetCommitment2() string

func (*PaillierMulParams) GetPublicKey

func (m *PaillierMulParams) GetPublicKey() string

func (*PaillierMulParams) ProtoMessage

func (*PaillierMulParams) ProtoMessage()

func (*PaillierMulParams) Reset

func (m *PaillierMulParams) Reset()

func (*PaillierMulParams) String

func (m *PaillierMulParams) String() string

func (*PaillierMulParams) XXX_DiscardUnknown

func (m *PaillierMulParams) XXX_DiscardUnknown()

func (*PaillierMulParams) XXX_Marshal

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

func (*PaillierMulParams) XXX_Merge

func (m *PaillierMulParams) XXX_Merge(src proto.Message)

func (*PaillierMulParams) XXX_Size

func (m *PaillierMulParams) XXX_Size() int

func (*PaillierMulParams) XXX_Unmarshal

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

type SyscallHeader

type SyscallHeader struct {
	Ctxid                int64    `protobuf:"varint,1,opt,name=ctxid,proto3" json:"ctxid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SyscallHeader) Descriptor

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

func (*SyscallHeader) GetCtxid

func (m *SyscallHeader) GetCtxid() int64

func (*SyscallHeader) ProtoMessage

func (*SyscallHeader) ProtoMessage()

func (*SyscallHeader) Reset

func (m *SyscallHeader) Reset()

func (*SyscallHeader) String

func (m *SyscallHeader) String() string

func (*SyscallHeader) XXX_DiscardUnknown

func (m *SyscallHeader) XXX_DiscardUnknown()

func (*SyscallHeader) XXX_Marshal

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

func (*SyscallHeader) XXX_Merge

func (m *SyscallHeader) XXX_Merge(src proto.Message)

func (*SyscallHeader) XXX_Size

func (m *SyscallHeader) XXX_Size() int

func (*SyscallHeader) XXX_Unmarshal

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

type TrustFunctionCallRequest

type TrustFunctionCallRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Method               string         `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Args                 string         `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"`
	Address              string         `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	PublicKey            string         `protobuf:"bytes,5,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	Signature            string         `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*TrustFunctionCallRequest) Descriptor

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

func (*TrustFunctionCallRequest) GetAddress

func (m *TrustFunctionCallRequest) GetAddress() string

func (*TrustFunctionCallRequest) GetArgs

func (m *TrustFunctionCallRequest) GetArgs() string

func (*TrustFunctionCallRequest) GetHeader

func (m *TrustFunctionCallRequest) GetHeader() *SyscallHeader

func (*TrustFunctionCallRequest) GetMethod

func (m *TrustFunctionCallRequest) GetMethod() string

func (*TrustFunctionCallRequest) GetPublicKey

func (m *TrustFunctionCallRequest) GetPublicKey() string

func (*TrustFunctionCallRequest) GetSignature

func (m *TrustFunctionCallRequest) GetSignature() string

func (*TrustFunctionCallRequest) ProtoMessage

func (*TrustFunctionCallRequest) ProtoMessage()

func (*TrustFunctionCallRequest) Reset

func (m *TrustFunctionCallRequest) Reset()

func (*TrustFunctionCallRequest) String

func (m *TrustFunctionCallRequest) String() string

func (*TrustFunctionCallRequest) XXX_DiscardUnknown

func (m *TrustFunctionCallRequest) XXX_DiscardUnknown()

func (*TrustFunctionCallRequest) XXX_Marshal

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

func (*TrustFunctionCallRequest) XXX_Merge

func (m *TrustFunctionCallRequest) XXX_Merge(src proto.Message)

func (*TrustFunctionCallRequest) XXX_Size

func (m *TrustFunctionCallRequest) XXX_Size() int

func (*TrustFunctionCallRequest) XXX_Unmarshal

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

type TrustFunctionCallResponse

type TrustFunctionCallResponse struct {
	// Types that are valid to be assigned to Results:
	//	*TrustFunctionCallResponse_Plaintext
	//	*TrustFunctionCallResponse_Kvs
	Results              isTrustFunctionCallResponse_Results `protobuf_oneof:"results"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

result of trust call must return a key-value array, key is plain, and value is cipher, then be persisted by put_object.

func (*TrustFunctionCallResponse) Descriptor

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

func (*TrustFunctionCallResponse) GetKvs

func (m *TrustFunctionCallResponse) GetKvs() *KVPairs

func (*TrustFunctionCallResponse) GetPlaintext

func (m *TrustFunctionCallResponse) GetPlaintext() string

func (*TrustFunctionCallResponse) GetResults

func (m *TrustFunctionCallResponse) GetResults() isTrustFunctionCallResponse_Results

func (*TrustFunctionCallResponse) ProtoMessage

func (*TrustFunctionCallResponse) ProtoMessage()

func (*TrustFunctionCallResponse) Reset

func (m *TrustFunctionCallResponse) Reset()

func (*TrustFunctionCallResponse) String

func (m *TrustFunctionCallResponse) String() string

func (*TrustFunctionCallResponse) XXX_DiscardUnknown

func (m *TrustFunctionCallResponse) XXX_DiscardUnknown()

func (*TrustFunctionCallResponse) XXX_Marshal

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

func (*TrustFunctionCallResponse) XXX_Merge

func (m *TrustFunctionCallResponse) XXX_Merge(src proto.Message)

func (*TrustFunctionCallResponse) XXX_OneofWrappers

func (*TrustFunctionCallResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TrustFunctionCallResponse) XXX_Size

func (m *TrustFunctionCallResponse) XXX_Size() int

func (*TrustFunctionCallResponse) XXX_Unmarshal

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

type TrustFunctionCallResponse_Kvs

type TrustFunctionCallResponse_Kvs struct {
	Kvs *KVPairs `protobuf:"bytes,3,opt,name=kvs,proto3,oneof"`
}

type TrustFunctionCallResponse_Plaintext

type TrustFunctionCallResponse_Plaintext struct {
	Plaintext string `protobuf:"bytes,2,opt,name=plaintext,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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