Uses of Enum Class
com.bytedesk.wechat.pay.sdk.WXPayConstants.SignType
Packages that use WXPayConstants.SignType
-
Uses of WXPayConstants.SignType in com.bytedesk.wechat.pay.sdk
Fields in com.bytedesk.wechat.pay.sdk declared as WXPayConstants.SignTypeMethods in com.bytedesk.wechat.pay.sdk that return WXPayConstants.SignTypeModifier and TypeMethodDescriptionstatic WXPayConstants.SignTypeReturns the enum constant of this class with the specified name.static WXPayConstants.SignType[]WXPayConstants.SignType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.bytedesk.wechat.pay.sdk with parameters of type WXPayConstants.SignTypeModifier and TypeMethodDescriptionstatic StringWXPayUtil.generateSignature(Map<String, String> data, String key, WXPayConstants.SignType signType) 生成签名.static StringWXPayUtil.generateSignedXml(Map<String, String> data, String key, WXPayConstants.SignType signType) 生成带有 sign 的 XML 格式字符串static booleanWXPayUtil.isSignatureValid(Map<String, String> data, String key, WXPayConstants.SignType signType) 判断签名是否正确,必须包含sign字段,否则返回false。