keypair

package module
v0.0.0-...-03a70fa Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRSAKeypair

func GenerateRSAKeypair() (*rsa.PrivateKey, error)

func GetRSAPublicKey

func GetRSAPublicKey(privateKeyPath string) (*rsa.PublicKey, error)

func ParseRSAPrivateKey

func ParseRSAPrivateKey(privateKeyPath string) (*rsa.PrivateKey, error)

func SaveRSAKey

func SaveRSAKey(privateKey *rsa.PrivateKey) (privateKeyBuffer *bytes.Buffer, err error)

func UnmarshalRSAPrivateKey

func UnmarshalRSAPrivateKey(privateKey []byte) (*rsa.PrivateKey, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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