public class CertInfo extends AbstractModel
skipSign
Constructor and Description |
---|
CertInfo() |
CertInfo(CertInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getCertContent()
Get Public key of the uploaded certificate.
|
String |
getCertId()
Get ID of the certificate.
|
String |
getCertKey()
Get Private key of the uploaded server certificate.
|
String |
getCertName()
Get Name of the uploaded certificate.
|
void |
setCertContent(String CertContent)
Set Public key of the uploaded certificate.
|
void |
setCertId(String CertId)
Set ID of the certificate.
|
void |
setCertKey(String CertKey)
Set Private key of the uploaded server certificate.
|
void |
setCertName(String CertName)
Set Name of the uploaded certificate.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CertInfo()
public CertInfo(CertInfo source)
public String getCertId()
public void setCertId(String CertId)
CertId
- ID of the certificate. If it's not specified, `CertContent` and `CertKey` are required. For a server certificate, you also need to specify `CertName`.public String getCertName()
public void setCertName(String CertName)
CertName
- Name of the uploaded certificate. It's required if `CertId` is not specified.public String getCertContent()
public void setCertContent(String CertContent)
CertContent
- Public key of the uploaded certificate. This is required if `CertId` is not specified.public String getCertKey()
public void setCertKey(String CertKey)
CertKey
- Private key of the uploaded server certificate. This is required if `CertId` is not specified.Copyright © 2023. All rights reserved.