Documentation
¶
Index ¶
- type ThresholdAgentService
- func (tas *ThresholdAgentService) Authenticate(ctx context.Context, ar *thresholdagent.AuthRequest) (*thresholdagent.AuthResponse, error)
- func (tas *ThresholdAgentService) DkgSchnorrRound1(ctx context.Context, round0 *thresholdagent.SchnorrRound0Msg) (*thresholdagent.SchnorrRound1Msg, error)
- func (tas *ThresholdAgentService) DkgSchnorrRound2(ctx context.Context, round1s *thresholdagent.SchnorrRound1MsgList) (*thresholdagent.SchnorrRound2MsgList, error)
- func (tas *ThresholdAgentService) DkgSchnorrRound3(ctx context.Context, round2s *thresholdagent.SchnorrRound2MsgList) (*thresholdagent.SchnorrRound3Msg, error)
- func (tas *ThresholdAgentService) DkgSchnorrRoundFinal(ctx context.Context, round2s *thresholdagent.ResultMsg) (*thresholdagent.ResultMsg, error)
- func (tas *ThresholdAgentService) Id() int32
- func (tas *ThresholdAgentService) SchnorrSignRound1(ctx context.Context, round0 *thresholdagent.SchnorrRound0Msg) (*thresholdagent.SchnorrRound1Msg, error)
- func (tas *ThresholdAgentService) SchnorrSignRound2(ctx context.Context, round1s *thresholdagent.SchnorrRound1MsgList) (*thresholdagent.SchnorrRound2MsgList, error)
- func (tas *ThresholdAgentService) SchnorrSignRound3(ctx context.Context, round2s *thresholdagent.SchnorrRound2MsgList) (*thresholdagent.SchnorrRound3Msg, error)
- func (tas *ThresholdAgentService) SchnorrSignRound4(ctx context.Context, round3s *thresholdagent.SchnorrRound3MsgList) (*thresholdagent.SchnorrSignature, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThresholdAgentService ¶
type ThresholdAgentService struct {
// contains filtered or unexported fields
}
func NewThresholdAgentService ¶
func NewThresholdAgentService(caCert *x509.Certificate, agentCerts map[int32]*x509.Certificate, agentKey *ecdsa.PrivateKey, keyShare *schnorr.CloverSchnorrShare) *ThresholdAgentService
func (*ThresholdAgentService) Authenticate ¶
func (tas *ThresholdAgentService) Authenticate(ctx context.Context, ar *thresholdagent.AuthRequest) (*thresholdagent.AuthResponse, error)
func (*ThresholdAgentService) DkgSchnorrRound1 ¶
func (tas *ThresholdAgentService) DkgSchnorrRound1(ctx context.Context, round0 *thresholdagent.SchnorrRound0Msg) (*thresholdagent.SchnorrRound1Msg, error)
func (*ThresholdAgentService) DkgSchnorrRound2 ¶
func (tas *ThresholdAgentService) DkgSchnorrRound2(ctx context.Context, round1s *thresholdagent.SchnorrRound1MsgList) (*thresholdagent.SchnorrRound2MsgList, error)
func (*ThresholdAgentService) DkgSchnorrRound3 ¶
func (tas *ThresholdAgentService) DkgSchnorrRound3(ctx context.Context, round2s *thresholdagent.SchnorrRound2MsgList) (*thresholdagent.SchnorrRound3Msg, error)
func (*ThresholdAgentService) DkgSchnorrRoundFinal ¶
func (tas *ThresholdAgentService) DkgSchnorrRoundFinal(ctx context.Context, round2s *thresholdagent.ResultMsg) (*thresholdagent.ResultMsg, error)
func (*ThresholdAgentService) Id ¶
func (tas *ThresholdAgentService) Id() int32
func (*ThresholdAgentService) SchnorrSignRound1 ¶
func (tas *ThresholdAgentService) SchnorrSignRound1(ctx context.Context, round0 *thresholdagent.SchnorrRound0Msg) (*thresholdagent.SchnorrRound1Msg, error)
func (*ThresholdAgentService) SchnorrSignRound2 ¶
func (tas *ThresholdAgentService) SchnorrSignRound2(ctx context.Context, round1s *thresholdagent.SchnorrRound1MsgList) (*thresholdagent.SchnorrRound2MsgList, error)
func (*ThresholdAgentService) SchnorrSignRound3 ¶
func (tas *ThresholdAgentService) SchnorrSignRound3(ctx context.Context, round2s *thresholdagent.SchnorrRound2MsgList) (*thresholdagent.SchnorrRound3Msg, error)
func (*ThresholdAgentService) SchnorrSignRound4 ¶
func (tas *ThresholdAgentService) SchnorrSignRound4(ctx context.Context, round3s *thresholdagent.SchnorrRound3MsgList) (*thresholdagent.SchnorrSignature, error)
Click to show internal directories.
Click to hide internal directories.