licenseutil

package
v0.0.0-...-e99cc0b Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

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