key

package
v0.0.0-...-c14f49d Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRSAPrivateKey

func CreateRSAPrivateKey(n int) (*rsa.PrivateKey, error)

func CreateRSAPrivateKeyAndSave

func CreateRSAPrivateKeyAndSave(path string, n int) error

func PrivateKeyPemToRSA

func PrivateKeyPemToRSA(input []byte) (*rsa.PrivateKey, error)

func RSAPrivateKeyToPem

func RSAPrivateKeyToPem(privateKey *rsa.PrivateKey) *pem.Block

Types

This section is empty.

Jump to

Keyboard shortcuts

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