Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func NewNode ¶
func NewNode(nodeconfig config.NodeConfig) *Node
func (*Node) GetKeyManager ¶
func (n *Node) GetKeyManager() *smanager.KeyManager
func (*Node) GetSecretDB ¶
type SecretDb ¶
type SecretDb struct { PK string `json:"priv-key"` // contains filtered or unexported fields }
func CreateWithHexkey ¶
func GenerateDB ¶
func (SecretDb) PrivateKey ¶
func (s SecretDb) PrivateKey() *ecies.PrivateKey
Click to show internal directories.
Click to hide internal directories.