| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
private static final String |
CERT_ALIAS |
"Tenpay Certificate" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
HMAC_SHA256 |
"HMAC-SHA256" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
private static final String |
BOUNDARY |
"boundary" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
private static final String |
BC_PROVIDER |
"BC" |
private static final String |
SCHEMA |
"WECHATPAY2-SHA256-RSA2048 " |
public static final String |
TOKEN_PATTERN |
"mchid=\"%s\",nonce_str=\"%s\",timestamp=\"%d\",serial_no=\"%s\",signature=\"%s\"" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
WECHAT_PAY_NONCE |
"Wechatpay-Nonce" |
public static final String |
WECHAT_PAY_SERIAL |
"Wechatpay-Serial" |
public static final String |
WECHAT_PAY_SIGNATURE |
"Wechatpay-Signature" |
public static final String |
WECHAT_PAY_TIMESTAMP |
"Wechatpay-Timestamp" |
Copyright © 2021. All rights reserved.