key

package
v0.0.0-...-7b7c10a Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CryptoKeyCreator

func CryptoKeyCreator(kt kms.KeyType) func(kms.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(kms.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