service

package
v0.0.0-...-ab61f1e Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceName = "SignerService"
View Source
const (
	UID string = "signer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BDNSignReply

type BDNSignReply struct {
	Receipts map[string]*core.OpcodeReceipt
}

type BDNSignRequest

type BDNSignRequest struct {
	Roster     *onet.Roster
	OutputData map[string][]byte
	ExecReq    *core.ExecutionRequest
}

type BLSSignReply

type BLSSignReply struct {
	Receipts map[string]*core.OpcodeReceipt
}

type BLSSignRequest

type BLSSignRequest struct {
	Roster     *onet.Roster
	OutputData map[string][]byte
	ExecReq    *core.ExecutionRequest
}

type Signer

type Signer struct {
	*onet.ServiceProcessor
	// contains filtered or unexported fields
}

func (*Signer) BDNSign

func (s *Signer) BDNSign(req *BDNSignRequest) (*BDNSignReply, error)

func (*Signer) BLSSign

func (s *Signer) BLSSign(req *BLSSignRequest) (*BLSSignReply, error)

func (*Signer) NewProtocol

func (s *Signer) NewProtocol(tn *onet.TreeNodeInstance, conf *onet.GenericConfig) (onet.ProtocolInstance, error)

Jump to

Keyboard shortcuts

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