keygen

package
v0.0.0-...-098adc7 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyGenerator

type KeyGenerator struct {
	RandReader io.Reader
}

func (*KeyGenerator) GenerateRSAKeyPair

func (k *KeyGenerator) GenerateRSAKeyPair(bits int) (pemEncodedPrivateKey string, authorizedKey string, err error)

func (*KeyGenerator) GenerateRSAPrivateKey

func (k *KeyGenerator) GenerateRSAPrivateKey(bits int) (string, error)

Jump to

Keyboard shortcuts

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