package
3.0.0-20240506090514-3a75eef11ae8
Repository: https://github.com/flyrory/powerwechat.git
Documentation: pkg.go.dev
# Functions
DecryptAES256GCM 使用 AEAD_AES_256_GCM 算法进行解密
你可以使用此算法完成微信支付平台证书和回调报文解密,详见: https://wechatpay-api.gitbook.io/wechatpay-api-v3/qian-ming-zhi-nan-1/zheng-shu-he-hui-tiao-bao-wen-jie-mi.
No description provided by the author
GenerateSignHmacSHA256 适用于微信支付V2 HMAC-SHA256签名算法 https://pay.weixin.qq.com/wiki/doc/api/tools/cash_coupon.php?chapter=4_3.
GenerateSignMD5 适用于微信支付V2 MD5签名算法 https://pay.weixin.qq.com/wiki/doc/api/tools/cash_coupon.php?chapter=4_3.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SignSHA256WithRSA 通过私钥对字符串以 SHA256WithRSA 算法生成签名信息.
# Constants
base64 解码失败.
AES 解密失败.
AES 加密失败.
AESKey 非法.
AESKey 非法.
HeaderAuthorizationFormat 请求头中的 Authorization 拼接格式.
数字签名原文格式.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SHA256WithRSASigner Sha256WithRSA 数字签名生成器.
SignatureResult 数字签名结果.