Documentation ¶
Index ¶
- Variables
- func LoadEllipticPublicKey(i interface{}) (*ec.PrivateKey, error)
- func LoadPrivateKeyTesting(i interface{}) (*rsa.PrivateKey, error)
- func LoadPublicKeyTesting(i interface{}) (*rsa.PublicKey, error)
- func NewContextTesting(i interface{}) (context.Context, context.CancelFunc)
- func SignRoundInfoEddsa(ri *pb.RoundInfo, key *ec.PrivateKey, i interface{}) error
- func SignRoundInfoRsa(ri *pb.RoundInfo, i interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ExampleJSON = `` /* 13990-byte string literal not displayed */ ExampleNDF = []byte(ExampleJSON) NDF, _ = ndf.Unmarshal(ExampleNDF) )
Functions ¶
func LoadEllipticPublicKey ¶
func LoadEllipticPublicKey(i interface{}) (*ec.PrivateKey, error)
func LoadPrivateKeyTesting ¶
func LoadPrivateKeyTesting(i interface{}) (*rsa.PrivateKey, error)
func LoadPublicKeyTesting ¶
func NewContextTesting ¶
func NewContextTesting(i interface{}) (context.Context, context.CancelFunc)
NewContextTesting constructs a context.Context object on the local Unix default domain (UDP) port
func SignRoundInfoEddsa ¶
func SignRoundInfoEddsa(ri *pb.RoundInfo, key *ec.PrivateKey, i interface{}) error
func SignRoundInfoRsa ¶
Utility function which signs a round info message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.