Class: TencentCloud::Kms::V20190118::PostQuantumCryptoEncryptResponse

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

Overview

PostQuantumCryptoEncrypt返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ciphertextblob = nil, keyid = nil, requestid = nil) ⇒ PostQuantumCryptoEncryptResponse

Returns a new instance of PostQuantumCryptoEncryptResponse.



2115
2116
2117
2118
2119
# File 'lib/v20190118/models.rb', line 2115

def initialize(ciphertextblob=nil, keyid=nil, requestid=nil)
  @CiphertextBlob = ciphertextblob
  @KeyId = keyid
  @RequestId = requestid
end

Instance Attribute Details

#CiphertextBlobObject

Parameters:

  • CiphertextBlob:

    加密后的密文,base64编码。注意:本字段中打包了密文和密钥的相关信息,不是对明文的直接加密结果,只有将该字段作为PostQuantumCryptoDecrypt接口的输入参数,才可以解密出原文。

  • KeyId:

    加密使用的CMK的全局唯一标识

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2113
2114
2115
# File 'lib/v20190118/models.rb', line 2113

def CiphertextBlob
  @CiphertextBlob
end

#KeyIdObject

Parameters:

  • CiphertextBlob:

    加密后的密文,base64编码。注意:本字段中打包了密文和密钥的相关信息,不是对明文的直接加密结果,只有将该字段作为PostQuantumCryptoDecrypt接口的输入参数,才可以解密出原文。

  • KeyId:

    加密使用的CMK的全局唯一标识

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2113
2114
2115
# File 'lib/v20190118/models.rb', line 2113

def KeyId
  @KeyId
end

#RequestIdObject

Parameters:

  • CiphertextBlob:

    加密后的密文,base64编码。注意:本字段中打包了密文和密钥的相关信息,不是对明文的直接加密结果,只有将该字段作为PostQuantumCryptoDecrypt接口的输入参数,才可以解密出原文。

  • KeyId:

    加密使用的CMK的全局唯一标识

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2113
2114
2115
# File 'lib/v20190118/models.rb', line 2113

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2121
2122
2123
2124
2125
# File 'lib/v20190118/models.rb', line 2121

def deserialize(params)
  @CiphertextBlob = params['CiphertextBlob']
  @KeyId = params['KeyId']
  @RequestId = params['RequestId']
end