tencentcloud-sdk-python-ssl 3.0.1394__tar.gz → 3.0.1401__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/setup.py +1 -1
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/tencentcloud/ssl/v20191205/errorcodes.py +12 -0
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/tencentcloud/ssl/v20191205/models.py +137 -8
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/tencentcloud_sdk_python_ssl.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ssl-3.0.1401/tencentcloud_sdk_python_ssl.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ssl-3.0.1394/tencentcloud_sdk_python_ssl.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/README.rst +0 -0
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/tencentcloud/ssl/__init__.py +0 -0
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/tencentcloud/ssl/v20191205/__init__.py +0 -0
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/tencentcloud_sdk_python_ssl.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/tencentcloud_sdk_python_ssl.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ssl-3.0.1394 → tencentcloud-sdk-python-ssl-3.0.1401}/tencentcloud_sdk_python_ssl.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ssl',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1401"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ssl SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -143,6 +143,9 @@ FAILEDOPERATION_CERTIFICATEORDERSUBMITROOTCAINVALID = 'FailedOperation.Certifica
|
|
|
143
143
|
# 解析失败,请检查证书是否符合标准,请留意是否有多余的空格
|
|
144
144
|
FAILEDOPERATION_CERTIFICATEPARSEERROR = 'FailedOperation.CertificateParseError'
|
|
145
145
|
|
|
146
|
+
# 您输入的邮箱格式有误,请您核对后重新提交
|
|
147
|
+
FAILEDOPERATION_CERTIFICATEPREVERIFYEMAILINVALID = 'FailedOperation.CertificatePreVerifyEmailInvalid'
|
|
148
|
+
|
|
146
149
|
# 当前证书状态不允许下载。
|
|
147
150
|
FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWDOWNLOAD = 'FailedOperation.CertificateStatusNotAllowDownload'
|
|
148
151
|
|
|
@@ -251,6 +254,12 @@ FAILEDOPERATION_SYSTEMERROR = 'FailedOperation.SystemError'
|
|
|
251
254
|
# 计费中心错误。
|
|
252
255
|
FAILEDOPERATION_TRADEERROR = 'FailedOperation.TradeError'
|
|
253
256
|
|
|
257
|
+
# 当前接口不支持上传确认函功能,请去腾讯云控制台进行操作
|
|
258
|
+
FAILEDOPERATION_UPLOADCONFIRMCERTIFICATENOTSUPPORT = 'FailedOperation.UploadConfirmCertificateNotSupport'
|
|
259
|
+
|
|
260
|
+
# 当前证书是DV证书,不支持上传确认函
|
|
261
|
+
FAILEDOPERATION_UPLOADCONFIRMCERTIFICATENOTSUPPORTDV = 'FailedOperation.UploadConfirmCertificateNotSupportDV'
|
|
262
|
+
|
|
254
263
|
# 内部错误。
|
|
255
264
|
INTERNALERROR = 'InternalError'
|
|
256
265
|
|
|
@@ -293,6 +302,9 @@ INVALIDPARAMETER_PERIODINVALID = 'InvalidParameter.PeriodInvalid'
|
|
|
293
302
|
# 产品PID无效。
|
|
294
303
|
INVALIDPARAMETER_PRODUCTPIDINVALID = 'InvalidParameter.ProductPidInvalid'
|
|
295
304
|
|
|
305
|
+
# Region不允许为空
|
|
306
|
+
INVALIDPARAMETER_REGIONNOTEMPTY = 'InvalidParameter.RegionNotEmpty'
|
|
307
|
+
|
|
296
308
|
# 算法无效。
|
|
297
309
|
INVALIDPARAMETER_RENEWALGORITHMINVALID = 'InvalidParameter.RenewAlgorithmInvalid'
|
|
298
310
|
|
|
@@ -1520,11 +1520,10 @@ FILE:手动添加域名文件验证。 需要用户手动在域名站点根目
|
|
|
1520
1520
|
:type ContactEmail: str
|
|
1521
1521
|
:param _AutoRenewFlag: 是否开启自动续费: 0, 不开启; 1, 开启; 默认为0
|
|
1522
1522
|
:type AutoRenewFlag: int
|
|
1523
|
-
:param _CsrKeyParameter: 密钥对参数,RSA支持2048,4096。ECC仅支持prime256v1
|
|
1524
|
-
|
|
1523
|
+
:param _CsrKeyParameter: 密钥对参数,RSA支持2048,4096。ECC仅支持prime256v1。当 CSR 生成方式为online的时候,此参数必填。
|
|
1524
|
+
|
|
1525
1525
|
:type CsrKeyParameter: str
|
|
1526
|
-
:param _CsrEncryptAlgo: 加密算法,取值为ECC、RSA, 默认为RSA
|
|
1527
|
-
国密证书类型本字段不用传
|
|
1526
|
+
:param _CsrEncryptAlgo: 加密算法,取值为ECC、RSA, 默认为RSA。当 CSR 生成方式为online的时候,此参数必填。
|
|
1528
1527
|
:type CsrEncryptAlgo: str
|
|
1529
1528
|
:param _ManagerId: 管理人ID,在 [腾讯云控制台](https://console.cloud.tencent.com/ssl/info) 可进行查看,若无满足的管理人信息, 则本参数传0 ; 若存在满足当前订单的管理人信息, 可以根据 [DescribeManagers](https://cloud.tencent.com/document/product/400/52672) 查看管理人ID; 若传了管理人ID,则Org开头、Admin开头、Tech开头的参数可不传; 管理人ID会包含公司信息
|
|
1530
1529
|
|
|
@@ -1958,8 +1957,8 @@ FILE:手动添加域名文件验证。 需要用户手动在域名站点根目
|
|
|
1958
1957
|
|
|
1959
1958
|
@property
|
|
1960
1959
|
def CsrKeyParameter(self):
|
|
1961
|
-
"""密钥对参数,RSA支持2048,4096。ECC仅支持prime256v1
|
|
1962
|
-
|
|
1960
|
+
"""密钥对参数,RSA支持2048,4096。ECC仅支持prime256v1。当 CSR 生成方式为online的时候,此参数必填。
|
|
1961
|
+
|
|
1963
1962
|
:rtype: str
|
|
1964
1963
|
"""
|
|
1965
1964
|
return self._CsrKeyParameter
|
|
@@ -1970,8 +1969,7 @@ FILE:手动添加域名文件验证。 需要用户手动在域名站点根目
|
|
|
1970
1969
|
|
|
1971
1970
|
@property
|
|
1972
1971
|
def CsrEncryptAlgo(self):
|
|
1973
|
-
"""加密算法,取值为ECC、RSA, 默认为RSA
|
|
1974
|
-
国密证书类型本字段不用传
|
|
1972
|
+
"""加密算法,取值为ECC、RSA, 默认为RSA。当 CSR 生成方式为online的时候,此参数必填。
|
|
1975
1973
|
:rtype: str
|
|
1976
1974
|
"""
|
|
1977
1975
|
return self._CsrEncryptAlgo
|
|
@@ -2480,6 +2478,8 @@ null:用户上传证书(没有套餐类型),
|
|
|
2480
2478
|
:param _HostingConfig: 托管配置信息
|
|
2481
2479
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2482
2480
|
:type HostingConfig: :class:`tencentcloud.ssl.v20191205.models.HostingConfig`
|
|
2481
|
+
:param _IsHostingUploadRenewCert: 是否是上传托管续费证书
|
|
2482
|
+
:type IsHostingUploadRenewCert: bool
|
|
2483
2483
|
"""
|
|
2484
2484
|
self._OwnerUin = None
|
|
2485
2485
|
self._ProjectId = None
|
|
@@ -2537,6 +2537,7 @@ null:用户上传证书(没有套餐类型),
|
|
|
2537
2537
|
self._CertRevokedTime = None
|
|
2538
2538
|
self._HostingResourceTypes = None
|
|
2539
2539
|
self._HostingConfig = None
|
|
2540
|
+
self._IsHostingUploadRenewCert = None
|
|
2540
2541
|
|
|
2541
2542
|
@property
|
|
2542
2543
|
def OwnerUin(self):
|
|
@@ -3243,6 +3244,17 @@ null:用户上传证书(没有套餐类型),
|
|
|
3243
3244
|
def HostingConfig(self, HostingConfig):
|
|
3244
3245
|
self._HostingConfig = HostingConfig
|
|
3245
3246
|
|
|
3247
|
+
@property
|
|
3248
|
+
def IsHostingUploadRenewCert(self):
|
|
3249
|
+
"""是否是上传托管续费证书
|
|
3250
|
+
:rtype: bool
|
|
3251
|
+
"""
|
|
3252
|
+
return self._IsHostingUploadRenewCert
|
|
3253
|
+
|
|
3254
|
+
@IsHostingUploadRenewCert.setter
|
|
3255
|
+
def IsHostingUploadRenewCert(self, IsHostingUploadRenewCert):
|
|
3256
|
+
self._IsHostingUploadRenewCert = IsHostingUploadRenewCert
|
|
3257
|
+
|
|
3246
3258
|
|
|
3247
3259
|
def _deserialize(self, params):
|
|
3248
3260
|
self._OwnerUin = params.get("OwnerUin")
|
|
@@ -3316,6 +3328,7 @@ null:用户上传证书(没有套餐类型),
|
|
|
3316
3328
|
if params.get("HostingConfig") is not None:
|
|
3317
3329
|
self._HostingConfig = HostingConfig()
|
|
3318
3330
|
self._HostingConfig._deserialize(params.get("HostingConfig"))
|
|
3331
|
+
self._IsHostingUploadRenewCert = params.get("IsHostingUploadRenewCert")
|
|
3319
3332
|
memeber_set = set(params.keys())
|
|
3320
3333
|
for name, value in vars(self).items():
|
|
3321
3334
|
property_name = name[1:]
|
|
@@ -7816,6 +7829,10 @@ null:用户上传证书(没有套餐类型),
|
|
|
7816
7829
|
:param _CertChainInfo: 证书链信息
|
|
7817
7830
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7818
7831
|
:type CertChainInfo: list of CertBasicInfo
|
|
7832
|
+
:param _DomainType: 证书域名类型, 1(单域名);2(多域名);3(泛域名);4(多泛域名)
|
|
7833
|
+
:type DomainType: int
|
|
7834
|
+
:param _CertType: 证书类型,DV(域名型);OV(企业型);EV(增强型)
|
|
7835
|
+
:type CertType: str
|
|
7819
7836
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7820
7837
|
:type RequestId: str
|
|
7821
7838
|
"""
|
|
@@ -7861,6 +7878,8 @@ null:用户上传证书(没有套餐类型),
|
|
|
7861
7878
|
self._EncryptAlgorithm = None
|
|
7862
7879
|
self._DvRevokeAuthDetail = None
|
|
7863
7880
|
self._CertChainInfo = None
|
|
7881
|
+
self._DomainType = None
|
|
7882
|
+
self._CertType = None
|
|
7864
7883
|
self._RequestId = None
|
|
7865
7884
|
|
|
7866
7885
|
@property
|
|
@@ -8443,6 +8462,28 @@ null:用户上传证书(没有套餐类型),
|
|
|
8443
8462
|
def CertChainInfo(self, CertChainInfo):
|
|
8444
8463
|
self._CertChainInfo = CertChainInfo
|
|
8445
8464
|
|
|
8465
|
+
@property
|
|
8466
|
+
def DomainType(self):
|
|
8467
|
+
"""证书域名类型, 1(单域名);2(多域名);3(泛域名);4(多泛域名)
|
|
8468
|
+
:rtype: int
|
|
8469
|
+
"""
|
|
8470
|
+
return self._DomainType
|
|
8471
|
+
|
|
8472
|
+
@DomainType.setter
|
|
8473
|
+
def DomainType(self, DomainType):
|
|
8474
|
+
self._DomainType = DomainType
|
|
8475
|
+
|
|
8476
|
+
@property
|
|
8477
|
+
def CertType(self):
|
|
8478
|
+
"""证书类型,DV(域名型);OV(企业型);EV(增强型)
|
|
8479
|
+
:rtype: str
|
|
8480
|
+
"""
|
|
8481
|
+
return self._CertType
|
|
8482
|
+
|
|
8483
|
+
@CertType.setter
|
|
8484
|
+
def CertType(self, CertType):
|
|
8485
|
+
self._CertType = CertType
|
|
8486
|
+
|
|
8446
8487
|
@property
|
|
8447
8488
|
def RequestId(self):
|
|
8448
8489
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -8521,6 +8562,8 @@ null:用户上传证书(没有套餐类型),
|
|
|
8521
8562
|
obj = CertBasicInfo()
|
|
8522
8563
|
obj._deserialize(item)
|
|
8523
8564
|
self._CertChainInfo.append(obj)
|
|
8565
|
+
self._DomainType = params.get("DomainType")
|
|
8566
|
+
self._CertType = params.get("CertType")
|
|
8524
8567
|
self._RequestId = params.get("RequestId")
|
|
8525
8568
|
|
|
8526
8569
|
|
|
@@ -15279,6 +15322,72 @@ class ManagerInfo(AbstractModel):
|
|
|
15279
15322
|
|
|
15280
15323
|
|
|
15281
15324
|
|
|
15325
|
+
class ManagerPreAuditDomain(AbstractModel):
|
|
15326
|
+
"""管理人预审核的域名列表
|
|
15327
|
+
|
|
15328
|
+
"""
|
|
15329
|
+
|
|
15330
|
+
def __init__(self):
|
|
15331
|
+
r"""
|
|
15332
|
+
:param _Domain: 预审核域名信息
|
|
15333
|
+
:type Domain: str
|
|
15334
|
+
:param _CreateTime: 预审核域名创建时间
|
|
15335
|
+
:type CreateTime: str
|
|
15336
|
+
:param _ExpireTime: 预审核域名过期时间
|
|
15337
|
+
:type ExpireTime: str
|
|
15338
|
+
"""
|
|
15339
|
+
self._Domain = None
|
|
15340
|
+
self._CreateTime = None
|
|
15341
|
+
self._ExpireTime = None
|
|
15342
|
+
|
|
15343
|
+
@property
|
|
15344
|
+
def Domain(self):
|
|
15345
|
+
"""预审核域名信息
|
|
15346
|
+
:rtype: str
|
|
15347
|
+
"""
|
|
15348
|
+
return self._Domain
|
|
15349
|
+
|
|
15350
|
+
@Domain.setter
|
|
15351
|
+
def Domain(self, Domain):
|
|
15352
|
+
self._Domain = Domain
|
|
15353
|
+
|
|
15354
|
+
@property
|
|
15355
|
+
def CreateTime(self):
|
|
15356
|
+
"""预审核域名创建时间
|
|
15357
|
+
:rtype: str
|
|
15358
|
+
"""
|
|
15359
|
+
return self._CreateTime
|
|
15360
|
+
|
|
15361
|
+
@CreateTime.setter
|
|
15362
|
+
def CreateTime(self, CreateTime):
|
|
15363
|
+
self._CreateTime = CreateTime
|
|
15364
|
+
|
|
15365
|
+
@property
|
|
15366
|
+
def ExpireTime(self):
|
|
15367
|
+
"""预审核域名过期时间
|
|
15368
|
+
:rtype: str
|
|
15369
|
+
"""
|
|
15370
|
+
return self._ExpireTime
|
|
15371
|
+
|
|
15372
|
+
@ExpireTime.setter
|
|
15373
|
+
def ExpireTime(self, ExpireTime):
|
|
15374
|
+
self._ExpireTime = ExpireTime
|
|
15375
|
+
|
|
15376
|
+
|
|
15377
|
+
def _deserialize(self, params):
|
|
15378
|
+
self._Domain = params.get("Domain")
|
|
15379
|
+
self._CreateTime = params.get("CreateTime")
|
|
15380
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
15381
|
+
memeber_set = set(params.keys())
|
|
15382
|
+
for name, value in vars(self).items():
|
|
15383
|
+
property_name = name[1:]
|
|
15384
|
+
if property_name in memeber_set:
|
|
15385
|
+
memeber_set.remove(property_name)
|
|
15386
|
+
if len(memeber_set) > 0:
|
|
15387
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15388
|
+
|
|
15389
|
+
|
|
15390
|
+
|
|
15282
15391
|
class ManagerStatusInfo(AbstractModel):
|
|
15283
15392
|
"""管理人的四种审核状态
|
|
15284
15393
|
|
|
@@ -15294,11 +15403,14 @@ class ManagerStatusInfo(AbstractModel):
|
|
|
15294
15403
|
:type CreateTime: str
|
|
15295
15404
|
:param _ExpireTime: 过期时间
|
|
15296
15405
|
:type ExpireTime: str
|
|
15406
|
+
:param _ManagerPreAuditDomains: 管理人预审核的域名列表
|
|
15407
|
+
:type ManagerPreAuditDomains: list of ManagerPreAuditDomain
|
|
15297
15408
|
"""
|
|
15298
15409
|
self._Type = None
|
|
15299
15410
|
self._Status = None
|
|
15300
15411
|
self._CreateTime = None
|
|
15301
15412
|
self._ExpireTime = None
|
|
15413
|
+
self._ManagerPreAuditDomains = None
|
|
15302
15414
|
|
|
15303
15415
|
@property
|
|
15304
15416
|
def Type(self):
|
|
@@ -15344,12 +15456,29 @@ class ManagerStatusInfo(AbstractModel):
|
|
|
15344
15456
|
def ExpireTime(self, ExpireTime):
|
|
15345
15457
|
self._ExpireTime = ExpireTime
|
|
15346
15458
|
|
|
15459
|
+
@property
|
|
15460
|
+
def ManagerPreAuditDomains(self):
|
|
15461
|
+
"""管理人预审核的域名列表
|
|
15462
|
+
:rtype: list of ManagerPreAuditDomain
|
|
15463
|
+
"""
|
|
15464
|
+
return self._ManagerPreAuditDomains
|
|
15465
|
+
|
|
15466
|
+
@ManagerPreAuditDomains.setter
|
|
15467
|
+
def ManagerPreAuditDomains(self, ManagerPreAuditDomains):
|
|
15468
|
+
self._ManagerPreAuditDomains = ManagerPreAuditDomains
|
|
15469
|
+
|
|
15347
15470
|
|
|
15348
15471
|
def _deserialize(self, params):
|
|
15349
15472
|
self._Type = params.get("Type")
|
|
15350
15473
|
self._Status = params.get("Status")
|
|
15351
15474
|
self._CreateTime = params.get("CreateTime")
|
|
15352
15475
|
self._ExpireTime = params.get("ExpireTime")
|
|
15476
|
+
if params.get("ManagerPreAuditDomains") is not None:
|
|
15477
|
+
self._ManagerPreAuditDomains = []
|
|
15478
|
+
for item in params.get("ManagerPreAuditDomains"):
|
|
15479
|
+
obj = ManagerPreAuditDomain()
|
|
15480
|
+
obj._deserialize(item)
|
|
15481
|
+
self._ManagerPreAuditDomains.append(obj)
|
|
15353
15482
|
memeber_set = set(params.keys())
|
|
15354
15483
|
for name, value in vars(self).items():
|
|
15355
15484
|
property_name = name[1:]
|
|
@@ -1414,7 +1414,7 @@ class SslClient(AbstractClient):
|
|
|
1414
1414
|
|
|
1415
1415
|
|
|
1416
1416
|
def UploadConfirmLetter(self, request):
|
|
1417
|
-
"""本接口(UploadConfirmLetter
|
|
1417
|
+
"""本接口(UploadConfirmLetter)上传证书确认函,不再维护其功能,请用户前往腾讯云证书控制台上传证书确认函
|
|
1418
1418
|
|
|
1419
1419
|
:param request: Request instance for UploadConfirmLetter.
|
|
1420
1420
|
:type request: :class:`tencentcloud.ssl.v20191205.models.UploadConfirmLetterRequest`
|
|
@@ -1437,7 +1437,7 @@ class SslClient(AbstractClient):
|
|
|
1437
1437
|
|
|
1438
1438
|
|
|
1439
1439
|
def UploadRevokeLetter(self, request):
|
|
1440
|
-
"""本接口(UploadRevokeLetter
|
|
1440
|
+
"""本接口(UploadRevokeLetter)上传证书吊销确认函,不再维护其功能,请用户前往腾讯云证书控制台上传证书吊销确认函
|
|
1441
1441
|
|
|
1442
1442
|
:param request: Request instance for UploadRevokeLetter.
|
|
1443
1443
|
:type request: :class:`tencentcloud.ssl.v20191205.models.UploadRevokeLetterRequest`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1401
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1394
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|