trustee

package
v0.0.0-...-46c9509 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trustee

type Trustee struct {
	Name      string
	PublicKey *rsa.PublicKey
	KeyShare  []byte
}

func (*Trustee) Export

func (t *Trustee) Export(cn, outPath string) error

Export encrypts and writes the encrypted key part to disk

func (*Trustee) Import

func (t *Trustee) Import(keypartPath, pkPath string) error

Import reads and decrypts the key part

Jump to

Keyboard shortcuts

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