Class: TencentCloud::Kms::V20190118::CreateWhiteBoxKeyResponse

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

Overview

CreateWhiteBoxKey返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(encryptkey = nil, decryptkey = nil, keyid = nil, tagcode = nil, tagmsg = nil, requestid = nil) ⇒ CreateWhiteBoxKeyResponse

Returns a new instance of CreateWhiteBoxKeyResponse.



425
426
427
428
429
430
431
432
# File 'lib/v20190118/models.rb', line 425

def initialize(encryptkey=nil, decryptkey=nil, keyid=nil, tagcode=nil, tagmsg=nil, requestid=nil)
  @EncryptKey = encryptkey
  @DecryptKey = decryptkey
  @KeyId = keyid
  @TagCode = tagcode
  @TagMsg = tagmsg
  @RequestId = requestid
end

Instance Attribute Details

#DecryptKeyObject

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

Parameters:

  • EncryptKey:

    用于加密的密钥,base64编码

  • DecryptKey:

    用于解密的密钥,base64编码

  • KeyId:

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

  • TagCode:

    标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误

  • TagMsg:

    标签操作的返回信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



423
424
425
# File 'lib/v20190118/models.rb', line 423

def DecryptKey
  @DecryptKey
end

#EncryptKeyObject

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

Parameters:

  • EncryptKey:

    用于加密的密钥,base64编码

  • DecryptKey:

    用于解密的密钥,base64编码

  • KeyId:

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

  • TagCode:

    标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误

  • TagMsg:

    标签操作的返回信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



423
424
425
# File 'lib/v20190118/models.rb', line 423

def EncryptKey
  @EncryptKey
end

#KeyIdObject

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

Parameters:

  • EncryptKey:

    用于加密的密钥,base64编码

  • DecryptKey:

    用于解密的密钥,base64编码

  • KeyId:

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

  • TagCode:

    标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误

  • TagMsg:

    标签操作的返回信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



423
424
425
# File 'lib/v20190118/models.rb', line 423

def KeyId
  @KeyId
end

#RequestIdObject

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

Parameters:

  • EncryptKey:

    用于加密的密钥,base64编码

  • DecryptKey:

    用于解密的密钥,base64编码

  • KeyId:

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

  • TagCode:

    标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误

  • TagMsg:

    标签操作的返回信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



423
424
425
# File 'lib/v20190118/models.rb', line 423

def RequestId
  @RequestId
end

#TagCodeObject

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

Parameters:

  • EncryptKey:

    用于加密的密钥,base64编码

  • DecryptKey:

    用于解密的密钥,base64编码

  • KeyId:

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

  • TagCode:

    标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误

  • TagMsg:

    标签操作的返回信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



423
424
425
# File 'lib/v20190118/models.rb', line 423

def TagCode
  @TagCode
end

#TagMsgObject

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

Parameters:

  • EncryptKey:

    用于加密的密钥,base64编码

  • DecryptKey:

    用于解密的密钥,base64编码

  • KeyId:

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

  • TagCode:

    标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误

  • TagMsg:

    标签操作的返回信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



423
424
425
# File 'lib/v20190118/models.rb', line 423

def TagMsg
  @TagMsg
end

Instance Method Details

#deserialize(params) ⇒ Object



434
435
436
437
438
439
440
441
# File 'lib/v20190118/models.rb', line 434

def deserialize(params)
  @EncryptKey = params['EncryptKey']
  @DecryptKey = params['DecryptKey']
  @KeyId = params['KeyId']
  @TagCode = params['TagCode']
  @TagMsg = params['TagMsg']
  @RequestId = params['RequestId']
end