tencentcloud-sdk-python-kms 3.1.196__py2.py3-none-any.whl → 3.1.215__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.196'
17
+ __version__ = '3.1.215'
@@ -757,17 +757,17 @@ class CreateKeyRequest(AbstractModel):
757
757
 
758
758
  def __init__(self):
759
759
  r"""
760
- :param _Alias: 作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字。以 kms- 作为前缀的用于云产品使用,Alias 不可重复。
760
+ :param _Alias: <p>作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字。以 kms- 作为前缀的用于云产品使用,Alias 不可重复。</p>
761
761
  :type Alias: str
762
- :param _Description: CMK 的描述,最大1024字节
762
+ :param _Description: <p>CMK 的描述,最大1024字节</p>
763
763
  :type Description: str
764
- :param _KeyUsage: 指定key的用途,默认为 "ENCRYPT_DECRYPT" 表示创建对称加解密密钥,其它支持用途 “ASYMMETRIC_DECRYPT_RSA_2048” 表示创建用于加解密的RSA2048非对称密钥,“ASYMMETRIC_DECRYPT_SM2” 表示创建用于加解密的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_SM2” 表示创建用于签名验签的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECC” 表示创建用于签名验签的ECC非对称密钥,“ASYMMETRIC_SIGN_VERIFY_RSA_2048” 表示创建用于签名验签的RSA_2048非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECDSA384”表示创建用于签名验签的 ECDSA384 非对称密钥。完整的密钥用途与算法支持列表可通过 ListAlgorithms 接口获取。
764
+ :param _KeyUsage: <p>指定key的用途,默认为 &quot;ENCRYPT_DECRYPT&quot; 表示创建对称加解密密钥,其它支持用途 “ASYMMETRIC_DECRYPT_RSA_2048” 表示创建用于加解密的RSA2048非对称密钥,“ASYMMETRIC_DECRYPT_RSA_3072”表示创建用于加解密的RSA3072非对称密钥,“ASYMMETRIC_DECRYPT_RSA_4096”表示创建用于加解密的RSA4096非对称密钥,“ASYMMETRIC_DECRYPT_SM2” 表示创建用于加解密的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_SM2” 表示创建用于签名验签的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECC” 表示创建用于签名验签的ECC非对称密钥,“ASYMMETRIC_SIGN_VERIFY_RSA_2048” 表示创建用于签名验签的RSA_2048非对称密钥,“ASYMMETRIC_SIGN_VERIFY_RSA_3072” 表示创建用于签名验签的RSA_3072非对称密钥,<br>“ASYMMETRIC_SIGN_VERIFY_RSA_4096” 表示创建用于签名验签的RSA_4096非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECDSA384”表示创建用于签名验签的 ECDSA384 非对称密钥。完整的密钥用途与算法支持列表可通过 ListAlgorithms 接口获取。</p>
765
765
  :type KeyUsage: str
766
- :param _Type: 指定key类型,默认为1,1表示默认类型,由KMS创建CMK密钥,2 表示EXTERNAL 类型,该类型需要用户导入密钥材料,参考 GetParametersForImport 和 ImportKeyMaterial 接口
766
+ :param _Type: <p>指定key类型,默认为1,1表示默认类型,由KMS创建CMK密钥,2 表示EXTERNAL 类型,该类型需要用户导入密钥材料,参考 GetParametersForImport 和 ImportKeyMaterial 接口</p>
767
767
  :type Type: int
768
- :param _Tags: 标签列表
768
+ :param _Tags: <p>标签列表</p>
769
769
  :type Tags: list of Tag
770
- :param _HsmClusterId: KMS 高级版对应的 HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)。
770
+ :param _HsmClusterId: <p>KMS 高级版对应的 HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)。</p>
771
771
  :type HsmClusterId: str
772
772
  """
773
773
  self._Alias = None
@@ -779,7 +779,7 @@ class CreateKeyRequest(AbstractModel):
779
779
 
780
780
  @property
781
781
  def Alias(self):
782
- r"""作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字。以 kms- 作为前缀的用于云产品使用,Alias 不可重复。
782
+ r"""<p>作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字。以 kms- 作为前缀的用于云产品使用,Alias 不可重复。</p>
783
783
  :rtype: str
