pb

package
v1.1.1-rc Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type DKGResultHashSignature

type DKGResultHashSignature struct {
	SenderIndex uint32 `protobuf:"varint,1,opt,name=senderIndex,proto3" json:"senderIndex,omitempty"`
	ResultHash  []byte `protobuf:"bytes,2,opt,name=resultHash,proto3" json:"resultHash,omitempty"`
	Signature   []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	PublicKey   []byte `protobuf:"bytes,4,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
}

DKGResultHashSignature contains a marshalled hash of the DKG result preferred by the sender, as well as a marshalled signature over this hash and sender's public key which can be used to verify the signature.

func (*DKGResultHashSignature) Descriptor

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

func (*DKGResultHashSignature) Equal

func (this *DKGResultHashSignature) Equal(that interface{}) bool

func (*DKGResultHashSignature) GetPublicKey

func (m *DKGResultHashSignature) GetPublicKey() []byte

func (*DKGResultHashSignature) GetResultHash

func (m *DKGResultHashSignature) GetResultHash() []byte

func (*DKGResultHashSignature) GetSenderIndex

func (m *DKGResultHashSignature) GetSenderIndex() uint32

func (*DKGResultHashSignature) GetSignature

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

func (*DKGResultHashSignature) GoString

func (this *DKGResultHashSignature) GoString() string

func (*DKGResultHashSignature) Marshal

func (m *DKGResultHashSignature) Marshal() (dAtA []byte, err error)

func (*DKGResultHashSignature) MarshalTo

func (m *DKGResultHashSignature) MarshalTo(dAtA []byte) (int, error)

func (*DKGResultHashSignature) MarshalToSizedBuffer

func (m *DKGResultHashSignature) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DKGResultHashSignature) ProtoMessage

func (*DKGResultHashSignature) ProtoMessage()

func (*DKGResultHashSignature) Reset

func (m *DKGResultHashSignature) Reset()

func (*DKGResultHashSignature) Size

func (m *DKGResultHashSignature) Size() (n int)

func (*DKGResultHashSignature) String

func (this *DKGResultHashSignature) String() string

func (*DKGResultHashSignature) Unmarshal

func (m *DKGResultHashSignature) Unmarshal(dAtA []byte) error

func (*DKGResultHashSignature) XXX_DiscardUnknown

func (m *DKGResultHashSignature) XXX_DiscardUnknown()

func (*DKGResultHashSignature) XXX_Marshal

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

func (*DKGResultHashSignature) XXX_Merge

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

func (*DKGResultHashSignature) XXX_Size

func (m *DKGResultHashSignature) XXX_Size() int

func (*DKGResultHashSignature) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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