key

package
v0.0.0-...-3c86fcf Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2015 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKey

func GenerateKey(keyType string, rsaBitLength int) interface{}

TODO: use struct for this so that we do not have unused arguments

func PublicKey

func PublicKey(privateKey interface{}) interface{}

func PublicKeyBitArray

func PublicKeyBitArray(pub interface{}) (publicKeyBytes []byte, err error)

func WritePrivateKeyToPemFile

func WritePrivateKeyToPemFile(key interface{}, fileName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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