Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAeadCipher - Class in com.wechat.pay.java.core.cipher
-
带有关联数据的认证加密器
- AbstractAeadCipher(String, String, int, byte[]) - Constructor for class com.wechat.pay.java.core.cipher.AbstractAeadCipher
- AbstractHttpClient - Class in com.wechat.pay.java.core.http
-
请求客户端抽象基类
- AbstractHttpClient(Credential, Validator) - Constructor for class com.wechat.pay.java.core.http.AbstractHttpClient
- AbstractHttpClientBuilder<T extends AbstractHttpClientBuilder<T>> - Interface in com.wechat.pay.java.core.http
- AbstractNotificationConfig - Class in com.wechat.pay.java.core.notification
- AbstractNotificationConfig(String, String, CertificateProvider, AeadCipher) - Constructor for class com.wechat.pay.java.core.notification.AbstractNotificationConfig
- AbstractNotificationConfig(String, String, CertificateProvider, PublicKey, String, AeadCipher) - Constructor for class com.wechat.pay.java.core.notification.AbstractNotificationConfig
- AbstractNotificationConfig(String, String, PublicKey, String, AeadCipher) - Constructor for class com.wechat.pay.java.core.notification.AbstractNotificationConfig
- AbstractPrivacyDecryptor - Class in com.wechat.pay.java.core.cipher
- AbstractPrivacyDecryptor(String, PrivateKey) - Constructor for class com.wechat.pay.java.core.cipher.AbstractPrivacyDecryptor
-
构造敏感信息解密的抽象类
- AbstractPrivacyEncryptor - Class in com.wechat.pay.java.core.cipher
- AbstractPrivacyEncryptor(String, PublicKey, String) - Constructor for class com.wechat.pay.java.core.cipher.AbstractPrivacyEncryptor
- AbstractRSAConfig - Class in com.wechat.pay.java.core
-
RSAConfig抽象类
- AbstractRSAConfig(String, PrivateKey, String, CertificateProvider) - Constructor for class com.wechat.pay.java.core.AbstractRSAConfig
-
使用微信支付平台证书验签
- AbstractRSAConfig(String, PrivateKey, String, PublicKey, String) - Constructor for class com.wechat.pay.java.core.AbstractRSAConfig
-
使用微信支付公钥验签
- AbstractRSAConfigBuilder<T extends AbstractRSAConfigBuilder<T>> - Class in com.wechat.pay.java.core
-
RSAConfigBuilder抽象类
- AbstractRSAConfigBuilder() - Constructor for class com.wechat.pay.java.core.AbstractRSAConfigBuilder
- AbstractSigner - Class in com.wechat.pay.java.core.cipher
- AbstractSigner(String, String, String, PrivateKey) - Constructor for class com.wechat.pay.java.core.cipher.AbstractSigner
-
AbstractSigner 构造函数
- AbstractVerifier - Class in com.wechat.pay.java.core.cipher
- AbstractVerifier(String, CertificateProvider) - Constructor for class com.wechat.pay.java.core.cipher.AbstractVerifier
-
AbstractVerifier 构造函数
- AbstractVerifier(String, PublicKey, String) - Constructor for class com.wechat.pay.java.core.cipher.AbstractVerifier
-
AbstractVerifier 构造函数
- AbstractVerifier(String, PublicKey, String, CertificateProvider) - Constructor for class com.wechat.pay.java.core.cipher.AbstractVerifier
-
AbstractVerifier 构造函数,仅在平台证书和平台公钥灰度切换阶段使用
- ACCEPT - Static variable in class com.wechat.pay.java.core.http.Constant
- add(String, Object) - Method in class com.wechat.pay.java.core.http.QueryParameter
- addHeader(String, String) - Method in class com.wechat.pay.java.core.http.HttpHeaders
-
增加请求头参数
- addHeader(String, String) - Method in class com.wechat.pay.java.core.http.HttpRequest.Builder
-
添加header
- AeadAesCipher - Class in com.wechat.pay.java.core.cipher
-
带有关联数据的AES认证加解密器
- AeadAesCipher(byte[]) - Constructor for class com.wechat.pay.java.core.cipher.AeadAesCipher
- aeadCipher(AeadCipher) - Method in class com.wechat.pay.java.core.certificate.CertificateDownloader.Builder
- AeadCipher - Interface in com.wechat.pay.java.core.cipher
-
认证加密器
- AES_CIPHER_ALGORITHM - Static variable in class com.wechat.pay.java.core.notification.Constant
- algorithmName - Variable in class com.wechat.pay.java.core.cipher.AbstractVerifier
- API - Enum constant in enum class com.wechat.pay.java.core.http.HostName
- APIHK - Enum constant in enum class com.wechat.pay.java.core.http.HostName
- apiV3Key - Variable in class com.wechat.pay.java.core.notification.AutoCertificateNotificationConfig.Builder
-
Deprecated.
- apiV3Key - Variable in class com.wechat.pay.java.core.notification.RSACombinedNotificationConfig.Builder
- apiV3Key - Variable in class com.wechat.pay.java.core.RSAAutoCertificateConfig.Builder
- apiV3Key - Variable in class com.wechat.pay.java.core.RSAPublicKeyConfig.Builder
- apiV3Key(byte[]) - Method in class com.wechat.pay.java.core.certificate.RSAAutoCertificateProvider.Builder
- apiV3Key(String) - Method in class com.wechat.pay.java.core.notification.AutoCertificateNotificationConfig.Builder
-
Deprecated.
- apiV3Key(String) - Method in class com.wechat.pay.java.core.notification.RSACombinedNotificationConfig.Builder
- apiV3Key(String) - Method in class com.wechat.pay.java.core.notification.RSANotificationConfig.Builder
-
Deprecated.
- apiV3Key(String) - Method in class com.wechat.pay.java.core.notification.RSAPublicKeyNotificationConfig.Builder
- apiV3Key(String) - Method in class com.wechat.pay.java.core.RSAAutoCertificateConfig.Builder
- apiV3Key(String) - Method in class com.wechat.pay.java.core.RSAPublicKeyConfig.Builder
- APPLICATION_JSON - Enum constant in enum class com.wechat.pay.java.core.http.MediaType
- APPLICATION_OCTET_STREAM - Enum constant in enum class com.wechat.pay.java.core.http.MediaType
- APPLICATION_X_GZIP - Enum constant in enum class com.wechat.pay.java.core.http.MediaType
- AUTHORIZATION - Static variable in class com.wechat.pay.java.core.http.Constant
- AutoCertificateNotificationConfig - Class in com.wechat.pay.java.core.notification
-
Deprecated.请使用 RSAAutoCertificateConfig。 从版本 v0.2.4 起, 该类是多余的,而且功能不完整。 开发者应尽快迁移。我们将在未来某个时间移除这段废弃的代码。
- AutoCertificateNotificationConfig.Builder - Class in com.wechat.pay.java.core.notification
-
Deprecated.
- AutoCertificateService - Class in com.wechat.pay.java.core.certificate
-
定时更新证书的服务,它是一个由静态函数构成的工具类
B
- body(RequestBody) - Method in class com.wechat.pay.java.core.http.HttpRequest.Builder
-
设置body
- body(String) - Method in class com.wechat.pay.java.core.http.JsonRequestBody.Builder
- body(String) - Method in class com.wechat.pay.java.core.http.JsonResponseBody.Builder
- body(String) - Method in class com.wechat.pay.java.core.http.OriginalResponse.Builder
-
设置返回body
- body(String) - Method in class com.wechat.pay.java.core.notification.RequestParam.Builder
- BUFFER_SIZE - Static variable in class com.wechat.pay.java.core.util.ShaUtil
- build() - Method in class com.wechat.pay.java.core.certificate.CertificateDownloader.Builder
- build() - Method in class com.wechat.pay.java.core.certificate.RSAAutoCertificateProvider.Builder
- build() - Method in interface com.wechat.pay.java.core.http.AbstractHttpClientBuilder
-
构建 AbstractHttpClient
- build() - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
-
构建默认HttpClient
- build() - Method in class com.wechat.pay.java.core.http.FileRequestBody.Builder
- build() - Method in class com.wechat.pay.java.core.http.HttpRequest.Builder
-
构建HttpRequest
- build() - Method in class com.wechat.pay.java.core.http.HttpResponse.Builder
-
构造 HttpResponse
- build() - Method in class com.wechat.pay.java.core.http.JsonRequestBody.Builder
- build() - Method in class com.wechat.pay.java.core.http.JsonResponseBody.Builder
- build() - Method in class com.wechat.pay.java.core.http.OriginalResponse.Builder
-
构建 OriginalResponse
- build() - Method in class com.wechat.pay.java.core.notification.AutoCertificateNotificationConfig.Builder
-
Deprecated.
- build() - Method in class com.wechat.pay.java.core.notification.RequestParam.Builder
- build() - Method in class com.wechat.pay.java.core.notification.RSACombinedNotificationConfig.Builder
- build() - Method in class com.wechat.pay.java.core.notification.RSANotificationConfig.Builder
-
Deprecated.
- build() - Method in class com.wechat.pay.java.core.notification.RSAPublicKeyNotificationConfig.Builder
- build() - Method in class com.wechat.pay.java.core.RSAAutoCertificateConfig.Builder
- build() - Method in class com.wechat.pay.java.core.RSAConfig.Builder
- build() - Method in class com.wechat.pay.java.core.RSAPublicKeyConfig.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.certificate.CertificateDownloader.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.certificate.RSAAutoCertificateProvider.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.http.FileRequestBody.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.http.HttpRequest.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.http.HttpResponse.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.http.JsonRequestBody.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.http.JsonResponseBody.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.http.OriginalResponse.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.notification.AutoCertificateNotificationConfig.Builder
-
Deprecated.
- Builder() - Constructor for class com.wechat.pay.java.core.notification.RequestParam.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.notification.RSACombinedNotificationConfig.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.notification.RSANotificationConfig.Builder
-
Deprecated.
- Builder() - Constructor for class com.wechat.pay.java.core.notification.RSAPublicKeyNotificationConfig.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.RSAAutoCertificateConfig.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.RSAConfig.Builder
- Builder() - Constructor for class com.wechat.pay.java.core.RSAPublicKeyConfig.Builder
C
- CertificateDownloader - Class in com.wechat.pay.java.core.certificate
- CertificateDownloader(CertificateDownloader.Builder) - Constructor for class com.wechat.pay.java.core.certificate.CertificateDownloader
- CertificateDownloader.Builder - Class in com.wechat.pay.java.core.certificate
- certificateHandler(CertificateHandler) - Method in class com.wechat.pay.java.core.certificate.CertificateDownloader.Builder
- CertificateHandler - Interface in com.wechat.pay.java.core.certificate
-
证书处理器
- certificateProvider - Variable in class com.wechat.pay.java.core.cipher.AbstractVerifier
- certificateProvider - Variable in class com.wechat.pay.java.core.RSAAutoCertificateConfig.Builder
- CertificateProvider - Interface in com.wechat.pay.java.core.certificate
-
微信支付平台证书提供器
- certificates(String...) - Method in class com.wechat.pay.java.core.notification.RSANotificationConfig.Builder
-
Deprecated.
- certificates(X509Certificate...) - Method in class com.wechat.pay.java.core.notification.RSANotificationConfig.Builder
-
Deprecated.
- certificatesFromPath(String...) - Method in class com.wechat.pay.java.core.notification.RSANotificationConfig.Builder
-
Deprecated.
- com.wechat.pay.java.core - package com.wechat.pay.java.core
- com.wechat.pay.java.core.auth - package com.wechat.pay.java.core.auth
- com.wechat.pay.java.core.certificate - package com.wechat.pay.java.core.certificate
- com.wechat.pay.java.core.certificate.model - package com.wechat.pay.java.core.certificate.model
- com.wechat.pay.java.core.cipher - package com.wechat.pay.java.core.cipher
- com.wechat.pay.java.core.exception - package com.wechat.pay.java.core.exception
- com.wechat.pay.java.core.http - package com.wechat.pay.java.core.http
- com.wechat.pay.java.core.http.okhttp - package com.wechat.pay.java.core.http.okhttp
- com.wechat.pay.java.core.notification - package com.wechat.pay.java.core.notification
- com.wechat.pay.java.core.util - package com.wechat.pay.java.core.util
- config(Config) - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
- Config - Interface in com.wechat.pay.java.core
-
调用微信支付服务的所需配置
- connectTimeoutMs(int) - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
-
设置连接超时
- Constant - Class in com.wechat.pay.java.core.cipher
-
用于签名和加密的常量
- Constant - Class in com.wechat.pay.java.core.http
-
HTTP常量
- Constant - Class in com.wechat.pay.java.core.notification
-
Notification 常量
- CONTENT_TYPE - Static variable in class com.wechat.pay.java.core.http.Constant
- contentType(String) - Method in class com.wechat.pay.java.core.http.OriginalResponse.Builder
-
设置返回contentType
- createAeadCipher() - Method in class com.wechat.pay.java.core.notification.AbstractNotificationConfig
- createAeadCipher() - Method in interface com.wechat.pay.java.core.notification.NotificationConfig
-
创建认证加解密器
- createAeadCipher() - Method in class com.wechat.pay.java.core.RSAAutoCertificateConfig
-
创建认证加解密器
- createAeadCipher() - Method in class com.wechat.pay.java.core.RSAPublicKeyConfig
-
创建认证加解密器
- createCredential() - Method in class com.wechat.pay.java.core.AbstractRSAConfig
- createCredential() - Method in interface com.wechat.pay.java.core.Config
-
创建认证凭据生成器
- createDecryptor() - Method in class com.wechat.pay.java.core.AbstractRSAConfig
- createDecryptor() - Method in interface com.wechat.pay.java.core.Config
-
创建敏感信息解密器
- createEncryptor() - Method in class com.wechat.pay.java.core.AbstractRSAConfig
- createEncryptor() - Method in interface com.wechat.pay.java.core.Config
-
创建敏感信息加密器
- createNonce() - Method in class com.wechat.pay.java.core.notification.Resource
- createNonce(int) - Static method in class com.wechat.pay.java.core.util.NonceUtil
-
使用SecureRandom生成随机串
- createSigner() - Method in class com.wechat.pay.java.core.AbstractRSAConfig
- createSigner() - Method in interface com.wechat.pay.java.core.Config
-
创建签名器
- createValidator() - Method in class com.wechat.pay.java.core.AbstractRSAConfig
- createValidator() - Method in interface com.wechat.pay.java.core.Config
-
创建请求验证器
- createVerifier() - Method in class com.wechat.pay.java.core.notification.AbstractNotificationConfig
- createVerifier() - Method in interface com.wechat.pay.java.core.notification.NotificationConfig
-
创建验签器
- createVerifier() - Method in class com.wechat.pay.java.core.RSAAutoCertificateConfig
-
创建验签器
- createVerifier() - Method in class com.wechat.pay.java.core.RSAPublicKeyConfig
-
创建验签器
- credential - Variable in class com.wechat.pay.java.core.http.AbstractHttpClient
- credential(Credential) - Method in class com.wechat.pay.java.core.certificate.RSAAutoCertificateProvider.Builder
- credential(Credential) - Method in interface com.wechat.pay.java.core.http.AbstractHttpClientBuilder
-
设置凭据生成器
- credential(Credential) - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
-
设置凭据生成器
- Credential - Interface in com.wechat.pay.java.core.auth
-
认证凭据生成器
D
- Data - Class in com.wechat.pay.java.core.certificate.model
-
获取平台证书列表返回数据
- Data() - Constructor for class com.wechat.pay.java.core.certificate.model.Data
- decrypt(byte[], byte[], byte[]) - Method in class com.wechat.pay.java.core.cipher.AbstractAeadCipher
-
解密并转换为字符串
- decrypt(byte[], byte[], byte[]) - Method in interface com.wechat.pay.java.core.cipher.AeadCipher
-
解密并转换为字符串
- decrypt(String) - Method in class com.wechat.pay.java.core.cipher.AbstractPrivacyDecryptor
- decrypt(String) - Method in interface com.wechat.pay.java.core.cipher.PrivacyDecryptor
-
解密并转换为字符串
- DecryptionException - Exception in com.wechat.pay.java.core.exception
- DecryptionException(String, Throwable) - Constructor for exception com.wechat.pay.java.core.exception.DecryptionException
- DefaultHttpClientBuilder - Class in com.wechat.pay.java.core.http
-
默认HttpClient构造器
- DefaultHttpClientBuilder() - Constructor for class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
- delete(HttpHeaders, String, Class<T>) - Method in interface com.wechat.pay.java.core.http.HttpClient
-
发送DELETE请求
- DELETE - Enum constant in enum class com.wechat.pay.java.core.http.HttpMethod
- disableRetryOnConnectionFailure() - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
-
OkHttp 在网络问题时不重试
- download() - Method in class com.wechat.pay.java.core.certificate.CertificateDownloader
-
下载证书
- download(String) - Method in class com.wechat.pay.java.core.http.AbstractHttpClient
- download(String) - Method in interface com.wechat.pay.java.core.http.HttpClient
-
下载文件,文件流使用完后需要关闭
- DownloadCertificateResponse - Class in com.wechat.pay.java.core.certificate.model
- DownloadCertificateResponse() - Constructor for class com.wechat.pay.java.core.certificate.model.DownloadCertificateResponse
- downloadUrl(String) - Method in class com.wechat.pay.java.core.certificate.CertificateDownloader.Builder
E
- enableRetryMultiDomain() - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
-
启用双域名容灾
- encrypt(byte[], byte[], byte[]) - Method in class com.wechat.pay.java.core.cipher.AbstractAeadCipher
-
加密并转换为字符串
- encrypt(byte[], byte[], byte[]) - Method in interface com.wechat.pay.java.core.cipher.AeadCipher
-
加密并转换为字符串
- encrypt(String) - Method in class com.wechat.pay.java.core.cipher.AbstractPrivacyEncryptor
- encrypt(String) - Method in interface com.wechat.pay.java.core.cipher.PrivacyEncryptor
-
加密并转换为字符串
- EncryptCertificate - Class in com.wechat.pay.java.core.certificate.model
- EncryptCertificate() - Constructor for class com.wechat.pay.java.core.certificate.model.EncryptCertificate
- Encryption - Annotation Interface in com.wechat.pay.java.core.cipher
- equalsWith(String) - Method in enum class com.wechat.pay.java.core.http.HostName
- equalsWith(String) - Method in enum class com.wechat.pay.java.core.http.MediaType
- execute(HttpRequest, Class<T>) - Method in class com.wechat.pay.java.core.http.AbstractHttpClient
- execute(HttpRequest, Class<T>) - Method in interface com.wechat.pay.java.core.http.HttpClient
-
发送HTTP请求
F
- file(byte[]) - Method in class com.wechat.pay.java.core.http.FileRequestBody.Builder
- fileName(String) - Method in class com.wechat.pay.java.core.http.FileRequestBody.Builder
- FileRequestBody - Class in com.wechat.pay.java.core.http
-
文件类型请求体
- FileRequestBody.Builder - Class in com.wechat.pay.java.core.http
G
- generateCertificate(String) - Method in interface com.wechat.pay.java.core.certificate.CertificateHandler
-
将证书从String转为X509Certificate
- get(HttpHeaders, String, Class<T>) - Method in interface com.wechat.pay.java.core.http.HttpClient
-
发送GET请求
- GET - Enum constant in enum class com.wechat.pay.java.core.http.HttpMethod
- getAlgorithm() - Method in class com.wechat.pay.java.core.certificate.model.EncryptCertificate
- getAlgorithm() - Method in class com.wechat.pay.java.core.cipher.AbstractSigner
- getAlgorithm() - Method in interface com.wechat.pay.java.core.cipher.Signer
-
获取签名算法
- getAlgorithm() - Method in class com.wechat.pay.java.core.notification.Resource
- getAssociatedData() - Method in class com.wechat.pay.java.core.certificate.model.EncryptCertificate
- getAssociatedData() - Method in class com.wechat.pay.java.core.notification.Resource
- getAuthorization(URI, String, String) - Method in interface com.wechat.pay.java.core.auth.Credential
-
获取认证信息
- getAuthorization(URI, String, String) - Method in class com.wechat.pay.java.core.auth.WechatPay2Credential
- getAvailableCertificate() - Method in interface com.wechat.pay.java.core.certificate.CertificateProvider
-
获取最新可用的微信支付平台证书
- getAvailableCertificate() - Method in class com.wechat.pay.java.core.certificate.InMemoryCertificateProvider
-
获取最新可用的微信支付平台证书
- getAvailableCertificate() - Method in class com.wechat.pay.java.core.certificate.RSAAutoCertificateProvider
-
获取最新可用的微信支付平台证书
- getAvailableCertificate(String, String) - Static method in class com.wechat.pay.java.core.certificate.AutoCertificateService
- getBody() - Method in class com.wechat.pay.java.core.http.HttpRequest
-
获取请求体
- getBody() - Method in class com.wechat.pay.java.core.http.HttpResponse
-
获取返回体
- getBody() - Method in class com.wechat.pay.java.core.http.JsonRequestBody
-
获取请求体
- getBody() - Method in class com.wechat.pay.java.core.http.JsonResponseBody
-
获取返回体
- getBody() - Method in class com.wechat.pay.java.core.http.OriginalResponse
-
获取返回体
- getBody() - Method in class com.wechat.pay.java.core.notification.RequestParam
- getCertificate(String) - Method in interface com.wechat.pay.java.core.certificate.CertificateProvider
-
根据证书序列号获取证书
- getCertificate(String) - Method in class com.wechat.pay.java.core.certificate.InMemoryCertificateProvider
-
根据证书序列号获取证书
- getCertificate(String) - Method in class com.wechat.pay.java.core.certificate.RSAAutoCertificateProvider
-
根据证书序列号获取证书
- getCertificate(String, String, String) - Static method in class com.wechat.pay.java.core.certificate.AutoCertificateService
- getCertificateSerialNumber() - Method in class com.wechat.pay.java.core.cipher.SignatureResult
-
获取签名对应的商户证书序列号
- getCiphertext() - Method in class com.wechat.pay.java.core.certificate.model.EncryptCertificate
- getCiphertext() - Method in class com.wechat.pay.java.core.notification.Resource
- getCipherType() - Method in class com.wechat.pay.java.core.notification.AbstractNotificationConfig
- getCipherType() - Method in interface com.wechat.pay.java.core.notification.NotificationConfig
-
获取认证加解密器类型
- getCipherType() - Method in class com.wechat.pay.java.core.RSAAutoCertificateConfig
-
获取认证加解密器类型
- getCipherType() - Method in class com.wechat.pay.java.core.RSAPublicKeyConfig
-
获取认证加解密器类型
- getContentType() - Method in class com.wechat.pay.java.core.http.FileRequestBody
- getContentType() - Method in class com.wechat.pay.java.core.http.JsonRequestBody
- getContentType() - Method in class com.wechat.pay.java.core.http.JsonResponseBody
- getContentType() - Method in class com.wechat.pay.java.core.http.OriginalResponse
- getContentType() - Method in interface com.wechat.pay.java.core.http.RequestBody
-
获取请求体的数据类型
- getContentType() - Method in interface com.wechat.pay.java.core.http.ResponseBody
-
获取返回体的数据类型
- getCreateTime() - Method in class com.wechat.pay.java.core.notification.Notification
- getData() - Method in class com.wechat.pay.java.core.certificate.model.DownloadCertificateResponse
- getEffectiveTime() - Method in class com.wechat.pay.java.core.certificate.model.Data
- getEncryptCertificate() - Method in class com.wechat.pay.java.core.certificate.model.Data
- getErrorCode() - Method in exception com.wechat.pay.java.core.exception.ServiceException
- getErrorMessage() - Method in exception com.wechat.pay.java.core.exception.ServiceException
- getEventType() - Method in class com.wechat.pay.java.core.notification.Notification
- getExpireTime() - Method in class com.wechat.pay.java.core.certificate.model.Data
- getFile() - Method in class com.wechat.pay.java.core.http.FileRequestBody
-
获取文件
- getFileName() - Method in class com.wechat.pay.java.core.http.FileRequestBody
-
获取文件名
- getGson() - Static method in class com.wechat.pay.java.core.util.GsonUtil
-
获取自定义设置的Gson对象
- getHeader(String) - Method in class com.wechat.pay.java.core.http.HttpHeaders
-
获取请求头参数
- getHeaders() - Method in class com.wechat.pay.java.core.http.HttpHeaders
-
获取请求头
- getHeaders() - Method in class com.wechat.pay.java.core.http.HttpRequest
-
获取请求头
- getHeaders() - Method in class com.wechat.pay.java.core.http.HttpResponse
-
获取返回头
- getHeaders() - Method in class com.wechat.pay.java.core.http.OriginalResponse
-
获取返回头
- getHttpClientInfo() - Method in class com.wechat.pay.java.core.http.AbstractHttpClient
-
获取http客户端信息,用于User-Agent。 格式:客户端名称/版本 示例:okhttp3/4.9.3
- getHttpClientInfo() - Method in class com.wechat.pay.java.core.http.okhttp.OkHttpClientAdapter
- getHttpMethod() - Method in class com.wechat.pay.java.core.http.HttpRequest
-
获取HttpMethod
- getHttpRequest() - Method in exception com.wechat.pay.java.core.exception.HttpException
-
获取HTTP请求
- getHttpRequest() - Method in exception com.wechat.pay.java.core.exception.ServiceException
-
获取HTTP请求
- getHttpStatusCode() - Method in exception com.wechat.pay.java.core.exception.ServiceException
-
获取HTTP状态码
- getId() - Method in class com.wechat.pay.java.core.notification.Notification
- getMerchantId() - Method in interface com.wechat.pay.java.core.auth.Credential
-
获取商户号
- getMerchantId() - Method in class com.wechat.pay.java.core.auth.WechatPay2Credential
- getMessage() - Method in class com.wechat.pay.java.core.notification.RequestParam
- getMeta() - Method in class com.wechat.pay.java.core.http.FileRequestBody
-
获取媒体文件元信息
- getNonce() - Method in class com.wechat.pay.java.core.certificate.model.EncryptCertificate
- getNonce() - Method in class com.wechat.pay.java.core.notification.Resource
- getOriginalType() - Method in class com.wechat.pay.java.core.notification.Resource
- getPlaintext() - Method in class com.wechat.pay.java.core.notification.Notification
- getQueryStr() - Method in class com.wechat.pay.java.core.http.QueryParameter
- getRequest() - Method in class com.wechat.pay.java.core.http.HttpResponse
-
获取返回对应的请求
- getRequest() - Method in class com.wechat.pay.java.core.http.OriginalResponse
-
获取返回对应的请求
- getResource() - Method in class com.wechat.pay.java.core.notification.Notification
- getResourceType() - Method in class com.wechat.pay.java.core.notification.Notification
- getResponseBody() - Method in exception com.wechat.pay.java.core.exception.ServiceException
-
获取HTTP返回体
- getSchema() - Method in interface com.wechat.pay.java.core.auth.Credential
-
获取认证类型
- getSchema() - Method in class com.wechat.pay.java.core.auth.WechatPay2Credential
- getSerialNo() - Method in class com.wechat.pay.java.core.certificate.model.Data
- getSerialNumber() - Method in class com.wechat.pay.java.core.notification.RequestParam
- getSerialNumber(X509Certificate) - Static method in class com.wechat.pay.java.core.util.PemUtil
- getSerialVersionUID() - Static method in exception com.wechat.pay.java.core.exception.HttpException
-
获取序列化版本UID
- getSerialVersionUID() - Static method in exception com.wechat.pay.java.core.exception.ServiceException
-
获取序列化版本UID
- getServiceResponse() - Method in class com.wechat.pay.java.core.http.HttpResponse
-
获取业务返回
- getSha1HexString(byte[]) - Static method in class com.wechat.pay.java.core.util.ShaUtil
-
生成SHA1的HEX编码消息摘要字符串
- getSha1HexString(InputStream) - Static method in class com.wechat.pay.java.core.util.ShaUtil
-
生成SHA1的HEX编码消息摘要字符串
- getSha256HexString(byte[]) - Static method in class com.wechat.pay.java.core.util.ShaUtil
-
生成SHA256的HEX编码消息摘要字符串
- getSha256HexString(InputStream) - Static method in class com.wechat.pay.java.core.util.ShaUtil
-
生成SHA256的HEX编码消息摘要字符串
- getSign() - Method in class com.wechat.pay.java.core.cipher.SignatureResult
-
获取签名
- getSignature() - Method in class com.wechat.pay.java.core.notification.RequestParam
- getSignType() - Method in class com.wechat.pay.java.core.notification.AbstractNotificationConfig
- getSignType() - Method in interface com.wechat.pay.java.core.notification.NotificationConfig
-
获取签名类型
- getSignType() - Method in class com.wechat.pay.java.core.notification.RequestParam
- getSignType() - Method in class com.wechat.pay.java.core.RSAAutoCertificateConfig
-
获取签名类型
- getSignType() - Method in class com.wechat.pay.java.core.RSAPublicKeyConfig
-
获取签名类型
- getStatusCode() - Method in class com.wechat.pay.java.core.http.OriginalResponse
- getSummary() - Method in class com.wechat.pay.java.core.notification.Notification
- getUri() - Method in class com.wechat.pay.java.core.http.HttpRequest
-
获取请求URI
- getUrl() - Method in class com.wechat.pay.java.core.http.HttpRequest
-
获取请求URL
- getValue() - Method in enum class com.wechat.pay.java.core.http.HostName
- getValue() - Method in enum class com.wechat.pay.java.core.http.MediaType
- getWechatpaySerial() - Method in class com.wechat.pay.java.core.cipher.AbstractPrivacyEncryptor
- getWechatpaySerial() - Method in interface com.wechat.pay.java.core.cipher.PrivacyEncryptor
-
获取加密使用公钥所属证书的证书序列号,可设置到请求的 HTTP 头部 Wechatpay-Serial
- GsonUtil - Class in com.wechat.pay.java.core.util
-
Gson工具类
H
- headers(HttpHeaders) - Method in class com.wechat.pay.java.core.http.HttpRequest.Builder
-
重置headers
- headers(Map<String, String>) - Method in class com.wechat.pay.java.core.http.OriginalResponse.Builder
-
设置返回headers
- HEX - Static variable in class com.wechat.pay.java.core.cipher.Constant
- HostName - Enum Class in com.wechat.pay.java.core.http
-
微信支付域名
- httpClient - Variable in class com.wechat.pay.java.core.notification.AutoCertificateNotificationConfig.Builder
-
Deprecated.
- httpClient - Variable in class com.wechat.pay.java.core.notification.RSACombinedNotificationConfig.Builder
- httpClient - Variable in class com.wechat.pay.java.core.RSAAutoCertificateConfig.Builder
- httpClient(HttpClient) - Method in class com.wechat.pay.java.core.certificate.CertificateDownloader.Builder
- httpClient(HttpClient) - Method in class com.wechat.pay.java.core.certificate.RSAAutoCertificateProvider.Builder
- httpClient(HttpClient) - Method in class com.wechat.pay.java.core.notification.AutoCertificateNotificationConfig.Builder
-
Deprecated.
- httpClient(HttpClient) - Method in class com.wechat.pay.java.core.notification.RSACombinedNotificationConfig.Builder
- httpClient(HttpClient) - Method in class com.wechat.pay.java.core.RSAAutoCertificateConfig.Builder
- HttpClient - Interface in com.wechat.pay.java.core.http
-
HTTP请求客户端,自动生成签名和验证签名
- httpClientBuilder - Variable in class com.wechat.pay.java.core.RSAAutoCertificateConfig.Builder
- httpClientBuilder(AbstractHttpClientBuilder<?>) - Method in class com.wechat.pay.java.core.certificate.RSAAutoCertificateProvider.Builder
- httpClientBuilder(AbstractHttpClientBuilder<?>) - Method in class com.wechat.pay.java.core.RSAAutoCertificateConfig.Builder
- HttpException - Exception in com.wechat.pay.java.core.exception
-
发送HTTP请求失败时抛出。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
- HttpException(HttpRequest, Throwable) - Constructor for exception com.wechat.pay.java.core.exception.HttpException
-
发送请求失败时调用
- HttpException(String, Throwable) - Constructor for exception com.wechat.pay.java.core.exception.HttpException
-
构造请求参数失败时调用
- HttpHeaders - Class in com.wechat.pay.java.core.http
-
HTTP请求头
- HttpHeaders() - Constructor for class com.wechat.pay.java.core.http.HttpHeaders
- HttpHeaders(Map<String, String>) - Constructor for class com.wechat.pay.java.core.http.HttpHeaders
- httpMethod(HttpMethod) - Method in class com.wechat.pay.java.core.http.HttpRequest.Builder
-
设置httpMethod
- HttpMethod - Enum Class in com.wechat.pay.java.core.http
-
HTTP方法
- HttpRequest - Class in com.wechat.pay.java.core.http
-
HTTP请求
- HttpRequest.Builder - Class in com.wechat.pay.java.core.http
- HttpResponse<T> - Class in com.wechat.pay.java.core.http
-
HTTP返回
- HttpResponse.Builder<T> - Class in com.wechat.pay.java.core.http
I
- InMemoryCertificateProvider - Class in com.wechat.pay.java.core.certificate
-
证书提供器的简单实现,证书存储在内存ConcurrentHashMap中
- InMemoryCertificateProvider(List<X509Certificate>) - Constructor for class com.wechat.pay.java.core.certificate.InMemoryCertificateProvider
- innerDownload(HttpRequest) - Method in class com.wechat.pay.java.core.http.AbstractHttpClient
- innerDownload(HttpRequest) - Method in class com.wechat.pay.java.core.http.okhttp.OkHttpClientAdapter
- innerExecute(HttpRequest) - Method in class com.wechat.pay.java.core.http.AbstractHttpClient
- innerExecute(HttpRequest) - Method in class com.wechat.pay.java.core.http.okhttp.OkHttpClientAdapter
- intercept(Interceptor.Chain) - Method in class com.wechat.pay.java.core.http.okhttp.OkHttpMultiDomainInterceptor
- IOUtil - Class in com.wechat.pay.java.core.util
-
I/O工具
- isInvalidHttpCode(int) - Method in class com.wechat.pay.java.core.http.AbstractHttpClient
J
- JsonRequestBody - Class in com.wechat.pay.java.core.http
-
HTTP JSON类型请求体
- JsonRequestBody.Builder - Class in com.wechat.pay.java.core.http
- JsonResponseBody - Class in com.wechat.pay.java.core.http
-
JSON类型返回体
- JsonResponseBody.Builder - Class in com.wechat.pay.java.core.http
L
- loadPrivateKeyFromPath(String) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从文件路径加载RSA私钥
- loadPrivateKeyFromPath(String, String, String) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从文件路径加载指定算法的私钥
- loadPrivateKeyFromString(String) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从字符串中加载RSA私钥。
- loadPrivateKeyFromString(String, String, String) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从字符串中加载指定算法的私钥
- loadPublicKeyFromPath(String) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从文件路径加载RSA公钥
- loadPublicKeyFromString(String) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从字符串中加载RSA公钥。
- loadStringFromPath(String) - Static method in class com.wechat.pay.java.core.util.IOUtil
-
从文件路径中读取字符串
- loadX509FromPath(String) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从文件路径加载X.509证书
- loadX509FromPath(String, String) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从文件路径加载X.509证书
- loadX509FromStream(InputStream) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从输入流加载X.509证书
- loadX509FromStream(InputStream, String) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从输入流加载X.509证书
- loadX509FromString(String) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从字符串加载X.509证书
- loadX509FromString(String, String) - Static method in class com.wechat.pay.java.core.util.PemUtil
-
从字符串加载X.509证书
- logger - Static variable in class com.wechat.pay.java.core.cipher.AbstractVerifier
M
- MalformedMessageException - Exception in com.wechat.pay.java.core.exception
-
解析微信支付应答或回调报文异常时抛出,例如回调通知参数不正确、应答类型错误。
- MalformedMessageException(String) - Constructor for exception com.wechat.pay.java.core.exception.MalformedMessageException
- MalformedMessageException(String, Throwable) - Constructor for exception com.wechat.pay.java.core.exception.MalformedMessageException
- MediaType - Enum Class in com.wechat.pay.java.core.http
-
HTTP媒体类型
- merchantId - Variable in class com.wechat.pay.java.core.AbstractRSAConfigBuilder
- merchantId(String) - Method in class com.wechat.pay.java.core.AbstractRSAConfigBuilder
- merchantId(String) - Method in class com.wechat.pay.java.core.certificate.RSAAutoCertificateProvider.Builder
- merchantSerialNumber - Variable in class com.wechat.pay.java.core.AbstractRSAConfigBuilder
- merchantSerialNumber(String) - Method in class com.wechat.pay.java.core.AbstractRSAConfigBuilder
- merchantSerialNumber(String) - Method in class com.wechat.pay.java.core.certificate.RSAAutoCertificateProvider.Builder
- meta(String) - Method in class com.wechat.pay.java.core.http.FileRequestBody.Builder
- MULTIPART_FORM_DATA - Enum constant in enum class com.wechat.pay.java.core.http.MediaType
N
- newInstance() - Method in interface com.wechat.pay.java.core.http.AbstractHttpClientBuilder
-
复制工厂,复制一个当前对象
- newInstance() - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
-
复制工厂,复制一个当前对象
- nonce(String) - Method in class com.wechat.pay.java.core.notification.RequestParam.Builder
- NonceUtil - Class in com.wechat.pay.java.core.util
-
随机串生成工具
- Notification - Class in com.wechat.pay.java.core.notification
-
微信支付回调通知
- Notification() - Constructor for class com.wechat.pay.java.core.notification.Notification
- NotificationConfig - Interface in com.wechat.pay.java.core.notification
-
用于解析通知的配置
- NotificationParser - Class in com.wechat.pay.java.core.notification
-
通知解析器
- NotificationParser(NotificationConfig...) - Constructor for class com.wechat.pay.java.core.notification.NotificationParser
- NotificationParser(Map<String, Verifier>, Map<String, AeadCipher>) - Constructor for class com.wechat.pay.java.core.notification.NotificationParser
O
- okHttpClient(OkHttpClient) - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
-
设置 okHttpClient 若设置该参数,会覆盖client中的原有配置
- OkHttpClientAdapter - Class in com.wechat.pay.java.core.http.okhttp
-
OkHttp请求客户端
- OkHttpClientAdapter(Credential, Validator, OkHttpClient) - Constructor for class com.wechat.pay.java.core.http.okhttp.OkHttpClientAdapter
- OkHttpMultiDomainInterceptor - Class in com.wechat.pay.java.core.http.okhttp
-
A dual-domain retry interceptor.
- OkHttpMultiDomainInterceptor() - Constructor for class com.wechat.pay.java.core.http.okhttp.OkHttpMultiDomainInterceptor
- originalResponse(OriginalResponse) - Method in class com.wechat.pay.java.core.http.HttpResponse.Builder
- OriginalResponse - Class in com.wechat.pay.java.core.http
- OriginalResponse.Builder - Class in com.wechat.pay.java.core.http
-
OriginalResponse Builder
- OS - Static variable in class com.wechat.pay.java.core.http.Constant
P
- parse(RequestParam, Class<T>) - Method in class com.wechat.pay.java.core.notification.NotificationParser
-
解析微信支付回调通知
- patch(HttpHeaders, String, RequestBody, Class<T>) - Method in interface com.wechat.pay.java.core.http.HttpClient
-
发送PATCH请求
- PATCH - Enum constant in enum class com.wechat.pay.java.core.http.HttpMethod
- PemUtil - Class in com.wechat.pay.java.core.util
-
PEM工具
- post(HttpHeaders, String, RequestBody, Class<T>) - Method in interface com.wechat.pay.java.core.http.HttpClient
-
发送POST请求
- POST - Enum constant in enum class com.wechat.pay.java.core.http.HttpMethod
- PRIMARY_API_DOMAIN - Static variable in class com.wechat.pay.java.core.http.Constant
- PrivacyDecryptor - Interface in com.wechat.pay.java.core.cipher
-
敏感信息解密器
- PrivacyEncryptor - Interface in com.wechat.pay.java.core.cipher
-
敏感信息加密器
- privateKey - Variable in class com.wechat.pay.java.core.AbstractRSAConfigBuilder
- privateKey(String) - Method in class com.wechat.pay.java.core.AbstractRSAConfigBuilder
- privateKey(PrivateKey) - Method in class com.wechat.pay.java.core.AbstractRSAConfigBuilder
- privateKey(PrivateKey) - Method in class com.wechat.pay.java.core.certificate.RSAAutoCertificateProvider.Builder
- privateKeyFromPath(String) - Method in class com.wechat.pay.java.core.AbstractRSAConfigBuilder
- proxy(Proxy) - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
- publicKey - Variable in class com.wechat.pay.java.core.cipher.AbstractVerifier
- publicKey - Variable in class com.wechat.pay.java.core.RSAPublicKeyConfig.Builder
- publicKey(String) - Method in class com.wechat.pay.java.core.notification.RSACombinedNotificationConfig.Builder
- publicKey(String) - Method in class com.wechat.pay.java.core.notification.RSAPublicKeyNotificationConfig.Builder
- publicKey(String) - Method in class com.wechat.pay.java.core.RSAPublicKeyConfig.Builder
- publicKey(PublicKey) - Method in class com.wechat.pay.java.core.notification.RSACombinedNotificationConfig.Builder
- publicKey(PublicKey) - Method in class com.wechat.pay.java.core.notification.RSAPublicKeyNotificationConfig.Builder
- publicKey(PublicKey) - Method in class com.wechat.pay.java.core.RSAPublicKeyConfig.Builder
- publicKeyFromPath(String) - Method in class com.wechat.pay.java.core.notification.RSACombinedNotificationConfig.Builder
- publicKeyFromPath(String) - Method in class com.wechat.pay.java.core.notification.RSAPublicKeyNotificationConfig.Builder
- publicKeyFromPath(String) - Method in class com.wechat.pay.java.core.RSAPublicKeyConfig.Builder
- publicKeyId - Variable in class com.wechat.pay.java.core.cipher.AbstractVerifier
- publicKeyId - Variable in class com.wechat.pay.java.core.RSAPublicKeyConfig.Builder
- publicKeyId(String) - Method in class com.wechat.pay.java.core.notification.RSACombinedNotificationConfig.Builder
- publicKeyId(String) - Method in class com.wechat.pay.java.core.notification.RSAPublicKeyNotificationConfig.Builder
- publicKeyId(String) - Method in class com.wechat.pay.java.core.RSAPublicKeyConfig.Builder
- put(HttpHeaders, String, RequestBody, Class<T>) - Method in interface com.wechat.pay.java.core.http.HttpClient
-
发送PUT请求
- PUT - Enum constant in enum class com.wechat.pay.java.core.http.HttpMethod
Q
- QueryParameter - Class in com.wechat.pay.java.core.http
- QueryParameter() - Constructor for class com.wechat.pay.java.core.http.QueryParameter
R
- readTimeoutMs(int) - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
-
设置读超时
- register(String, String, CertificateDownloader) - Static method in class com.wechat.pay.java.core.certificate.AutoCertificateService
-
注册证书下载任务 如果是第一次注册,会先下载证书。如果能成功下载,再保存下载器,供定时更新证书使用。如果下载失败,会抛出异常。 如果已经注册过,当前传入的下载器将覆盖之前的下载器。如果当前下载器不能下载证书,定时更新证书会失败。
- request(HttpRequest) - Method in class com.wechat.pay.java.core.http.OriginalResponse.Builder
-
设置request
- REQUEST_ID - Static variable in class com.wechat.pay.java.core.http.Constant
- RequestBody - Interface in com.wechat.pay.java.core.http
-
HTTP请求体
- RequestParam - Class in com.wechat.pay.java.core.notification
-
微信支付通知请求参数
- RequestParam.Builder - Class in com.wechat.pay.java.core.notification
- Resource - Class in com.wechat.pay.java.core.notification
-
通知数据
- Resource() - Constructor for class com.wechat.pay.java.core.notification.Resource
- ResponseBody - Interface in com.wechat.pay.java.core.http
-
HTTP返回体
- RSA_SIGN_TYPE - Static variable in class com.wechat.pay.java.core.notification.Constant
- RSAAutoCertificateConfig - Class in com.wechat.pay.java.core
-
具有自动下载并更新平台证书能力的RSA配置类。 每次构造,都会立即使用传入的商户参数下载微信支付平台证书。 如果下载成功,SDK 会将商户参数注册或更新至 AutoCertificateService。若下载失败,将会抛出异常。 为了提高性能,建议将配置类作为全局变量,减少不必要的证书下载,避免资源浪费
- RSAAutoCertificateConfig.Builder - Class in com.wechat.pay.java.core
- RSAAutoCertificateProvider - Class in com.wechat.pay.java.core.certificate
-
RSA自动更新平台证书提供器
- RSAAutoCertificateProvider.Builder - Class in com.wechat.pay.java.core.certificate
- RSACombinedNotificationConfig - Class in com.wechat.pay.java.core.notification
-
通知回调配置类 该类仅在商户由平台证书切换为平台公钥的灰度阶段使用,灰度完成后请切换为RSAPublicKeyNotificationConfig
- RSACombinedNotificationConfig.Builder - Class in com.wechat.pay.java.core.notification
- RSAConfig - Class in com.wechat.pay.java.core
-
调用微信支付服务需要的RSA相关配置
- RSAConfig.Builder - Class in com.wechat.pay.java.core
- RSANotificationConfig - Class in com.wechat.pay.java.core.notification
-
Deprecated.请使用 RSAAutoCertificateConfig,开发者应尽快迁移,我们将在未来某个时间移除这段废弃的代码。
- RSANotificationConfig.Builder - Class in com.wechat.pay.java.core.notification
-
Deprecated.
- RSAPkcs1v15Decryptor - Class in com.wechat.pay.java.core.cipher
-
RSA-Pkcs1v15敏感信息解密器
- RSAPkcs1v15Decryptor(PrivateKey) - Constructor for class com.wechat.pay.java.core.cipher.RSAPkcs1v15Decryptor
- RSAPkcs1v15Encryptor - Class in com.wechat.pay.java.core.cipher
-
RSA-Pkcs1v15 敏感信息加密器
- RSAPkcs1v15Encryptor(PublicKey, String) - Constructor for class com.wechat.pay.java.core.cipher.RSAPkcs1v15Encryptor
- RSAPrivacyDecryptor - Class in com.wechat.pay.java.core.cipher
-
RSA敏感信息解密器
- RSAPrivacyDecryptor(PrivateKey) - Constructor for class com.wechat.pay.java.core.cipher.RSAPrivacyDecryptor
-
RSAPrivacyDecryptor 构造函数
- RSAPrivacyEncryptor - Class in com.wechat.pay.java.core.cipher
-
RSA敏感信息加密器
- RSAPrivacyEncryptor(PublicKey, String) - Constructor for class com.wechat.pay.java.core.cipher.RSAPrivacyEncryptor
-
RSAPrivacyEncryptor 构造函数
- RSAPublicKeyConfig - Class in com.wechat.pay.java.core
-
使用微信支付平台公钥的RSA配置类。 每次构造都要求传入平台公钥以及平台公钥id,如果使用平台证书建议用RSAAutoCertificateConfig类
- RSAPublicKeyConfig.Builder - Class in com.wechat.pay.java.core
- RSAPublicKeyNotificationConfig - Class in com.wechat.pay.java.core.notification
-
签名类型为RSA的通知配置参数
- RSAPublicKeyNotificationConfig.Builder - Class in com.wechat.pay.java.core.notification
- RSASigner - Class in com.wechat.pay.java.core.cipher
-
RSA签名器
- RSASigner(String, PrivateKey) - Constructor for class com.wechat.pay.java.core.cipher.RSASigner
- RSAVerifier - Class in com.wechat.pay.java.core.cipher
-
RSA验签器
- RSAVerifier(CertificateProvider) - Constructor for class com.wechat.pay.java.core.cipher.RSAVerifier
- RSAVerifier(PublicKey, String) - Constructor for class com.wechat.pay.java.core.cipher.RSAVerifier
- RSAVerifier(PublicKey, String, CertificateProvider) - Constructor for class com.wechat.pay.java.core.cipher.RSAVerifier
S
- SCHEMA_PREFIX - Static variable in class com.wechat.pay.java.core.auth.WechatPay2Credential
- SECONDARY_API_DOMAIN - Static variable in class com.wechat.pay.java.core.http.Constant
- self() - Method in class com.wechat.pay.java.core.AbstractRSAConfigBuilder
- self() - Method in class com.wechat.pay.java.core.notification.AutoCertificateNotificationConfig.Builder
-
Deprecated.
- self() - Method in class com.wechat.pay.java.core.notification.RSACombinedNotificationConfig.Builder
- self() - Method in class com.wechat.pay.java.core.RSAAutoCertificateConfig.Builder
- self() - Method in class com.wechat.pay.java.core.RSAConfig.Builder
- self() - Method in class com.wechat.pay.java.core.RSAPublicKeyConfig.Builder
- serialNumber(String) - Method in class com.wechat.pay.java.core.notification.RequestParam.Builder
- ServiceException - Exception in com.wechat.pay.java.core.exception
-
发送HTTP请求成功,返回异常时抛出。例如返回状态码小于200或大于等于300、返回体参数不完整。
- ServiceException(HttpRequest, int, String) - Constructor for exception com.wechat.pay.java.core.exception.ServiceException
-
返回状态码小于200或大于300调用
- serviceResponseType(Class<T>) - Method in class com.wechat.pay.java.core.http.HttpResponse.Builder
- setAlgorithm(String) - Method in class com.wechat.pay.java.core.certificate.model.EncryptCertificate
- setAlgorithm(String) - Method in class com.wechat.pay.java.core.notification.Resource
- setAssociatedData(String) - Method in class com.wechat.pay.java.core.certificate.model.EncryptCertificate
- setAssociatedData(String) - Method in class com.wechat.pay.java.core.notification.Resource
- setCiphertext(String) - Method in class com.wechat.pay.java.core.certificate.model.EncryptCertificate
- setCiphertext(String) - Method in class com.wechat.pay.java.core.notification.Resource
- setCreateTime(String) - Method in class com.wechat.pay.java.core.notification.Notification
- setData(List<Data>) - Method in class com.wechat.pay.java.core.certificate.model.DownloadCertificateResponse
- setEffectiveTime(String) - Method in class com.wechat.pay.java.core.certificate.model.Data
- setEncryptCertificate(EncryptCertificate) - Method in class com.wechat.pay.java.core.certificate.model.Data
- setEventType(String) - Method in class com.wechat.pay.java.core.notification.Notification
- setExpireTime(String) - Method in class com.wechat.pay.java.core.certificate.model.Data
- setId(String) - Method in class com.wechat.pay.java.core.notification.Notification
- setNonce(String) - Method in class com.wechat.pay.java.core.certificate.model.EncryptCertificate
- setNonce(String) - Method in class com.wechat.pay.java.core.notification.Resource
- setOriginalType(String) - Method in class com.wechat.pay.java.core.notification.Resource
- setPlaintext(String) - Method in class com.wechat.pay.java.core.notification.Notification
- setResource(Resource) - Method in class com.wechat.pay.java.core.notification.Notification
- setResourceType(String) - Method in class com.wechat.pay.java.core.notification.Notification
- setSerialNo(String) - Method in class com.wechat.pay.java.core.certificate.model.Data
- setSummary(String) - Method in class com.wechat.pay.java.core.notification.Notification
- SHA1 - Static variable in class com.wechat.pay.java.core.util.ShaUtil
- SHA256 - Static variable in class com.wechat.pay.java.core.util.ShaUtil
- SHA256WITHRSA - Static variable in class com.wechat.pay.java.core.cipher.Constant
- ShaUtil - Class in com.wechat.pay.java.core.util
-
SHA工具
- shutdown() - Static method in class com.wechat.pay.java.core.certificate.AutoCertificateService
-
清理所有已注册的下载器和已下载的证书,并取消定时更新证书的动作。
- sign(String) - Method in class com.wechat.pay.java.core.cipher.AbstractSigner
- sign(String) - Method in interface com.wechat.pay.java.core.cipher.Signer
-
生成签名结果
- signature(String) - Method in class com.wechat.pay.java.core.notification.RequestParam.Builder
- SignatureResult - Class in com.wechat.pay.java.core.cipher
-
签名结果
- SignatureResult(String, String) - Constructor for class com.wechat.pay.java.core.cipher.SignatureResult
- Signer - Interface in com.wechat.pay.java.core.cipher
-
签名器
- signType - Variable in class com.wechat.pay.java.core.notification.AbstractNotificationConfig
- signType(String) - Method in class com.wechat.pay.java.core.notification.RequestParam.Builder
- start(Duration) - Static method in class com.wechat.pay.java.core.certificate.AutoCertificateService
-
启动更新证书的周期性动作
- statusCode(int) - Method in class com.wechat.pay.java.core.http.OriginalResponse.Builder
-
设置返回statusCode
- StringUtil - Class in com.wechat.pay.java.core.util
-
字符串工具类
T
- timestamp(String) - Method in class com.wechat.pay.java.core.notification.RequestParam.Builder
- toByteArray(InputStream) - Static method in class com.wechat.pay.java.core.util.IOUtil
-
转换输入流为字节数组
- toHexString(byte[]) - Static method in class com.wechat.pay.java.core.util.ShaUtil
-
转换字节数组为HEX编码字符串
- toIndentedString(Object) - Static method in class com.wechat.pay.java.core.util.StringUtil
-
将给定对象转换为字符串,每行缩进 4 个空格(除了首行)
- toJson(Object) - Static method in class com.wechat.pay.java.core.util.GsonUtil
-
转换对象为JSON格式字符串
- toString() - Method in class com.wechat.pay.java.core.certificate.model.Data
- toString() - Method in class com.wechat.pay.java.core.certificate.model.DownloadCertificateResponse
- toString() - Method in class com.wechat.pay.java.core.certificate.model.EncryptCertificate
- toString() - Method in class com.wechat.pay.java.core.cipher.SignatureResult
- toString() - Method in class com.wechat.pay.java.core.http.FileRequestBody
- toString() - Method in class com.wechat.pay.java.core.http.HttpHeaders
- toString() - Method in class com.wechat.pay.java.core.http.HttpRequest
- toString() - Method in class com.wechat.pay.java.core.http.HttpResponse
- toString() - Method in class com.wechat.pay.java.core.http.JsonRequestBody
- toString() - Method in class com.wechat.pay.java.core.http.JsonResponseBody
- toString() - Method in class com.wechat.pay.java.core.notification.Notification
- toString() - Method in class com.wechat.pay.java.core.notification.RequestParam
- toString() - Method in class com.wechat.pay.java.core.notification.Resource
- toString(InputStream) - Static method in class com.wechat.pay.java.core.util.IOUtil
-
转换输入流为字符串
U
- unregister(String, String) - Static method in class com.wechat.pay.java.core.certificate.AutoCertificateService
-
注销证书下载任务
- UPDATE_INTERVAL_MINUTE - Static variable in class com.wechat.pay.java.core.certificate.AutoCertificateService
- url(String) - Method in class com.wechat.pay.java.core.http.HttpRequest.Builder
-
设置url
- url(URL) - Method in class com.wechat.pay.java.core.http.HttpRequest.Builder
-
设置url
- urlEncode(String) - Static method in class com.wechat.pay.java.core.http.UrlEncoder
-
对参数进行url编码
- UrlEncoder - Class in com.wechat.pay.java.core.http
- UrlEncoder() - Constructor for class com.wechat.pay.java.core.http.UrlEncoder
- USER_AGENT - Static variable in class com.wechat.pay.java.core.http.Constant
- USER_AGENT_FORMAT - Static variable in class com.wechat.pay.java.core.http.Constant
-
User-Agent头部值格式:WechatPay-Java/版本 操作系统/版本 Java/版本 Credential/Credential信息 Validator/Validator信息 HttpClient信息 示例: WechatPay-Java/0.0.1 (Linux/3.10.0-957.el7.x86_64) Java/1.8.0_222 Crendetial/WechatPay2Crendetial Validator/WechatPay2Validator okhttp3/4.9.3
V
- validate(HttpHeaders, String) - Method in interface com.wechat.pay.java.core.auth.Validator
-
验证返回是否合法
- validate(HttpHeaders, String) - Method in class com.wechat.pay.java.core.auth.WechatPay2Validator
- validateCertPath(X509Certificate) - Method in interface com.wechat.pay.java.core.certificate.CertificateHandler
-
* 验证证书链(不推荐验证,如果证书过期不及时更换会导致验证失败,从而影响业务)
- ValidationException - Exception in com.wechat.pay.java.core.exception
-
验证签名失败时抛出
- ValidationException(String) - Constructor for exception com.wechat.pay.java.core.exception.ValidationException
- ValidationException(String, Throwable) - Constructor for exception com.wechat.pay.java.core.exception.ValidationException
- validator - Variable in class com.wechat.pay.java.core.http.AbstractHttpClient
- validator(Validator) - Method in interface com.wechat.pay.java.core.http.AbstractHttpClientBuilder
-
设置验证器
- validator(Validator) - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
-
设置验证器
- Validator - Interface in com.wechat.pay.java.core.auth
-
验证器
- valueOf(String) - Static method in enum class com.wechat.pay.java.core.http.HostName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.wechat.pay.java.core.http.HttpMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.wechat.pay.java.core.http.MediaType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.wechat.pay.java.core.http.HostName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.wechat.pay.java.core.http.HttpMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.wechat.pay.java.core.http.MediaType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Verifier - Interface in com.wechat.pay.java.core.cipher
-
验签器
- verify(String, String, String) - Method in class com.wechat.pay.java.core.cipher.AbstractVerifier
- verify(String, String, String) - Method in interface com.wechat.pay.java.core.cipher.Verifier
-
验证签名
- verify(X509Certificate, String, String) - Method in class com.wechat.pay.java.core.cipher.AbstractVerifier
- VERSION - Static variable in class com.wechat.pay.java.core.http.Constant
W
- WECHAT_PAY_NONCE - Static variable in class com.wechat.pay.java.core.http.Constant
- WECHAT_PAY_SERIAL - Static variable in class com.wechat.pay.java.core.http.Constant
- WECHAT_PAY_SIGNATURE - Static variable in class com.wechat.pay.java.core.http.Constant
- WECHAT_PAY_TIMESTAMP - Static variable in class com.wechat.pay.java.core.http.Constant
- WechatPay2Credential - Class in com.wechat.pay.java.core.auth
-
微信支付认证凭据生成器
- WechatPay2Credential(String, Signer) - Constructor for class com.wechat.pay.java.core.auth.WechatPay2Credential
- WechatPay2Validator - Class in com.wechat.pay.java.core.auth
-
微信支付返回验证器
- WechatPay2Validator(Verifier) - Constructor for class com.wechat.pay.java.core.auth.WechatPay2Validator
- wechatPayCertificates(String...) - Method in class com.wechat.pay.java.core.RSAConfig.Builder
- wechatPayCertificatesFromPath(String...) - Method in class com.wechat.pay.java.core.RSAConfig.Builder
- WechatPayException - Exception in com.wechat.pay.java.core.exception
-
微信支付异常基类
- WechatPayException(String) - Constructor for exception com.wechat.pay.java.core.exception.WechatPayException
- WechatPayException(String, Throwable) - Constructor for exception com.wechat.pay.java.core.exception.WechatPayException
- writeTimeoutMs(int) - Method in class com.wechat.pay.java.core.http.DefaultHttpClientBuilder
-
设置写超时
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form