Documentation ¶
Index ¶
- Variables
- func CreateKeys() error
- func GetKeys() (ed25519.PublicKey, ed25519.PrivateKey, error)
- func GetPrvKey() (ed25519.PrivateKey, error)
- func GetPubKey() (ed25519.PublicKey, error)
- func KeysExists() bool
- func SignContent(content []byte) ([]byte, error)
- func SignFile(file string) ([]byte, []byte, error)
- func SignFiles(files []string) (map[string][][]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrKeysExist = errors.New("The key pair already exists") ErrNoKeys = errors.New("The key pair does not exists") )
Functions ¶
func CreateKeys ¶
func CreateKeys() error
func GetPrvKey ¶
func GetPrvKey() (ed25519.PrivateKey, error)
func KeysExists ¶
func KeysExists() bool
func SignContent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.