sign

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRaw

func BuildRaw(input map[string]interface{}, key, signType string, connect *conf.ConnectConf) string

BuildRaw 生成拼接密钥的原串

func Sign

func Sign(raw, key, signType, rsaSType string, conf *conf.AuthConfig) (string, error)

Sign 签名

func Verify

func Verify(input map[string]interface{}, key, signName, signType, rsaSType string, conf *conf.AuthConfig) (bool, error)

Verify 验证签名

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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