internal

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeygenEnc

func KeygenEnc(alg jose.KeyAlgorithm, bits int) (crypto.PublicKey, crypto.PrivateKey, error)

This method is copied directly from gopkg.in/square/go-jose.v2/jwk-keygen package.

KeygenEnc generates keypair for corresponding KeyAlgorithm.

func KeygenSig

func KeygenSig(alg jose.SignatureAlgorithm, bits int) (crypto.PublicKey, crypto.PrivateKey, error)

This method is copied directly from gopkg.in/square/go-jose.v2/jwk-keygen package.

KeygenSig generates keypair for corresponding SignatureAlgorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

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