keytypes

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenPrivKey

func GenPrivKey(keyType string) (crypto.PrivKey, error)

GenPrivKey generates a private key of the given type.

func IsSupported

func IsSupported(keyType string) bool

IsSupported returns true if the key type is supported.

func ListSupportedKeyTypes

func ListSupportedKeyTypes() []string

ListSupportedKeyTypes returns a list of supported key types.

func SupportedKeyTypesStr

func SupportedKeyTypesStr() string

SupportedKeyTypesStr returns a string of supported key types.

Types

This section is empty.

Jump to

Keyboard shortcuts

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