public class CertificateInput extends AbstractModel
| Constructor and Description |
|---|
CertificateInput() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCertCaContent()
Get Content of the uploaded client certificate.
|
String |
getCertCaId()
Get ID of a client certificate.
|
String |
getCertCaName()
Get Name of the uploaded client CA certificate.
|
String |
getCertContent()
Get Content of the uploaded server certificate.
|
String |
getCertId()
Get ID of a server certificate.
|
String |
getCertKey()
Get Key of the uploaded server certificate.
|
String |
getCertName()
Get Name of the uploaded server certificate.
|
String |
getSSLMode()
Get Authentication type.
|
void |
setCertCaContent(String CertCaContent)
Set Content of the uploaded client certificate.
|
void |
setCertCaId(String CertCaId)
Set ID of a client certificate.
|
void |
setCertCaName(String CertCaName)
Set Name of the uploaded client CA certificate.
|
void |
setCertContent(String CertContent)
Set Content of the uploaded server certificate.
|
void |
setCertId(String CertId)
Set ID of a server certificate.
|
void |
setCertKey(String CertKey)
Set Key of the uploaded server certificate.
|
void |
setCertName(String CertName)
Set Name of the uploaded server certificate.
|
void |
setSSLMode(String SSLMode)
Set Authentication type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic String getSSLMode()
public void setSSLMode(String SSLMode)
SSLMode - Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication)public String getCertId()
public void setCertId(String CertId)
CertId - ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName.public String getCertCaId()
public void setCertCaId(String CertCaId)
CertCaId - ID of a client certificate. When the listener adopts mutual authentication (i.e., SSLMode = mutual), if you leave this parameter empty, you must upload the client certificate, including CertCaContent and CertCaName.public String getCertName()
public void setCertName(String CertName)
CertName - Name of the uploaded server certificate. If there is no CertId, this parameter is required.public String getCertKey()
public void setCertKey(String CertKey)
CertKey - Key of the uploaded server certificate. If there is no CertId, this parameter is required.public String getCertContent()
public void setCertContent(String CertContent)
CertContent - Content of the uploaded server certificate. If there is no CertId, this parameter is required.public String getCertCaName()
public void setCertCaName(String CertCaName)
CertCaName - Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.public String getCertCaContent()
public void setCertCaContent(String CertCaContent)
CertCaContent - Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required.Copyright © 2020. All rights reserved.