cryptox

package
v0.0.0-...-95765f3 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateJwkKeyPair

func GenerateJwkKeyPair() (jwk.Key, jwk.Key, error)

func GenerateJwkKeyPairFromPrivateKey

func GenerateJwkKeyPairFromPrivateKey(privateKey *rsa.PrivateKey) (jwk.Key, jwk.Key, error)

func GenerateRSAPrivateKey

func GenerateRSAPrivateKey(b []byte) (*rsa.PrivateKey, error)

func MarshalRSAPrivateKey

func MarshalRSAPrivateKey(key *rsa.PrivateKey) []byte

Types

type KeyOptions

type KeyOptions struct {
}

Jump to

Keyboard shortcuts

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