signingutils

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertPrivateKeyToString

func ConvertPrivateKeyToString(privateKey *rsa.PrivateKey) string

func ConvertStringToPrivateKey

func ConvertStringToPrivateKey(key string) (*rsa.PrivateKey, error)

func SignToken

func SignToken(token string, privateKey *rsa.PrivateKey) ([]byte, error)

func VerifySigning

func VerifySigning(publicKey *rsa.PublicKey, token string, signature []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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