zhibing.pu
2024-08-24 49148072078220c92f94f2e7ea25cd79a6810fc7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.ruoyi.payment.ali.config;
 
/**
 * @author zhibing.pu
 * @Date 2024/8/23 16:22
 */
public enum SignType {
    /**
     * V2版本
     */
    RSA2("RSA2"),
    /**
     * V3版本
     */
    RSA3("RSA2"),
    /**
     * 秘钥
     */
    SECRET_KEY("secret"),
    /**
     * 证书
     */
    CERT("cert");
    
    
    private String type;
    
    public String getType() {
        return type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    SignType(String type) {
        this.type = type;
    }
}