784
784
  """
785
785
  return self._Alias
@@ -790,7 +790,7 @@ class CreateKeyRequest(AbstractModel):
790
790
 
791
791
  @property
792
792
  def Description(self):
793
- r"""CMK 的描述,最大1024字节
793
+ r"""<p>CMK 的描述,最大1024字节</p>
794
794
  :rtype: str
795
795
  """
796
796
  return self._Description
@@ -801,7 +801,7 @@ class CreateKeyRequest(AbstractModel):
801
801
 
802
802
  @property
803
803
  def KeyUsage(self):
804
- r"""指定key的用途,默认为 "ENCRYPT_DECRYPT" 表示创建对称加解密密钥,其它支持用途 “ASYMMETRIC_DECRYPT_RSA_2048” 表示创建用于加解密的RSA2048非对称密钥,“ASYMMETRIC_DECRYPT_SM2” 表示创建用于加解密的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_SM2” 表示创建用于签名验签的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECC” 表示创建用于签名验签的ECC非对称密钥,“ASYMMETRIC_SIGN_VERIFY_RSA_2048” 表示创建用于签名验签的RSA_2048非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECDSA384”表示创建用于签名验签的 ECDSA384 非对称密钥。完整的密钥用途与算法支持列表可通过 ListAlgorithms 接口获取。
804
+ r"""<p>指定key的用途,默认为 &quot;ENCRYPT_DECRYPT&quot; 表示创建对称加解密密钥,其它支持用途 “ASYMMETRIC_DECRYPT_RSA_2048” 表示创建用于加解密的RSA2048非对称密钥,“ASYMMETRIC_DECRYPT_RSA_3072”表示创建用于加解密的RSA3072非对称密钥,“ASYMMETRIC_DECRYPT_RSA_4096”表示创建用于加解密的RSA4096非对称密钥,“ASYMMETRIC_DECRYPT_SM2” 表示创建用于加解密的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_SM2” 表示创建用于签名验签的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECC” 表示创建用于签名验签的ECC非对称密钥,“ASYMMETRIC_SIGN_VERIFY_RSA_2048” 表示创建用于签名验签的RSA_2048非对称密钥,“ASYMMETRIC_SIGN_VERIFY_RSA_3072” 表示创建用于签名验签的RSA_3072非对称密钥,<br>“ASYMMETRIC_SIGN_VERIFY_RSA_4096” 表示创建用于签名验签的RSA_4096非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECDSA384”表示创建用于签名验签的 ECDSA384 非对称密钥。完整的密钥用途与算法支持列表可通过 ListAlgorithms 接口获取。</p>
805
805
  :rtype: str
806
806
  """
807
807
  return self._KeyUsage
@@ -812,7 +812,7 @@ class CreateKeyRequest(AbstractModel):
812
812
 
813
813
  @property
814
814
  def Type(self):
815
- r"""指定key类型,默认为1,1表示默认类型,由KMS创建CMK密钥,2 表示EXTERNAL 类型,该类型需要用户导入密钥材料,参考 GetParametersForImport 和 ImportKeyMaterial 接口
815
+ r"""<p>指定key类型,默认为1,1表示默认类型,由KMS创建CMK密钥,2 表示EXTERNAL 类型,该类型需要用户导入密钥材料,参考 GetParametersForImport 和 ImportKeyMaterial 接口</p>
816
816
  :rtype: int
817
817
  """
818
818
  return self._Type
@@ -823,7 +823,7 @@ class CreateKeyRequest(AbstractModel):
823
823
 
824
824
  @property
825
825
  def Tags(self):
826
- r"""标签列表
826
+ r"""<p>标签列表</p>
827
827
  :rtype: list of Tag
828
828
  """
829
829
  return self._Tags
@@ -834,7 +834,7 @@ class CreateKeyRequest(AbstractModel):
834
834
 
835
835
  @property
836
836
  def HsmClusterId(self):
837
- r"""KMS 高级版对应的 HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)。
837
+ r"""<p>KMS 高级版对应的 HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)。</p>
838
838
  :rtype: str
839
839
  """
840
840
  return self._HsmClusterId
@@ -873,23 +873,23 @@ class CreateKeyResponse(AbstractModel):
873
873
 
874
874
  def __init__(self):
