Class: TencentCloud::Af::V20200226::FinanceAntiFraudCryptoFilter

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200226/models.rb

Overview

借贷反欺诈密文业务入参

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cryptotype = nil, cryptocontent = nil) ⇒ FinanceAntiFraudCryptoFilter

Returns a new instance of FinanceAntiFraudCryptoFilter.



347
348
349
350
# File 'lib/v20200226/models.rb', line 347

def initialize(cryptotype=nil, cryptocontent=nil)
  @CryptoType = cryptotype
  @CryptoContent = cryptocontent
end

Instance Attribute Details

#CryptoContentObject

Parameters:

  • CryptoType:

    值1定义:AES加密方式[加密模式ECB;填充格式pkcs7padding;秘钥16字节即128位

  • CryptoContent:

    业务字段BusinessSecurityData的json数据格式,采用CryptoType相应的加密方式计算后得到的bash64编码内容。比如对“PhoneNumber”:“13430420001”,“IdNumber”:“420115199501010001”,“BankCardNumber”:“6214000100010001”包体做加密。



345
346
347
# File 'lib/v20200226/models.rb', line 345

def CryptoContent
  @CryptoContent
end

#CryptoTypeObject

Parameters:

  • CryptoType:

    值1定义:AES加密方式[加密模式ECB;填充格式pkcs7padding;秘钥16字节即128位

  • CryptoContent:

    业务字段BusinessSecurityData的json数据格式,采用CryptoType相应的加密方式计算后得到的bash64编码内容。比如对“PhoneNumber”:“13430420001”,“IdNumber”:“420115199501010001”,“BankCardNumber”:“6214000100010001”包体做加密。



345
346
347
# File 'lib/v20200226/models.rb', line 345

def CryptoType
  @CryptoType
end

Instance Method Details

#deserialize(params) ⇒ Object



352
353
354
355
# File 'lib/v20200226/models.rb', line 352

def deserialize(params)
  @CryptoType = params['CryptoType']
  @CryptoContent = params['CryptoContent']
end