1 package com.foxinmy.weixin4j.sign;
2
3 import com.foxinmy.weixin4j.type.SignType;
4
5 /**
6 * 微信签名
7 *
8 * @className WeixinSignature
9 * @author jinyu(foxinmy@gmail.com)
10 * @date 2016年3月26日
11 * @since JDK 1.6
12 * @see
13 * @deprecated 迁移到子模块weixin4j-pay
14 */
15 @Deprecated
16 public interface WeixinSignature {
17 /**
18 * 是否编码
19 *
20 * @return
21 */
22 public boolean encoder();
23
24 /**
25 * 是否转换小写
26 *
27 * @return
28 */
29 public boolean lowerCase();
30
31 /**
32 * 签名类型
33 *
34 * @return
35 */
36 public SignType getSignType();
37
38 /**
39 * 签名
40 *
41 * @param obj
42 * @return
43 */
44 public String sign(Object obj);
45 }