875
875
  r"""
876
- :param _KeyId: CMK的全局唯一标识符
876
+ :param _KeyId: <p>CMK的全局唯一标识符</p>
877
877
  :type KeyId: str
878
- :param _Alias: 作为密钥更容易辨识,更容易被人看懂的别名
878
+ :param _Alias: <p>作为密钥更容易辨识,更容易被人看懂的别名</p>
879
879
  :type Alias: str
880
- :param _CreateTime: 密钥创建时间,unix时间戳
880
+ :param _CreateTime: <p>密钥创建时间,unix时间戳</p>
881
881
  :type CreateTime: int
882
- :param _Description: CMK的描述
882
+ :param _Description: <p>CMK的描述</p>
883
883
  :type Description: str
884
- :param _KeyState: CMK的状态
884
+ :param _KeyState: <p>CMK的状态</p>
885
885
  :type KeyState: str
886
- :param _KeyUsage: CMK的用途
886
+ :param _KeyUsage: <p>CMK的用途</p>
887
887
  :type KeyUsage: str
888
- :param _TagCode: 标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误
888
+ :param _TagCode: <p>标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误</p>
889
889
  :type TagCode: int
890
- :param _TagMsg: 标签操作的返回信息
890
+ :param _TagMsg: <p>标签操作的返回信息</p>
891
891
  :type TagMsg: str
892
- :param _HsmClusterId: HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
892
+ :param _HsmClusterId: <p>HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)</p>
893
893
  :type HsmClusterId: str
894
894
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
895
895
  :type RequestId: str
@@ -907,7 +907,7 @@ class CreateKeyResponse(AbstractModel):
907
907
 
908
908
  @property
909
909
  def KeyId(self):
910
- r"""CMK的全局唯一标识符
910
+ r"""<p>CMK的全局唯一标识符</p>
911
911
  :rtype: str
912
912
  """
913
913
  return self._KeyId
@@ -918,7 +918,7 @@ class CreateKeyResponse(AbstractModel):
918
918
 
919
919
  @property
920
920
  def Alias(self):
921
- r"""作为密钥更容易辨识,更容易被人看懂的别名
921
+ r"""<p>作为密钥更容易辨识,更容易被人看懂的别名</p>
922
922
  :rtype: str
923
923
  """
924
924
  return self._Alias
@@ -929,7 +929,7 @@ class CreateKeyResponse(AbstractModel):
929
929
 
930
930
  @property
931
931
  def CreateTime(self):
932
- r"""密钥创建时间,unix时间戳
932
+ r"""<p>密钥创建时间,unix时间戳</p>
933
933
  :rtype: int
934
934
  """
935
935
  return self._CreateTime
@@ -940,7 +940,7 @@ class CreateKeyResponse(AbstractModel):
940
940
 
941
941
  @property
942
942
  def Description(self):
943
- r"""CMK的描述
943
+ r"""<p>CMK的描述</p>
944
944
  :rtype: str
945
945
  """
946
946
  return self._Description
@@ -951,7 +951,7 @@ class CreateKeyResponse(AbstractModel):
951
951
 
952
952
  @property
953
953
  def KeyState(self):
954
- r"""CMK的状态
954
+ r"""<p>CMK的状态</p>
955
955
  :rtype: str
956
956
  """
957
957
  return self._KeyState
@@ -962,7 +962,7 @@ class CreateKeyResponse(AbstractModel):
962
962
 
963
963
  @property
964
964
  def KeyUsage(self):
965
- r"""CMK的用途
965
+ r"""<p>CMK的用途</p>
966
966
  :rtype: str
967
967
  """
968
968
  return self._KeyUsage
@@ -973,7 +973,7 @@ class CreateKeyResponse(AbstractModel):
973
973
 
974
974
  @property
975
975
  def TagCode(self):
976
- r"""标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误
976
+ r"""<p>标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误</p>
977
977
  :rtype: int
978
978
  """
979
979
  return self._TagCode
@@ -984,7 +984,7 @@ class CreateKeyResponse(AbstractModel):
984
984
 
985
985
  @property
986
986
  def TagMsg(self):
987
- r"""标签操作的返回信息
987
+ r"""<p>标签操作的返回信息</p>
988
988
  :rtype: str
989
989
  """
990
990
  return self._TagMsg
@@ -995,7 +995,7 @@ class CreateKeyResponse(AbstractModel):
995
995
 
996
996
  @property
997
997
  def HsmClusterId(self):
998
- r"""HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
998
+ r"""<p>HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)</p>
999
999
  :rtype: str
1000
1000
  """
