yangys
2025-05-26 2ba2c339acf41fd7bb2a49f0ce186fd664a80cb5
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
package com.qianwen.license.dto;
 
import java.util.Date;
 
/**
 * 创建证书的所有参数,由表单提交而来
 */
public class LicenseCreateDTO {
    /**
     * 证书授权主体
     */
    private String subject;
    /**
     * 私钥别名
     */
    private String privateAlias;
    /**
     * 私钥密码(需要妥善保管,不能让使用者知道)
     */
    private String keyPass;
     
    /**
     * 访问私钥库的密码
     */
    private String storePass;
    /**
     * 证书存储地址(证书文件全路径)
     */
    private String licensePath;
    
 
    /**
     * 私钥库所在地址
     */
    private String privateKeysStorePath;
    
    
    /**
     * 证书生效时间
     */
    private Date issuedTime;
    /**
     * 证书过期时间
     */
    private Date expiryTime;
    /**
     * 用户类型,如"user"
     */
    private String consumerType;
    /**
     * 用户数量
     */
    private Integer consumerAmount;
    /**
     * 描述
     */
    private String description;
    /**
     * 可被允许的IP地址
     */
    private String ipAddress;
     
    /**
     * 可被允许的MAC地址,多个用逗号分隔
     */
    private String macAddress;
 
    /**
     * 可被允许的CPU序列号
     */
    private String cpuSerial;
 
    /**
     * 可被允许的主板序列号
     */
    private String mainBoardSerial;
    
    /**
     * 扩展数据,用于其他的授权参数
     */
    private String extData;
 
    public String getSubject() {
        return subject;
    }
 
    public void setSubject(String subject) {
        this.subject = subject;
    }
 
    public String getPrivateAlias() {
        return privateAlias;
    }
 
    public void setPrivateAlias(String privateAlias) {
        this.privateAlias = privateAlias;
    }
 
    public String getKeyPass() {
        return keyPass;
    }
 
    public void setKeyPass(String keyPass) {
        this.keyPass = keyPass;
    }
 
    public String getStorePass() {
        return storePass;
    }
 
    public void setStorePass(String storePass) {
        this.storePass = storePass;
    }
 
    public String getLicensePath() {
        return licensePath;
    }
 
    public void setLicensePath(String licensePath) {
        this.licensePath = licensePath;
    }
 
    public String getPrivateKeysStorePath() {
        return privateKeysStorePath;
    }
 
    public void setPrivateKeysStorePath(String privateKeysStorePath) {
        this.privateKeysStorePath = privateKeysStorePath;
    }
 
    public Date getIssuedTime() {
        return issuedTime;
    }
 
    public void setIssuedTime(Date issuedTime) {
        this.issuedTime = issuedTime;
    }
 
    public Date getExpiryTime() {
        return expiryTime;
    }
 
    public void setExpiryTime(Date expiryTime) {
        this.expiryTime = expiryTime;
    }
 
    public String getConsumerType() {
        return consumerType;
    }
 
    public void setConsumerType(String consumerType) {
        this.consumerType = consumerType;
    }
 
    public Integer getConsumerAmount() {
        return consumerAmount;
    }
 
    public void setConsumerAmount(Integer consumerAmount) {
        this.consumerAmount = consumerAmount;
    }
 
    public String getDescription() {
        return description;
    }
 
    public void setDescription(String description) {
        this.description = description;
    }
 
    public String getIpAddress() {
        return ipAddress;
    }
 
    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }
 
    public String getMacAddress() {
        return macAddress;
    }
 
    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }
 
    public String getCpuSerial() {
        return cpuSerial;
    }
 
    public void setCpuSerial(String cpuSerial) {
        this.cpuSerial = cpuSerial;
    }
 
    public String getMainBoardSerial() {
        return mainBoardSerial;
    }
 
    public void setMainBoardSerial(String mainBoardSerial) {
        this.mainBoardSerial = mainBoardSerial;
    }
 
    public String getExtData() {
        return extData;
    }
 
    public void setExtData(String extData) {
        this.extData = extData;
    }
 
    
}