pki

package
v0.13.0-alpha.32 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodePrivateKey

func DecodePrivateKey(data []byte) (*rsa.PrivateKey, error)

func DecodePublicKey

func DecodePublicKey(data []byte) (*rsa.PublicKey, error)

func EncodePrivateKey

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

func EncodePublicKey

func EncodePublicKey(publicKey *rsa.PublicKey) ([]byte, error)

func GenerateKey

func GenerateKey() (*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