1001
1001
  return self._HsmClusterId
@@ -4373,17 +4373,23 @@ class ExclusiveHSM(AbstractModel):
4373
4373
 
4374
4374
  def __init__(self):
4375
4375
  r"""
4376
- :param _HsmClusterId: 独享集群Id
4376
+ :param _HsmClusterId: <p>独享集群Id</p>
4377
4377
  :type HsmClusterId: str
4378
- :param _HsmClusterName: 独享集群名称
4378
+ :param _HsmClusterName: <p>独享集群名称</p>
4379
4379
  :type HsmClusterName: str
4380
+ :param _CmkUserCount: <p>根密钥的使用量</p><p>单位:个</p>
4381
+ :type CmkUserCount: int
4382
+ :param _CmkLimit: <p>根密钥的额度</p><p>单位:个</p>
4383
+ :type CmkLimit: int
4380
4384
  """
4381
4385
  self._HsmClusterId = None
4382
4386
  self._HsmClusterName = None
4387
+ self._CmkUserCount = None
4388
+ self._CmkLimit = None
4383
4389
 
4384
4390
  @property
4385
4391
  def HsmClusterId(self):
4386
- r"""独享集群Id
4392
+ r"""<p>独享集群Id</p>
4387
4393
  :rtype: str
4388
4394
  """
4389
4395
  return self._HsmClusterId
@@ -4394,7 +4400,7 @@ class ExclusiveHSM(AbstractModel):
4394
4400
 
4395
4401
  @property
4396
4402
  def HsmClusterName(self):
4397
- r"""独享集群名称
4403
+ r"""<p>独享集群名称</p>
4398
4404
  :rtype: str
4399
4405
  """
4400
4406
  return self._HsmClusterName
@@ -4403,10 +4409,34 @@ class ExclusiveHSM(AbstractModel):
4403
4409
  def HsmClusterName(self, HsmClusterName):
4404
4410
  self._HsmClusterName = HsmClusterName
4405
4411
 
4412
+ @property
4413
+ def CmkUserCount(self):
4414
+ r"""<p>根密钥的使用量</p><p>单位:个</p>
4415
+ :rtype: int
4416
+ """
4417
+ return self._CmkUserCount
4418
+
4419
+ @CmkUserCount.setter
4420
+ def CmkUserCount(self, CmkUserCount):
4421
+ self._CmkUserCount = CmkUserCount
4422
+
4423
+ @property
4424
+ def CmkLimit(self):
4425
+ r"""<p>根密钥的额度</p><p>单位:个</p>
4426
+ :rtype: int
4427
+ """
4428
+ return self._CmkLimit
4429
+
4430
+ @CmkLimit.setter
4431
+ def CmkLimit(self, CmkLimit):
4432
+ self._CmkLimit = CmkLimit
4433
+
4406
4434
 
4407
4435
  def _deserialize(self, params):
4408
4436
  self._HsmClusterId = params.get("HsmClusterId")
4409
4437
  self._HsmClusterName = params.get("HsmClusterName")
4438
+ self._CmkUserCount = params.get("CmkUserCount")
4439
+ self._CmkLimit = params.get("CmkLimit")
4410
4440
  memeber_set = set(params.keys())
4411
4441
  for name, value in vars(self).items():
4412
4442
  property_name = name[1:]
@@ -8782,13 +8812,13 @@ class SignByAsymmetricKeyRequest(AbstractModel):
8782
8812
 
8783
8813
  def __init__(self):
