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 errors encountered when attempting to parse an Amazon Resource Name (ARN). |
|
Exception class for Master Keys. |
|
Exception class for Master Key Providers. |
|
|
Exception class for use when a message or encryption materials contain more encrypted data keys than a configured maximum value. |
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:
AWSEncryptionSDKClientError
Exception class for serialization/deserialization errors.
- exception aws_encryption_sdk.exceptions.CustomMaximumValueExceeded
Bases:
SerializationError
Exception class for use when values are found which exceed user-defined custom maximum values.
- exception aws_encryption_sdk.exceptions.MaxEncryptedDataKeysExceeded(num_keys, max_keys)
Bases:
CustomMaximumValueExceeded
Exception class for use when a message or encryption materials contain more encrypted data keys than a configured maximum value.
Prepares exception message.
- exception aws_encryption_sdk.exceptions.UnknownIdentityError
Bases:
AWSEncryptionSDKClientError
Exception class for unknown identity errors.
- exception aws_encryption_sdk.exceptions.NotSupportedError
Bases:
AWSEncryptionSDKClientError
Exception class for unsupported identities or operations.
- exception aws_encryption_sdk.exceptions.MasterKeyProviderError
Bases:
AWSEncryptionSDKClientError
Exception class for Master Key Providers.
- exception aws_encryption_sdk.exceptions.MasterKeyError
Bases:
AWSEncryptionSDKClientError
Exception class for Master Keys.
- exception aws_encryption_sdk.exceptions.InvalidAlgorithmError
Bases:
AWSEncryptionSDKClientError
Exception class for Invalid Algorithm definitions.
- exception aws_encryption_sdk.exceptions.InvalidKeyIdError
Bases:
AWSEncryptionSDKClientError
Exception class for Invalid Key IDs.
- exception aws_encryption_sdk.exceptions.InvalidDataKeyError
Bases:
AWSEncryptionSDKClientError
Exception class for Invalid Data Keys.
- exception aws_encryption_sdk.exceptions.InvalidProviderIdError
Bases:
AWSEncryptionSDKClientError
Exception class for Invalid Provider IDs.
- exception aws_encryption_sdk.exceptions.IncorrectMasterKeyError
Bases:
AWSEncryptionSDKClientError
Exception class for operations attempted against the incorrect Master Key.
- exception aws_encryption_sdk.exceptions.GenerateKeyError
Bases:
AWSEncryptionSDKClientError
Exception class for errors encountered when MasterKeys try to generate data keys.
- exception aws_encryption_sdk.exceptions.EncryptKeyError
Bases:
AWSEncryptionSDKClientError
Exception class for errors encountered when MasterKeys try to encrypt data keys.
- exception aws_encryption_sdk.exceptions.DecryptKeyError
Bases:
AWSEncryptionSDKClientError
Exception class for errors encountered when MasterKeys try to decrypt data keys.
- exception aws_encryption_sdk.exceptions.ActionNotAllowedError
Bases:
AWSEncryptionSDKClientError
Exception class for errors encountered when attempting to perform unallowed actions.
- exception aws_encryption_sdk.exceptions.ConfigMismatchError
Bases:
AWSEncryptionSDKClientError
Exception class for errors encountered when the wrong type of config is passed to an object.
- exception aws_encryption_sdk.exceptions.UnknownRegionError
Bases:
AWSEncryptionSDKClientError
Exception class for errors encountered when attempting to process unknown regions or region names.
- exception aws_encryption_sdk.exceptions.MalformedArnError
Bases:
AWSEncryptionSDKClientError
Exception class for errors encountered when attempting to parse an Amazon Resource Name (ARN).
- exception aws_encryption_sdk.exceptions.CacheError
Bases:
AWSEncryptionSDKClientError
General exception class for materials caches.
New in version 1.3.0.
- exception aws_encryption_sdk.exceptions.CacheKeyError
Bases:
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.