Documentation ¶
Index ¶
- func CmbSignRequest(reqStr, funCode, uid, userKey, AESKey string) (string, error)
- func FormatPri(priByte []byte) (*sm2.PrivateKey, error)
- func GenYurref() string
- func GetCmbOpTime(d string) (time.Time, error)
- func GetCmbTransTime(d string, t string) (time.Time, error)
- func GetJson(reqAccount string) string
- func GetReqidString() string
- func GetSigtimString() string
- func SM3WithSM2Sign(privateKey *sm2.PrivateKey, forSignStr string, uid []byte) (string, error)
- func Sm4Encrypt(key, iv, plainText []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmbSignRequest ¶
CmbSignRequest
@Description: 招商银行 统一请求 todo 返回错误信息 @param reqStr 请求参数 @param funCode 请求代码 @param uid 用户ID @param userKey 用户秘钥 @param AESKey 用户对称秘钥 @return string 结果返回 @Author ahKevinXy @Date 2023-04-10 13:41:37
func GetCmbOpTime ¶
GetCmbOpTime
@Description: 获取交易 @param d @return time.Time @return error @Author ahKevinXy @Date 2023-04-13 15:00:22
func GetCmbTransTime ¶
GetCmbTransTime
@Description: 获取交易时间 @param d 日期 @param t 时间 @return time.Time @return error @Author ahKevinXy @Date 2023-04-13 15:00:11
func GetReqidString ¶ added in v1.1.2
func GetReqidString() string
func GetSigtimString ¶ added in v1.1.2
func GetSigtimString() string
func SM3WithSM2Sign ¶ added in v1.1.0
SM3WithSM2Sign SM3WithSM2签名 Hex ToUpper
func Sm4Encrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.