8784
8814
  r"""
8785
- :param _Algorithm: 签名算法,支持的算法:SM2DSA,ECC_P256_R1,RSA_PSS_SHA_256,RSA_PKCS1_SHA_256 等。更多支持的算法可通过 ListAlgorithms 接口进行查询。
8815
+ :param _Algorithm: <p>签名算法,支持的算法:SM2DSA,ECC_P256_R1,ECDSA384_SHA384,RSA_PSS_SHA_256,RSA_PKCS1_SHA_256,RSA_PSS_SHA_384,RSA_PKCS1_SHA_384,RSA_PSS_SHA_512,RSA_PKCS1_SHA_512 等。更多支持的算法可通过 ListAlgorithms 接口进行查询。</p>
8786
8816
  :type Algorithm: str
8787
- :param _Message: 消息原文或消息摘要。如果提供的是消息原文,则消息原文的长度(Base64编码前的长度)不超过4096字节。如果提供的是消息摘要,消息摘要长度(Base64编码前的长度)必须等于32字节
8817
+ :param _Message: <p>消息原文或消息摘要。如果提供的是消息原文,则消息原文的长度(Base64编码前的长度)不超过4096字节。如果提供的是消息摘要,消息摘要长度(Base64编码前的长度)必须等于32字节</p>
8788
8818
  :type Message: str
8789
- :param _KeyId: 密钥的唯一标识
8819
+ :param _KeyId: <p>密钥的唯一标识</p>
8790
8820
  :type KeyId: str
8791
- :param _MessageType: 消息类型:RAW,DIGEST,如果不传,默认为RAW,表示消息原文。
8821
+ :param _MessageType: <p>消息类型:RAW,DIGEST,如果不传,默认为RAW,表示消息原文。</p>
8792
8822
  :type MessageType: str
8793
8823
  """
8794
8824
  self._Algorithm = None
@@ -8798,7 +8828,7 @@ class SignByAsymmetricKeyRequest(AbstractModel):
8798
8828
 
8799
8829
  @property
8800
8830
  def Algorithm(self):
8801
- r"""签名算法,支持的算法:SM2DSA,ECC_P256_R1,RSA_PSS_SHA_256,RSA_PKCS1_SHA_256 等。更多支持的算法可通过 ListAlgorithms 接口进行查询。
8831
+ r"""<p>签名算法,支持的算法:SM2DSA,ECC_P256_R1,ECDSA384_SHA384,RSA_PSS_SHA_256,RSA_PKCS1_SHA_256,RSA_PSS_SHA_384,RSA_PKCS1_SHA_384,RSA_PSS_SHA_512,RSA_PKCS1_SHA_512 等。更多支持的算法可通过 ListAlgorithms 接口进行查询。</p>
8802
8832
  :rtype: str
8803
8833
  """
8804
8834
  return self._Algorithm
@@ -8809,7 +8839,7 @@ class SignByAsymmetricKeyRequest(AbstractModel):
8809
8839
 
8810
8840
  @property
8811
8841
  def Message(self):
8812
- r"""消息原文或消息摘要。如果提供的是消息原文,则消息原文的长度(Base64编码前的长度)不超过4096字节。如果提供的是消息摘要,消息摘要长度(Base64编码前的长度)必须等于32字节
8842
+ r"""<p>消息原文或消息摘要。如果提供的是消息原文,则消息原文的长度(Base64编码前的长度)不超过4096字节。如果提供的是消息摘要,消息摘要长度(Base64编码前的长度)必须等于32字节</p>
8813
8843
  :rtype: str
8814
8844
  """
8815
8845
  return self._Message
@@ -8820,7 +8850,7 @@ class SignByAsymmetricKeyRequest(AbstractModel):
8820
8850
 
8821
8851
  @property
8822
8852
  def KeyId(self):
8823
- r"""密钥的唯一标识
8853
+ r"""<p>密钥的唯一标识</p>
8824
8854
  :rtype: str
8825
8855
  """
8826
8856
  return self._KeyId
@@ -8831,7 +8861,7 @@ class SignByAsymmetricKeyRequest(AbstractModel):
8831
8861
 
8832
8862
  @property
8833
8863
  def MessageType(self):
8834
- r"""消息类型:RAW,DIGEST,如果不传,默认为RAW,表示消息原文。
8864
+ r"""<p>消息类型:RAW,DIGEST,如果不传,默认为RAW,表示消息原文。</p>
8835
8865
  :rtype: str
8836
8866
  """
8837
8867
  return self._MessageType
@@ -8863,7 +8893,7 @@ class SignByAsymmetricKeyResponse(AbstractModel):
8863
8893
 
8864
8894
  def __init__(self):
8865
8895
  r"""
8866
- :param _Signature: 签名,Base64编码
8896
+ :param _Signature: <p>签名,Base64编码</p>
8867
8897
  :type Signature: str
8868
8898
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8869
8899
  :type RequestId: str
@@ -8873,7 +8903,7 @@ class SignByAsymmetricKeyResponse(AbstractModel):
8873
8903
 
8874
8904
  @property
8875
8905
  def Signature(self):
8876
- r"""签名,Base64编码
8906
+ r"""<p>签名,Base64编码</p>
8877
8907
  :rtype: str
8878
8908
  """
