Documentation
¶
Overview ¶
Package key implements a keystore for managing encryption keys attached to files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DAO ¶
type DAO interface {
dao.DAO
InsertNode(nodeUuid string, nonce []byte, blockSize int32) error
DeleteNode(nodeUuid string) error
SetNodeKey(nodeUuid string, ownerId string, userId string, keyData []byte) error
GetNodeKey(node string, user string) (*encryption.NodeKey, error)
DeleteNodeKey(node string, user string) error
}
Source Files
¶
- dao.go
- sql.go
Click to show internal directories.
Click to hide internal directories.