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.



3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
# File 'lib/v20190118/models.rb', line 3525

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

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def Algorithm
  @Algorithm
end

#AliasObject

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def Alias
  @Alias
end

#CreateTimeObject

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def CreateTime
  @CreateTime
end

#CreatorUinObject

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def CreatorUin
  @CreatorUin
end

#DecryptKeyObject

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def DecryptKey
  @DecryptKey
end

#DescriptionObject

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def Description
  @Description
end

#DeviceFingerprintBindObject

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def DeviceFingerprintBind
  @DeviceFingerprintBind
end

#EncryptKeyObject

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def EncryptKey
  @EncryptKey
end

#KeyIdObject

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def KeyId
  @KeyId
end

#OwnerUinObject

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def OwnerUin
  @OwnerUin
end

#ResourceIdObject

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def ResourceId
  @ResourceId
end

#StatusObject

Parameters:

  • KeyId:

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

  • Alias:

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

  • CreatorUin:

    创建者

  • Description:

    密钥的描述信息

  • CreateTime:

    密钥创建时间,Unix时间戳

  • Status:

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

  • OwnerUin:

    创建者

  • Algorithm:

    密钥所用的算法类型

  • EncryptKey:

    白盒加密密钥,base64编码

  • DecryptKey:

    白盒解密密钥,base64编码

  • ResourceId:

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

  • DeviceFingerprintBind:

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



3523
3524
3525
# File 'lib/v20190118/models.rb', line 3523

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
# File 'lib/v20190118/models.rb', line 3540

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