@Generated(value="software.amazon.awssdk:codegen") public final class InvalidCiphertextException extends KmsException implements ToCopyableBuilder<InvalidCiphertextException.Builder,InvalidCiphertextException>
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 AWS KMS could not decrypt the encrypted (wrapped) key material.
Modifier and Type | Class and Description |
---|---|
static interface |
InvalidCiphertextException.Builder |
Modifier and Type | Method and Description |
---|---|
static InvalidCiphertextException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvalidCiphertextException.Builder> |
serializableBuilderClass() |
InvalidCiphertextException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
extendedRequestId, requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
equalsBySdkFields
public InvalidCiphertextException.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<InvalidCiphertextException.Builder,InvalidCiphertextException>
toBuilder
in class KmsException
public static InvalidCiphertextException.Builder builder()
public static Class<? extends InvalidCiphertextException.Builder> serializableBuilderClass()
Copyright © 2021. All rights reserved.