key

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CryptoKeyCreator

func CryptoKeyCreator(kt kms.KeyType) func(keyManager) (string, interface{}, error)

CryptoKeyCreator creates a new key of the given type using a given key manager, returning the key's ID and public key in one of the crypto.PublicKey formats.

func JWKKeyCreator

func JWKKeyCreator(kt kms.KeyType) func(keyManager) (string, *jwk.JWK, error)

JWKKeyCreator creates a new key of the given type using a given key manager, returning the key's ID and public key in JWK format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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