8879
8909
  return self._Signature
@@ -9486,15 +9516,15 @@ class VerifyByAsymmetricKeyRequest(AbstractModel):
9486
9516
 
9487
9517
  def __init__(self):
9488
9518
  r"""
9489
- :param _KeyId: 密钥的唯一标识
9519
+ :param _KeyId: <p>密钥的唯一标识</p>
9490
9520
  :type KeyId: str
9491
- :param _SignatureValue: 签名值,通过调用KMS签名接口生成
9521
+ :param _SignatureValue: <p>签名值,通过调用KMS签名接口生成</p>
9492
9522
  :type SignatureValue: str
9493
- :param _Message: 消息原文或消息摘要。如果提供的是消息原文,则消息原文的长度(Base64编码前的长度)不超过4096字节。如果提供的是消息摘要,则消息摘要长度(Base64编码前的长度)必须等于32字节
9523
+ :param _Message: <p>消息原文或消息摘要。如果提供的是消息原文,则消息原文的长度(Base64编码前的长度)不超过4096字节。如果提供的是消息摘要,则消息摘要长度(Base64编码前的长度)必须等于32字节</p>
9494
9524
  :type Message: str
9495
- :param _Algorithm: 签名算法,支持的算法:SM2DSA,ECC_P256_R1,RSA_PSS_SHA_256,RSA_PKCS1_SHA_256 等。更多支持的算法可通过 ListAlgorithms 接口进行查询。
9525
+ :param _Algorithm: <p>签名算法,支持的算法:SM2DSA,ECC_P256_R1,ECDSA384_SHA384,RSA_PSS_SHA_256,RSA_PKCS1_SHA_256,RSA_PSS_SHA_384,RSA_PKCS1_SHA_384,RSA_PSS_SHA_512,RSA_PKCS1_SHA_512 等。更多支持的算法可通过 ListAlgorithms 接口进行查询</p>
9496
9526
  :type Algorithm: str
9497
- :param _MessageType: 消息类型:RAW,DIGEST,如果不传,默认为RAW,表示消息原文。
9527
+ :param _MessageType: <p>消息类型:RAW,DIGEST,如果不传,默认为RAW,表示消息原文。</p>
9498
9528
  :type MessageType: str
9499
9529
  """
9500
9530
  self._KeyId = None
@@ -9505,7 +9535,7 @@ class VerifyByAsymmetricKeyRequest(AbstractModel):
9505
9535
 
9506
9536
  @property
9507
9537
  def KeyId(self):
9508
- r"""密钥的唯一标识
9538
+ r"""<p>密钥的唯一标识</p>
9509
9539
  :rtype: str
9510
9540
  """
9511
9541
  return self._KeyId
@@ -9516,7 +9546,7 @@ class VerifyByAsymmetricKeyRequest(AbstractModel):
9516
9546
 
9517
9547
  @property
9518
9548
  def SignatureValue(self):
9519
- r"""签名值,通过调用KMS签名接口生成
9549
+ r"""<p>签名值,通过调用KMS签名接口生成</p>
9520
9550
  :rtype: str
9521
9551
  """
9522
9552
  return self._SignatureValue
@@ -9527,7 +9557,7 @@ class VerifyByAsymmetricKeyRequest(AbstractModel):
9527
9557
 
9528
9558
  @property
9529
9559
  def Message(self):
9530
- r"""消息原文或消息摘要。如果提供的是消息原文,则消息原文的长度(Base64编码前的长度)不超过4096字节。如果提供的是消息摘要,则消息摘要长度(Base64编码前的长度)必须等于32字节
9560
+ r"""<p>消息原文或消息摘要。如果提供的是消息原文,则消息原文的长度(Base64编码前的长度)不超过4096字节。如果提供的是消息摘要,则消息摘要长度(Base64编码前的长度)必须等于32字节</p>
9531
9561
  :rtype: str
