Class: TencentCloud::Kms::V20190118::GenerateDataKeyResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Kms::V20190118::GenerateDataKeyResponse
- Defined in:
- lib/v20190118/models.rb
Overview
GenerateDataKey返回参数结构体
Instance Attribute Summary collapse
-
#CiphertextBlob ⇒ Object
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取 DataKey 明文。.
-
#KeyId ⇒ Object
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取 DataKey 明文。.
-
#Plaintext ⇒ Object
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取 DataKey 明文。.
-
#RequestId ⇒ Object
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取 DataKey 明文。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keyid = nil, plaintext = nil, ciphertextblob = nil, requestid = nil) ⇒ GenerateDataKeyResponse
constructor
A new instance of GenerateDataKeyResponse.
Constructor Details
#initialize(keyid = nil, plaintext = nil, ciphertextblob = nil, requestid = nil) ⇒ GenerateDataKeyResponse
Returns a new instance of GenerateDataKeyResponse.
1352 1353 1354 1355 1356 1357 |
# File 'lib/v20190118/models.rb', line 1352 def initialize(keyid=nil, plaintext=nil, ciphertextblob=nil, requestid=nil) @KeyId = keyid @Plaintext = plaintext @CiphertextBlob = ciphertextblob @RequestId = requestid end |
Instance Attribute Details
#CiphertextBlob ⇒ Object
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取 DataKey 明文。
1350 1351 1352 |
# File 'lib/v20190118/models.rb', line 1350 def CiphertextBlob @CiphertextBlob end |
#KeyId ⇒ Object
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取 DataKey 明文。
1350 1351 1352 |
# File 'lib/v20190118/models.rb', line 1350 def KeyId @KeyId end |
#Plaintext ⇒ Object
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取 DataKey 明文。
1350 1351 1352 |
# File 'lib/v20190118/models.rb', line 1350 def Plaintext @Plaintext end |
#RequestId ⇒ Object
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取 DataKey 明文。
1350 1351 1352 |
# File 'lib/v20190118/models.rb', line 1350 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1359 1360 1361 1362 1363 1364 |
# File 'lib/v20190118/models.rb', line 1359 def deserialize(params) @KeyId = params['KeyId'] @Plaintext = params['Plaintext'] @CiphertextBlob = params['CiphertextBlob'] @RequestId = params['RequestId'] end |