pb

package
v0.0.0-...-369a1d7 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_beacon_dkg_result_gen_pb_message_proto protoreflect.FileDescriptor

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"`
	SessionID   string `protobuf:"bytes,5,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use DKGResultHashSignature.ProtoReflect.Descriptor instead.

func (*DKGResultHashSignature) GetPublicKey

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

func (*DKGResultHashSignature) GetResultHash

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

func (*DKGResultHashSignature) GetSenderIndex

func (x *DKGResultHashSignature) GetSenderIndex() uint32

func (*DKGResultHashSignature) GetSessionID

func (x *DKGResultHashSignature) GetSessionID() string

func (*DKGResultHashSignature) GetSignature

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

func (*DKGResultHashSignature) ProtoMessage

func (*DKGResultHashSignature) ProtoMessage()

func (*DKGResultHashSignature) ProtoReflect

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

func (*DKGResultHashSignature) Reset

func (x *DKGResultHashSignature) Reset()

func (*DKGResultHashSignature) String

func (x *DKGResultHashSignature) String() string

Jump to

Keyboard shortcuts

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