Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileStore ¶
NewFileStore creates a new identity store
Types ¶
type NodeIdentity ¶
type NodeIdentity struct {
NodeName string `json:"node_name"`
NodeID string `json:"node_id"`
PublicKey string `json:"public_key"`
CreatedAt string `json:"created_at"`
}
NodeIdentity represents a node's identity information
type Store ¶
type Store interface {
// GetPublicKey retrieves a node's public key by its ID
GetPublicKey(nodeID string) ([]byte, error)
VerifyInitiatorMessage(msg types.InitiatorMessage) error
SignMessage(msg *types.TssMessage) ([]byte, error)
VerifyMessage(msg *types.TssMessage) error
}
Store manages node identities
Click to show internal directories.
Click to hide internal directories.