public class MutualTLS extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| MutualTLS() | 
| MutualTLS(MutualTLS 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 | 
|---|---|
| CertificateInfo[] | getCertInfos()Get 双向认证证书列表。
注意:MutualTLS 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。 | 
| String | getSwitch()Get 双向认证配置开关,取值有:
on:开启;
off:关闭。 | 
| void | setCertInfos(CertificateInfo[] CertInfos)Set 双向认证证书列表。
注意:MutualTLS 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。 | 
| void | setSwitch(String Switch)Set 双向认证配置开关,取值有:
on:开启;
off:关闭。 | 
| 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 MutualTLS()
public MutualTLS(MutualTLS source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - 双向认证配置开关,取值有:
public CertificateInfo[] getCertInfos()
public void setCertInfos(CertificateInfo[] CertInfos)
CertInfos - 双向认证证书列表。
注意:MutualTLS 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。Copyright © 2025. All rights reserved.