tencentcloud-sdk-faceid 3.0.394 → 3.0.395
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180301/models.rb +24 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24879591207d257fc021a9743fb21b72008f6c1f
|
4
|
+
data.tar.gz: 69967d9b8f590c21482adaf46da5bc9d98bb3457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0f3af73f0397191dba510a57acf6529f33b91d1bb640a75bbc29e8915e9e596c4d58a32a29da9f2bdf8f64a9be2ca554a9772e40890e29be91524cab0cc0ce9
|
7
|
+
data.tar.gz: daca8ef295cb944c37bf9c01da06e6b3e5e58b51c1c9ccdb601f2664658afa2efb51ce809d3d26984c8d85176ac0cb577b79be9a7aad0c7345555d4020a01bbb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.395
|
data/lib/v20180301/models.rb
CHANGED
@@ -1157,25 +1157,33 @@ module TencentCloud
|
|
1157
1157
|
|
1158
1158
|
# 敏感数据加密
|
1159
1159
|
class Encryption < TencentCloud::Common::AbstractModel
|
1160
|
-
# @param CiphertextBlob: 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅<a href="https://cloud.tencent.com/document/product/1007/47180">数据加密</a> 文档。
|
1161
|
-
# @type CiphertextBlob: String
|
1162
1160
|
# @param EncryptList: 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的一个或多个字段
|
1163
1161
|
# @type EncryptList: Array
|
1162
|
+
# @param CiphertextBlob: 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅<a href="https://cloud.tencent.com/document/product/1007/47180">数据加密</a> 文档。
|
1163
|
+
# @type CiphertextBlob: String
|
1164
1164
|
# @param Iv: 有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16字符)。
|
1165
1165
|
# @type Iv: String
|
1166
|
+
# @param Algorithm: 加密使用的算法(支持'AES-256-CBC'、'SM4-GCM'),不传默认为'AES-256-CBC'
|
1167
|
+
# @type Algorithm: String
|
1168
|
+
# @param TagList: SM4-GCM算法生成的消息摘要(校验消息完整性时使用)
|
1169
|
+
# @type TagList: Array
|
1166
1170
|
|
1167
|
-
attr_accessor :CiphertextBlob, :
|
1171
|
+
attr_accessor :EncryptList, :CiphertextBlob, :Iv, :Algorithm, :TagList
|
1168
1172
|
|
1169
|
-
def initialize(
|
1170
|
-
@CiphertextBlob = ciphertextblob
|
1173
|
+
def initialize(encryptlist=nil, ciphertextblob=nil, iv=nil, algorithm=nil, taglist=nil)
|
1171
1174
|
@EncryptList = encryptlist
|
1175
|
+
@CiphertextBlob = ciphertextblob
|
1172
1176
|
@Iv = iv
|
1177
|
+
@Algorithm = algorithm
|
1178
|
+
@TagList = taglist
|
1173
1179
|
end
|
1174
1180
|
|
1175
1181
|
def deserialize(params)
|
1176
|
-
@CiphertextBlob = params['CiphertextBlob']
|
1177
1182
|
@EncryptList = params['EncryptList']
|
1183
|
+
@CiphertextBlob = params['CiphertextBlob']
|
1178
1184
|
@Iv = params['Iv']
|
1185
|
+
@Algorithm = params['Algorithm']
|
1186
|
+
@TagList = params['TagList']
|
1179
1187
|
end
|
1180
1188
|
end
|
1181
1189
|
|
@@ -1231,12 +1239,14 @@ module TencentCloud
|
|
1231
1239
|
# @type IsCutIdCardImage: Boolean
|
1232
1240
|
# @param IsNeedIdCardAvatar: 是否需要从身份证中抠出头像。默认为false。(InfoType需要包含2)
|
1233
1241
|
# @type IsNeedIdCardAvatar: Boolean
|
1234
|
-
# @param IsEncrypt:
|
1242
|
+
# @param IsEncrypt: 已弃用。
|
1235
1243
|
# @type IsEncrypt: Boolean
|
1244
|
+
# @param Encryption: 是否需要对返回中的敏感信息进行加密。仅指定加密算法Algorithm即可,其余字段传入默认值。其中敏感信息包括:Response.Text.IdCard、Response.Text.Name、Response.Text.OcrIdCard、Response.Text.OcrName
|
1245
|
+
# @type Encryption: :class:`Tencentcloud::Faceid.v20180301.models.Encryption`
|
1236
1246
|
|
1237
|
-
attr_accessor :BizToken, :RuleId, :InfoType, :BestFramesCount, :IsCutIdCardImage, :IsNeedIdCardAvatar, :IsEncrypt
|
1247
|
+
attr_accessor :BizToken, :RuleId, :InfoType, :BestFramesCount, :IsCutIdCardImage, :IsNeedIdCardAvatar, :IsEncrypt, :Encryption
|
1238
1248
|
|
1239
|
-
def initialize(biztoken=nil, ruleid=nil, infotype=nil, bestframescount=nil, iscutidcardimage=nil, isneedidcardavatar=nil, isencrypt=nil)
|
1249
|
+
def initialize(biztoken=nil, ruleid=nil, infotype=nil, bestframescount=nil, iscutidcardimage=nil, isneedidcardavatar=nil, isencrypt=nil, encryption=nil)
|
1240
1250
|
@BizToken = biztoken
|
1241
1251
|
@RuleId = ruleid
|
1242
1252
|
@InfoType = infotype
|
@@ -1244,6 +1254,7 @@ module TencentCloud
|
|
1244
1254
|
@IsCutIdCardImage = iscutidcardimage
|
1245
1255
|
@IsNeedIdCardAvatar = isneedidcardavatar
|
1246
1256
|
@IsEncrypt = isencrypt
|
1257
|
+
@Encryption = encryption
|
1247
1258
|
end
|
1248
1259
|
|
1249
1260
|
def deserialize(params)
|
@@ -1254,6 +1265,10 @@ module TencentCloud
|
|
1254
1265
|
@IsCutIdCardImage = params['IsCutIdCardImage']
|
1255
1266
|
@IsNeedIdCardAvatar = params['IsNeedIdCardAvatar']
|
1256
1267
|
@IsEncrypt = params['IsEncrypt']
|
1268
|
+
unless params['Encryption'].nil?
|
1269
|
+
@Encryption = Encryption.new
|
1270
|
+
@Encryption.deserialize(params['Encryption'])
|
1271
|
+
end
|
1257
1272
|
end
|
1258
1273
|
end
|
1259
1274
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-faceid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.395
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|