public class CreateCertificateRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateCertificateRequest() | 
| CreateCertificateRequest(CreateCertificateRequest 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 | getCertificateAlias()Get 证书名称 | 
| String | getCertificateContent()Get 证书内容。采用url编码。其中:
当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。
当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。 | 
| String | getCertificateKey()Get 密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。 | 
| Long | getCertificateType()Get 证书类型。其中:
0,表示基础认证配置;
1,表示客户端CA证书;
2,服务器SSL证书;
3,表示源站CA证书;
4,表示通道SSL证书。 | 
| void | setCertificateAlias(String CertificateAlias)Set 证书名称 | 
| void | setCertificateContent(String CertificateContent)Set 证书内容。采用url编码。其中:
当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。
当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。 | 
| void | setCertificateKey(String CertificateKey)Set 密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。 | 
| void | setCertificateType(Long CertificateType)Set 证书类型。其中:
0,表示基础认证配置;
1,表示客户端CA证书;
2,服务器SSL证书;
3,表示源站CA证书;
4,表示通道SSL证书。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateCertificateRequest()
public CreateCertificateRequest(CreateCertificateRequest source)
public Long getCertificateType()
public void setCertificateType(Long CertificateType)
CertificateType - 证书类型。其中:
0,表示基础认证配置;
1,表示客户端CA证书;
2,服务器SSL证书;
3,表示源站CA证书;
4,表示通道SSL证书。public String getCertificateContent()
public void setCertificateContent(String CertificateContent)
CertificateContent - 证书内容。采用url编码。其中:
当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。
当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。public String getCertificateAlias()
public void setCertificateAlias(String CertificateAlias)
CertificateAlias - 证书名称public String getCertificateKey()
public void setCertificateKey(String CertificateKey)
CertificateKey - 密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。Copyright © 2025. All rights reserved.