licenseutil

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2018 License: BSD-3-Clause Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodePrivateKey

func DecodePrivateKey(data []byte) (ed25519.PrivateKey, error)

DecodePrivateKey decodes a base64-encoded private key.

func DecodePublicKey

func DecodePublicKey(data []byte) (ed25519.PublicKey, error)

DecodePublicKey decodes a base64-encoded private key.

func ReadPrivateKey

func ReadPrivateKey(path string) (ed25519.PrivateKey, error)

ReadPrivateKey reads a base64-encoded private key file.

func ReadPublicKey

func ReadPublicKey(path string) (ed25519.PublicKey, error)

ReadPublicKey reads a base64-encoded public key file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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