public class ApplyCertificateRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ApplyCertificateRequest() |
ApplyCertificateRequest(ApplyCertificateRequest 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 |
getAlias()
Get Certificate alias.
|
String |
getContactEmail()
Get The email associated with the certificate order, By default, it uses the Tencent Cloud account email.
|
String |
getContactPhone()
Get The mobile phone number associated with the certificate.
|
String |
getCsrEncryptAlgo()
Get Encryption algorithm, values can be ECC or RSA, default is RSA.
|
String |
getCsrKeyParameter()
Get Key pair parameters.
|
String |
getCsrKeyPassword()
Get Private key password, currently only used when generating jks, pfx format certificates; private key certificates of other formats are not encrypted.
|
Boolean |
getDeleteDnsAutoRecord()
Get Whether to delete the automatic domain name verification record after issuance, which is fasle by default.
|
String[] |
getDnsNames()
Get Other domains bound to the certificate, to be opened.
|
String |
getDomainName()
Get The domain bound to the certificate.
|
String |
getDvAuthMethod()
Get Certificate domain validation methods:
DNS_AUTO: Automatically add domain DNS validation.
|
String |
getOldCertificateId()
Get Old certificate id, used for certificate renewal (the certificate valid period is within 30 days and not expired), a renewal relationship will be established, which can be hosted; not providing it means applying for a new certificate.
|
String |
getPackageId()
Get Benefit package ID, used for free certificate expansion package, the free certificate expansion package has been discontinued.
|
String |
getPackageType()
Get Certificate type, optional, currently only type 83 is supported.
|
Long |
getProjectId()
Get The project ID associated with the certificate.
|
String |
getValidityPeriod()
Get Certificate valid period, 3 months by default, currently only 3 months is supported.
|
void |
setAlias(String Alias)
Set Certificate alias.
|
void |
setContactEmail(String ContactEmail)
Set The email associated with the certificate order, By default, it uses the Tencent Cloud account email.
|
void |
setContactPhone(String ContactPhone)
Set The mobile phone number associated with the certificate.
|
void |
setCsrEncryptAlgo(String CsrEncryptAlgo)
Set Encryption algorithm, values can be ECC or RSA, default is RSA.
|
void |
setCsrKeyParameter(String CsrKeyParameter)
Set Key pair parameters.
|
void |
setCsrKeyPassword(String CsrKeyPassword)
Set Private key password, currently only used when generating jks, pfx format certificates; private key certificates of other formats are not encrypted.
|
void |
setDeleteDnsAutoRecord(Boolean DeleteDnsAutoRecord)
Set Whether to delete the automatic domain name verification record after issuance, which is fasle by default.
|
void |
setDnsNames(String[] DnsNames)
Set Other domains bound to the certificate, to be opened.
|
void |
setDomainName(String DomainName)
Set The domain bound to the certificate.
|
void |
setDvAuthMethod(String DvAuthMethod)
Set Certificate domain validation methods:
DNS_AUTO: Automatically add domain DNS validation.
|
void |
setOldCertificateId(String OldCertificateId)
Set Old certificate id, used for certificate renewal (the certificate valid period is within 30 days and not expired), a renewal relationship will be established, which can be hosted; not providing it means applying for a new certificate.
|
void |
setPackageId(String PackageId)
Set Benefit package ID, used for free certificate expansion package, the free certificate expansion package has been discontinued.
|
void |
setPackageType(String PackageType)
Set Certificate type, optional, currently only type 83 is supported.
|
void |
setProjectId(Long ProjectId)
Set The project ID associated with the certificate.
|
void |
setValidityPeriod(String ValidityPeriod)
Set Certificate valid period, 3 months by default, currently only 3 months is supported.
|
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, toJsonString
public ApplyCertificateRequest()
public ApplyCertificateRequest(ApplyCertificateRequest source)
public String getDvAuthMethod()
public void setDvAuthMethod(String DvAuthMethod)
DvAuthMethod
- Certificate domain validation methods:
DNS_AUTO: Automatically add domain DNS validation. Requires the user's domain to be hosted on 'Cloud DNS' and associated with the same Tencent Cloud account as the certificate application.
DNS: Manually add domain DNS validation. Requires the user to manually add the validation value at their domain's DNS service provider.
FILE: Manually add domain file validation. Requires the user to manually add a specified path file in the root directory of the domain site for file validation. Either HTTP or HTTPS validation will suffice; the domain site must be accessible by overseas CA institutions. The specific access whitelist is: 64.78.193.238, 216.168.247.9, 216.168.249.9, 54.189.196.217.public String getDomainName()
public void setDomainName(String DomainName)
DomainName
- The domain bound to the certificate.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- The project ID associated with the certificate. Default is 0 (default project)public String getPackageType()
public void setPackageType(String PackageType)
PackageType
- Certificate type, optional, currently only type 83 is supported. 83 = trustasia c1 dv free.public String getContactEmail()
public void setContactEmail(String ContactEmail)
ContactEmail
- The email associated with the certificate order, By default, it uses the Tencent Cloud account email. If it does not exist, a fixed email address will be used.public String getContactPhone()
public void setContactPhone(String ContactPhone)
ContactPhone
- The mobile phone number associated with the certificate. If it does not exist, a fixed mobile phone number will be used.public String getValidityPeriod()
public void setValidityPeriod(String ValidityPeriod)
ValidityPeriod
- Certificate valid period, 3 months by default, currently only 3 months is supported.public String getCsrEncryptAlgo()
public void setCsrEncryptAlgo(String CsrEncryptAlgo)
CsrEncryptAlgo
- Encryption algorithm, values can be ECC or RSA, default is RSA.public String getCsrKeyParameter()
public void setCsrKeyParameter(String CsrKeyParameter)
CsrKeyParameter
- Key pair parameters. RSA supports only 2048. ECC supports only prime256v1. When the encryption algorithm is set to ECC, this parameter is mandatory.public String getCsrKeyPassword()
public void setCsrKeyPassword(String CsrKeyPassword)
CsrKeyPassword
- Private key password, currently only used when generating jks, pfx format certificates; private key certificates of other formats are not encrypted.public String getAlias()
public void setAlias(String Alias)
Alias
- Certificate alias.public String getOldCertificateId()
public void setOldCertificateId(String OldCertificateId)
OldCertificateId
- Old certificate id, used for certificate renewal (the certificate valid period is within 30 days and not expired), a renewal relationship will be established, which can be hosted; not providing it means applying for a new certificate.public String getPackageId()
public void setPackageId(String PackageId)
PackageId
- Benefit package ID, used for free certificate expansion package, the free certificate expansion package has been discontinued.public Boolean getDeleteDnsAutoRecord()
public void setDeleteDnsAutoRecord(Boolean DeleteDnsAutoRecord)
DeleteDnsAutoRecord
- Whether to delete the automatic domain name verification record after issuance, which is fasle by default. This parameter can be passed in only for domain names of the DNS_AUTO verification type.public String[] getDnsNames()
public void setDnsNames(String[] DnsNames)
DnsNames
- Other domains bound to the certificate, to be opened. This parameter is not currently supported.Copyright © 2025. All rights reserved.