Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnexpectedNil = errors.New("unexpected nil")
Functions ¶
func IsValidSessionDescriptor ¶
func IsValidSessionDescriptor(session SessionDescriptor) bool
func ValidateDKG ¶
func ValidateDKG(req DKGRequest, invalidSessionErr, localPartyErr, transportErr error) error
func ValidateSign ¶
func ValidateSign(req SignRequest, invalidSessionErr, localPartyErr, keyIDErr, digestErr, transportErr error) error
Types ¶
type DKGRequest ¶
type DKGRequest struct {
Session SessionDescriptor
LocalPartyID string
HasTransport bool
}
type SessionDescriptor ¶
type SignRequest ¶
type SignRequest struct {
Session SessionDescriptor
LocalPartyID string
Digest []byte
HasTransport bool
}
Click to show internal directories.
Click to hide internal directories.