Documentation ¶
Index ¶
- Variables
- type BodyCommit
- type BodyResult
- type BodyVerify
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (m *Message) GetBody() isMessage_Body
- func (x *Message) GetCommit() *BodyCommit
- func (x *Message) GetId() string
- func (m *Message) GetMessageType() types.MessageType
- func (x *Message) GetResult() *BodyResult
- func (x *Message) GetType() Type
- func (x *Message) GetVerify() *BodyVerify
- func (m *Message) IsValid() bool
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_Commit
- type Message_Result
- type Message_Verify
- type Reshare
- type Result
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Type_name = map[int32]string{ 0: "Commit", 1: "Verify", 2: "Result", } Type_value = map[string]int32{ "Commit": 0, "Verify": 1, "Result": 2, } )
Enum value maps for Type.
Functions ¶
This section is empty.
Types ¶
type BodyCommit ¶
type BodyCommit struct { PointCommitment *commitment.PointCommitmentMessage `protobuf:"bytes,1,opt,name=pointCommitment,proto3" json:"pointCommitment,omitempty"` // contains filtered or unexported fields }
func (*BodyCommit) Descriptor
deprecated
func (*BodyCommit) Descriptor() ([]byte, []int)
Deprecated: Use BodyCommit.ProtoReflect.Descriptor instead.
func (*BodyCommit) GetPointCommitment ¶
func (x *BodyCommit) GetPointCommitment() *commitment.PointCommitmentMessage
func (*BodyCommit) ProtoMessage ¶
func (*BodyCommit) ProtoMessage()
func (*BodyCommit) ProtoReflect ¶
func (x *BodyCommit) ProtoReflect() protoreflect.Message
func (*BodyCommit) Reset ¶
func (x *BodyCommit) Reset()
func (*BodyCommit) String ¶
func (x *BodyCommit) String() string
type BodyResult ¶
type BodyResult struct { SiGProofMsg *zkproof.SchnorrProofMessage `protobuf:"bytes,1,opt,name=siGProofMsg,proto3" json:"siGProofMsg,omitempty"` // contains filtered or unexported fields }
func (*BodyResult) Descriptor
deprecated
func (*BodyResult) Descriptor() ([]byte, []int)
Deprecated: Use BodyResult.ProtoReflect.Descriptor instead.
func (*BodyResult) GetSiGProofMsg ¶
func (x *BodyResult) GetSiGProofMsg() *zkproof.SchnorrProofMessage
func (*BodyResult) ProtoMessage ¶
func (*BodyResult) ProtoMessage()
func (*BodyResult) ProtoReflect ¶
func (x *BodyResult) ProtoReflect() protoreflect.Message
func (*BodyResult) Reset ¶
func (x *BodyResult) Reset()
func (*BodyResult) String ¶
func (x *BodyResult) String() string
type BodyVerify ¶
type BodyVerify struct { Verify *commitment.FeldmanVerifyMessage `protobuf:"bytes,1,opt,name=verify,proto3" json:"verify,omitempty"` // contains filtered or unexported fields }
func (*BodyVerify) Descriptor
deprecated
func (*BodyVerify) Descriptor() ([]byte, []int)
Deprecated: Use BodyVerify.ProtoReflect.Descriptor instead.
func (*BodyVerify) GetVerify ¶
func (x *BodyVerify) GetVerify() *commitment.FeldmanVerifyMessage
func (*BodyVerify) ProtoMessage ¶
func (*BodyVerify) ProtoMessage()
func (*BodyVerify) ProtoReflect ¶
func (x *BodyVerify) ProtoReflect() protoreflect.Message
func (*BodyVerify) Reset ¶
func (x *BodyVerify) Reset()
func (*BodyVerify) String ¶
func (x *BodyVerify) String() string
type Message ¶
type Message struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=getamis.alice.crypto.tss.ecdsa.gg18.reshare.Type" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Types that are assignable to Body: // *Message_Commit // *Message_Verify // *Message_Result Body isMessage_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetCommit ¶
func (x *Message) GetCommit() *BodyCommit
func (*Message) GetMessageType ¶
func (m *Message) GetMessageType() types.MessageType
func (*Message) GetResult ¶
func (x *Message) GetResult() *BodyResult
func (*Message) GetVerify ¶
func (x *Message) GetVerify() *BodyVerify
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Message_Commit ¶
type Message_Commit struct {
Commit *BodyCommit `protobuf:"bytes,3,opt,name=commit,proto3,oneof"`
}
type Message_Result ¶
type Message_Result struct {
Result *BodyResult `protobuf:"bytes,5,opt,name=result,proto3,oneof"`
}
type Message_Verify ¶
type Message_Verify struct {
Verify *BodyVerify `protobuf:"bytes,4,opt,name=verify,proto3,oneof"`
}
type Reshare ¶
type Reshare struct { // contains filtered or unexported fields }
func NewReshare ¶
func NewReshare(peerManager types.PeerManager, threshold uint32, publicKey *ecpointgrouplaw.ECPoint, oldShare *big.Int, bks map[string]*birkhoffinterpolation.BkParameter, listener types.StateChangedListener) (*Reshare, error)
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.