Struct aws_sdk_kms::error::InvalidCiphertextException
source · #[non_exhaustive]pub struct InvalidCiphertextException { /* private fields */ }
Expand description
From the Decrypt
or ReEncrypt
operation, the request was rejected because the specified ciphertext, or additional authenticated data incorporated into the ciphertext, such as the encryption context, is corrupted, missing, or otherwise invalid.
From the ImportKeyMaterial
operation, the request was rejected because KMS could not decrypt the encrypted (wrapped) key material.
Implementations§
source§impl InvalidCiphertextException
impl InvalidCiphertextException
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InvalidCiphertextException
.
Trait Implementations§
source§impl Clone for InvalidCiphertextException
impl Clone for InvalidCiphertextException
source§fn clone(&self) -> InvalidCiphertextException
fn clone(&self) -> InvalidCiphertextException
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InvalidCiphertextException
impl Debug for InvalidCiphertextException
source§impl Display for InvalidCiphertextException
impl Display for InvalidCiphertextException
source§impl Error for InvalidCiphertextException
impl Error for InvalidCiphertextException
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()