base

package
v0.0.0-...-51276b7 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BrokerID      = "testbroker"
	DealerID      = "testdealer"
	AppKey        = "appkey"
	Des3Key       = "3deskey"
	YunPrivateKey = privateKey
	YunPublicKey  = publicKey
)

接口配置信息

Functions

func DecodeZipPwd

func DecodeZipPwd(pwdStr string) (string, error)

DecodeZipPwd 解密 ZIP 密码

func NewClient

func NewClient() *api.Client

NewClient 新建 client Core

func NewDes3Decoder

func NewDes3Decoder() crypto.Decoder

NewDes3Decoder 新建加密解密对象

func NewHmacSignVerifier

func NewHmacSignVerifier() crypto.SignVerifier

NewHmacSignVerifier 新建 HMAC 签名

func NewRsaDecoder

func NewRsaDecoder() (crypto.Decoder, error)

NewRsaDecoder 新建 RSA 解密接口

func NewRsaSignVerifier

func NewRsaSignVerifier() crypto.SignVerifier

NewRsaSignVerifier 新建 RSA 签名验签

func NotifyDecoder

func NotifyDecoder(mess, timestamp, data, sign, signType string, out interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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