key

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2018 License: AGPL-3.0 Imports: 9 Imported by: 0

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

func NewDAO

func NewDAO(o dao.DAO) dao.DAO

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
	DeleteNodeSharedKey(node string, ownerId string, userId string) error
	DeleteNodeAllSharedKey(node string, ownerId string) error
}

Directories

Path Synopsis
Package grpc provides a pydio GRPC service for managing files encryption keys
Package grpc provides a pydio GRPC service for managing files encryption keys

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL