限定符和类型 | 类和说明 |
---|---|
static class |
AutoUpdateCertificatesVerifier.TimeInterval
时间间隔枚举,支持一小时、六小时以及十二小时
|
构造器和说明 |
---|
AutoUpdateCertificatesVerifier(Credentials credentials,
byte[] apiV3Key) |
AutoUpdateCertificatesVerifier(Credentials credentials,
byte[] apiV3Key,
int minutesInterval) |
AutoUpdateCertificatesVerifier(Credentials credentials,
byte[] apiV3Key,
int minutesInterval,
WxPayHttpProxy wxPayHttpProxy) |
限定符和类型 | 方法和说明 |
---|---|
void |
customHttpClientBuilder(WxPayV3HttpClientBuilder builder)
子类可以自定义添加Http client builder的信息
|
X509Certificate |
getValidCertificate() |
boolean |
verify(String serialNumber,
byte[] message,
String signature) |
public AutoUpdateCertificatesVerifier(Credentials credentials, byte[] apiV3Key)
public AutoUpdateCertificatesVerifier(Credentials credentials, byte[] apiV3Key, int minutesInterval)
public AutoUpdateCertificatesVerifier(Credentials credentials, byte[] apiV3Key, int minutesInterval, WxPayHttpProxy wxPayHttpProxy)
public void customHttpClientBuilder(WxPayV3HttpClientBuilder builder)
builder
- httpclient构造器public X509Certificate getValidCertificate()
getValidCertificate
在接口中 Verifier
Copyright © 2023. All rights reserved.