ssh

package
v0.0.0-...-ab6e412 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodePrivateKey

func EncodePrivateKey(privateKey *rsa.PrivateKey) []byte

func GeneratePrivateKey

func GeneratePrivateKey(bits int) (*rsa.PrivateKey, error)

func GeneratePublicKey

func GeneratePublicKey(privatekey *rsa.PublicKey) ([]byte, error)

func WriteKeyToFile

func WriteKeyToFile(key []byte, destination string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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