class
Amazonite::Kms::EncryptResponse
- Amazonite::Kms::EncryptResponse
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
kms/encrypt_response.crConstructors
- .new(pull : JSON::PullParser)
- .new(ciphertext_blob : Bytes | Nil = nil, key_id : String | Nil = nil, encryption_algorithm : EncryptionAlgorithmSpec | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#ciphertext_blob : Bytes | Nil
The encrypted plaintext.
-
#ciphertext_blob=(ciphertext_blob : Bytes | Nil)
The encrypted plaintext.
-
#encryption_algorithm : EncryptionAlgorithmSpec | Nil
The encryption algorithm that was used to encrypt the plaintext.
-
#encryption_algorithm=(encryption_algorithm : EncryptionAlgorithmSpec | Nil)
The encryption algorithm that was used to encrypt the plaintext.
-
#hash(hasher)
See
Object#hash(hasher) -
#key_id : String | Nil
The Amazon Resource Name (key ARN) of the KMS key that was used to encrypt the plaintext.
-
#key_id=(key_id : String | Nil)
The Amazon Resource Name (key ARN) of the KMS key that was used to encrypt the plaintext.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The encrypted plaintext. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
The encrypted plaintext. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
The encryption algorithm that was used to encrypt the plaintext.
The encryption algorithm that was used to encrypt the plaintext.
The Amazon Resource Name (key ARN) of the KMS key that was used to encrypt the plaintext.