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;
|
}
|
|
|
}
|