Class: TencentCloud::Kms::V20190118::WhiteboxKeyInfo

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

Overview

白盒密钥信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keyid = nil, _alias = nil, creatoruin = nil, description = nil, createtime = nil, status = nil, owneruin = nil, algorithm = nil, encryptkey = nil, decryptkey = nil, resourceid = nil, devicefingerprintbind = nil) ⇒ WhiteboxKeyInfo

Returns a new instance of WhiteboxKeyInfo.



2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
# File 'lib/v20190118/models.rb', line 2598

def initialize(keyid=nil, _alias=nil, creatoruin=nil, description=nil, createtime=nil, status=nil, owneruin=nil, algorithm=nil, encryptkey=nil, decryptkey=nil, resourceid=nil, devicefingerprintbind=nil)
  @KeyId = keyid
  @Alias = _alias
  @CreatorUin = creatoruin
  @Description = description
  @CreateTime = createtime
  @Status = status
  @OwnerUin = owneruin
  @Algorithm = algorithm
  @EncryptKey = encryptkey
  @DecryptKey = decryptkey
  @ResourceId = resourceid
  @DeviceFingerprintBind = devicefingerprintbind
end

Instance Attribute Details

#AlgorithmObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def Algorithm
  @Algorithm
end

#AliasObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def Alias
  @Alias
end

#CreateTimeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def CreateTime
  @CreateTime
end

#CreatorUinObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def CreatorUin
  @CreatorUin
end

#DecryptKeyObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def DecryptKey
  @DecryptKey
end

#DescriptionObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def Description
  @Description
end

#DeviceFingerprintBindObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def DeviceFingerprintBind
  @DeviceFingerprintBind
end

#EncryptKeyObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def EncryptKey
  @EncryptKey
end

#KeyIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def KeyId
  @KeyId
end

#OwnerUinObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def OwnerUin
  @OwnerUin
end

#ResourceIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def ResourceId
  @ResourceId
end

#StatusObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • KeyId:

    白盒密钥的全局唯一标识符

  • Alias:

    作为密钥更容易辨识,更容易被人看懂的别名, 不可为空,1-60个字母数字 - _ 的组合,首字符必须为字母或者数字. 不可重复

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

    白盒密钥的状态, 取值为:Enabled | Disabled

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

    资源ID,格式:creatorUin/$creatorUin/$keyId

  • DeviceFingerprintBind:

    是否有设备指纹与当前密钥绑定



2596
2597
2598
# File 'lib/v20190118/models.rb', line 2596

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
# File 'lib/v20190118/models.rb', line 2613

def deserialize(params)
  @KeyId = params['KeyId']
  @Alias = params['Alias']
  @CreatorUin = params['CreatorUin']
  @Description = params['Description']
  @CreateTime = params['CreateTime']
  @Status = params['Status']
  @OwnerUin = params['OwnerUin']
  @Algorithm = params['Algorithm']
  @EncryptKey = params['EncryptKey']
  @DecryptKey = params['DecryptKey']
  @ResourceId = params['ResourceId']
  @DeviceFingerprintBind = params['DeviceFingerprintBind']
end