aws_encryption_sdk.exceptions¶
Contains exception classes for AWS Encryption SDK.
Exceptions
General exception class for AWS Encryption SDK. |
|
Exception class for errors encountered when attempting to perform unallowed actions. |
|
General exception class for materials caches. |
|
Exception class for CryptoCache key misses. |
|
Exception class for errors encountered when the wrong type of config is passed to an object. |
|
Exception class for use when values are found which exceed user-defined custom maximum values. |
|
Exception class for errors encountered when MasterKeys try to decrypt data keys. |
|
Exception class for errors encountered when MasterKeys try to encrypt data keys. |
|
Exception class for errors encountered when MasterKeys try to generate data keys. |
|
Exception class for operations attempted against the incorrect Master Key. |
|
Exception class for Invalid Algorithm definitions. |
|
Exception class for Invalid Data Keys. |
|
Exception class for Invalid Key IDs. |
|
Exception class for Invalid Provider IDs. |
|
Exception class for Master Keys. |
|
Exception class for Master Key Providers. |
|
Exception class for unsupported identities or operations. |
|
Exception class for serialization/deserialization errors. |
|
Exception class for unknown identity errors. |
|
Exception class for errors encountered when attempting to process unknown regions or region names. |
-
exception
aws_encryption_sdk.exceptions.
AWSEncryptionSDKClientError
¶ Bases:
Exception
General exception class for AWS Encryption SDK.
-
exception
aws_encryption_sdk.exceptions.
SerializationError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for serialization/deserialization errors.
-
exception
aws_encryption_sdk.exceptions.
CustomMaximumValueExceeded
¶ Bases:
aws_encryption_sdk.exceptions.SerializationError
Exception class for use when values are found which exceed user-defined custom maximum values.
-
exception
aws_encryption_sdk.exceptions.
UnknownIdentityError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for unknown identity errors.
-
exception
aws_encryption_sdk.exceptions.
NotSupportedError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for unsupported identities or operations.
-
exception
aws_encryption_sdk.exceptions.
MasterKeyProviderError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for Master Key Providers.
-
exception
aws_encryption_sdk.exceptions.
MasterKeyError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for Master Keys.
-
exception
aws_encryption_sdk.exceptions.
InvalidAlgorithmError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for Invalid Algorithm definitions.
-
exception
aws_encryption_sdk.exceptions.
InvalidKeyIdError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for Invalid Key IDs.
-
exception
aws_encryption_sdk.exceptions.
InvalidDataKeyError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for Invalid Data Keys.
-
exception
aws_encryption_sdk.exceptions.
InvalidProviderIdError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for Invalid Provider IDs.
-
exception
aws_encryption_sdk.exceptions.
IncorrectMasterKeyError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for operations attempted against the incorrect Master Key.
-
exception
aws_encryption_sdk.exceptions.
GenerateKeyError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for errors encountered when MasterKeys try to generate data keys.
-
exception
aws_encryption_sdk.exceptions.
EncryptKeyError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for errors encountered when MasterKeys try to encrypt data keys.
-
exception
aws_encryption_sdk.exceptions.
DecryptKeyError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for errors encountered when MasterKeys try to decrypt data keys.
-
exception
aws_encryption_sdk.exceptions.
ActionNotAllowedError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for errors encountered when attempting to perform unallowed actions.
-
exception
aws_encryption_sdk.exceptions.
ConfigMismatchError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for errors encountered when the wrong type of config is passed to an object.
-
exception
aws_encryption_sdk.exceptions.
UnknownRegionError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
Exception class for errors encountered when attempting to process unknown regions or region names.
-
exception
aws_encryption_sdk.exceptions.
CacheError
¶ Bases:
aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError
General exception class for materials caches.
New in version 1.3.0.
-
exception
aws_encryption_sdk.exceptions.
CacheKeyError
¶ Bases:
aws_encryption_sdk.exceptions.CacheError
Exception class for CryptoCache key misses.
New in version 1.3.0.
This exception is meant to mirror KeyError but in the context of a CryptoCache.