Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProtocolMessageABORT = utils.ProtocolMessage{Message: utils.ProtocolMessageTypeABORT}
View Source
var ProtocolMessageERROR = utils.ProtocolMessage{Message: utils.ProtocolMessageTypeERROR}
View Source
var ProtocolMessageOK = utils.ProtocolMessage{Message: utils.ProtocolMessageTypeOK}
View Source
var ProtocolMessageRESTART = utils.ProtocolMessage{Message: utils.ProtocolMessageTypeRESTART}
Functions ¶
func Sign ¶
func Sign(wg *sync.WaitGroup, comms utils.Comms, pk utils.TopcoatPublicKey, skMine utils.TopcoatPrivateKeyShare, message []byte, name string, ret chan utils.TopcoatSignature)
func Verify ¶
func Verify(message []byte, signature utils.TopcoatSignature, pk utils.TopcoatPublicKey) bool
Types ¶
type KeygenResult ¶
type KeygenResult struct { Pk utils.TopcoatPublicKey Sk utils.TopcoatPrivateKeyShare }
Click to show internal directories.
Click to hide internal directories.