9532
9562
  """
9533
9563
  return self._Message
@@ -9538,7 +9568,7 @@ class VerifyByAsymmetricKeyRequest(AbstractModel):
9538
9568
 
9539
9569
  @property
9540
9570
  def Algorithm(self):
9541
- r"""签名算法,支持的算法:SM2DSA,ECC_P256_R1,RSA_PSS_SHA_256,RSA_PKCS1_SHA_256 等。更多支持的算法可通过 ListAlgorithms 接口进行查询。
9571
+ r"""<p>签名算法,支持的算法:SM2DSA,ECC_P256_R1,ECDSA384_SHA384,RSA_PSS_SHA_256,RSA_PKCS1_SHA_256,RSA_PSS_SHA_384,RSA_PKCS1_SHA_384,RSA_PSS_SHA_512,RSA_PKCS1_SHA_512 等。更多支持的算法可通过 ListAlgorithms 接口进行查询</p>
9542
9572
  :rtype: str
9543
9573
  """
9544
9574
  return self._Algorithm
@@ -9549,7 +9579,7 @@ class VerifyByAsymmetricKeyRequest(AbstractModel):
9549
9579
 
9550
9580
  @property
9551
9581
  def MessageType(self):
9552
- r"""消息类型:RAW,DIGEST,如果不传,默认为RAW,表示消息原文。
9582
+ r"""<p>消息类型:RAW,DIGEST,如果不传,默认为RAW,表示消息原文。</p>
9553
9583
  :rtype: str
9554
9584
  """
9555
9585
  return self._MessageType
@@ -9582,7 +9612,7 @@ class VerifyByAsymmetricKeyResponse(AbstractModel):
9582
9612
 
9583
9613
  def __init__(self):
9584
9614
  r"""
9585
- :param _SignatureValid: 签名是否有效。true:签名有效,false:签名无效。
9615
+ :param _SignatureValid: <p>签名是否有效。true:签名有效,false:签名无效。</p>
9586
9616
  :type SignatureValid: bool
9587
9617
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9588
9618
  :type RequestId: str
@@ -9592,7 +9622,7 @@ class VerifyByAsymmetricKeyResponse(AbstractModel):
9592
9622
 
9593
9623
  @property
9594
9624
  def SignatureValid(self):
9595
- r"""签名是否有效。true:签名有效,false:签名无效。
9625
+ r"""<p>签名是否有效。true:签名有效,false:签名无效。</p>
9596
9626
  :rtype: bool
9597
9627
  """
9598
9628
  return self._SignatureValid
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-kms
3
- Version: 3.1.196
3
+ Version: 3.1.215
4
4
  Summary: Tencent Cloud Kms SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.196
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.215
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=I7Tsn923EjmLuVC75zKlIK70_lW1WHDV8Pc1YtM7xJI,630
1
+ tencentcloud/__init__.py,sha256=1vPnuD6sDGnaiKY5SS8rREgo6a-14pFu4nWgcE36zQU,630
2
2
  tencentcloud/kms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/kms/v20190118/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/kms/v20190118/errorcodes.py,sha256=CIRbEYJyh6Y_hJYwDZwf67w4vYWBiX7QURWqIX2EPYw,8536
5
5
  tencentcloud/kms/v20190118/kms_client.py,sha256=Mp94ZEmtuolDn8zULct6KIsuZccvtfAuoFk-K9fGeO4,66151
6
6
  tencentcloud/kms/v20190118/kms_client_async.py,sha256=_NjUj4SCM06HTxMXHt14dETu-DhvZ-CqqYEFJDzaB_0,45135
7
- tencentcloud/kms/v20190118/models.py,sha256=ridSTtI1MB9MssqyOuSrXnWTTSglhuvi-fiEmdkf7eQ,326118
8
- tencentcloud_sdk_python_kms-3.1.196.dist-info/METADATA,sha256=fJVzg3v0SRWo4MqLS-wkDj4k0LWqMZwovq95KUv7cxc,1497
9
- tencentcloud_sdk_python_kms-3.1.196.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_kms-3.1.196.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_kms-3.1.196.dist-info/RECORD,,
7
+ tencentcloud/kms/v20190118/models.py,sha256=m90pDQjzNZ8qEqvMsCNI4ROcUf7eXL2DI9axYYRxh1I,328552
8
+ tencentcloud_sdk_python_kms-3.1.215.dist-info/METADATA,sha256=SFYmbp0B571zchfRr26PzwOXSD3mhLwb2GUytMoaWv4,1497
9
+ tencentcloud_sdk_python_kms-3.1.215.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_kms-3.1.215.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_kms-3.1.215.dist-info/RECORD,,