public class CertModel extends BaseModel
Modifier and Type | Class and Description |
---|---|
static class |
CertModel.Type
证书类型
|
Constructor and Description |
---|
CertModel() |
Modifier and Type | Method and Description |
---|---|
static com.alibaba.fastjson.JSONObject |
decodeCert(String file,
String key)
解析证书
|
String |
getCert() |
String |
getDomain() |
long |
getEffectiveTime() |
long |
getExpirationTime() |
String |
getKey() |
CertModel.Type |
getType() |
String |
getWhitePath() |
void |
setCert(String cert) |
void |
setDomain(String domain) |
void |
setEffectiveTime(long effectiveTime) |
void |
setExpirationTime(long expirationTime) |
void |
setKey(String key) |
void |
setType(CertModel.Type type) |
void |
setWhitePath(String whitePath) |
toJson
public CertModel.Type getType()
public void setType(CertModel.Type type)
public String getWhitePath()
public void setWhitePath(String whitePath)
public String getCert()
public void setCert(String cert)
public String getKey()
public void setKey(String key)
public long getExpirationTime()
public void setExpirationTime(long expirationTime)
public String getDomain()
public void setDomain(String domain)
public long getEffectiveTime()
public void setEffectiveTime(long effectiveTime)
Copyright © 2017–2022. All rights reserved.