keys

package
v0.0.0-...-6397972 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RSAKey

type RSAKey struct {
	KeyName    string
	PrivateKey string
	PublicKey  string
}

func CreateRSAKey

func CreateRSAKey(name string, bits int) (RSAKey, error)

func FetchRSAKeyByName

func FetchRSAKeyByName(name string) (key RSAKey, err error)

func (RSAKey) Persist

func (key RSAKey) Persist()

func (RSAKey) PrivateKeySectionName

func (key RSAKey) PrivateKeySectionName() string

func (RSAKey) PublicKeySectionName

func (key RSAKey) PublicKeySectionName() string

func (RSAKey) String

func (key RSAKey) String() string

Jump to

Keyboard shortcuts

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