| Package | Description |
|---|---|
| cn.felord.payment.wechat.v3.crypto | |
| cn.felord.payment.wechat.v3.retrofit |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
WechatPaySigner.verify(okhttp3.Headers responseHeaders,
String body,
TenpayKey tenpayKey)
Verify boolean.
|
| Modifier and Type | Field and Description |
|---|---|
private static Map<String,TenpayKey> |
InMemoryTenpayKeyCache.TENPAY_KEYS |
| Modifier and Type | Method and Description |
|---|---|
TenpayKey |
TenpayCertificateService.getTenpayKey(String serialNumber)
Gets tenpay key.
|
TenpayKey |
InMemoryTenpayKeyCache.getTenpayKey(String merchantId,
String serialNumber) |
TenpayKey |
TenpayKeyCache.getTenpayKey(String merchantId,
String serialNumber)
取出证书缓存
|
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryTenpayKeyCache.putTenpayKey(String merchantId,
String serialNumber,
TenpayKey tenpayKey) |
void |
TenpayKeyCache.putTenpayKey(String merchantId,
String serialNumber,
TenpayKey tenpayKey)
放入缓存,过期可参考jwk的过期时间设置
|
Copyright © 2023. All rights reserved.