keygen

package
v0.14.0-rc.7 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPemDecode = errors.New("PEM decode error")

Functions

func EncodePublicKeyToPem

func EncodePublicKeyToPem(key *rsa.PublicKey) []byte

func GeneratePrivateKey

func GeneratePrivateKey(filename string) error

func ReadPublicKey

func ReadPublicKey(filename string) (*rsa.PublicKey, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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