aws_encryption_sdk.exceptions

Contains exception classes for AWS Encryption SDK.

Exceptions

AWSEncryptionSDKClientError General exception class for AWS Encryption SDK.
ActionNotAllowedError Exception class for errors encountered when attempting to perform unallowed actions.
CacheError General exception class for materials caches.
CacheKeyError Exception class for CryptoCache key misses.
ConfigMismatchError Exception class for errors encountered when the wrong type of config is passed to an object.
CustomMaximumValueExceeded Exception class for use when values are found which exceed user-defined custom maximum values.
DecryptKeyError Exception class for errors encountered when MasterKeys try to decrypt data keys.
EncryptKeyError Exception class for errors encountered when MasterKeys try to encrypt data keys.
GenerateKeyError Exception class for errors encountered when MasterKeys try to generate data keys.
IncorrectMasterKeyError Exception class for operations attempted against the incorrect Master Key.
InvalidAlgorithmError Exception class for Invalid Algorithm definitions.
InvalidCryptographicMaterialsError Exception class for errors encountered when attempting to validate cryptographic materials.
InvalidDataKeyError Exception class for Invalid Data Keys.
InvalidKeyIdError Exception class for Invalid Key IDs.
InvalidProviderIdError Exception class for Invalid Provider IDs.
MasterKeyError Exception class for Master Keys.
MasterKeyProviderError Exception class for Master Key Providers.
NotSupportedError Exception class for unsupported identities or operations.
SerializationError Exception class for serialization/deserialization errors.
SignatureKeyError Exception class for errors encountered with signing or verification keys.
UnknownIdentityError Exception class for unknown identity errors.
UnknownRegionError Exception class for errors encountered when attempting to process unknown regions or region names.
exception aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Bases: exceptions.Exception

General exception class for AWS Encryption SDK.

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.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.

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.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.DecryptKeyError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for errors encountered when MasterKeys try to decrypt 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.GenerateKeyError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for errors encountered when MasterKeys try to generate data keys.

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.InvalidAlgorithmError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for Invalid Algorithm definitions.

exception aws_encryption_sdk.exceptions.InvalidCryptographicMaterialsError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for errors encountered when attempting to validate cryptographic materials.

New in version 1.5.0.

exception aws_encryption_sdk.exceptions.InvalidDataKeyError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for Invalid Data Keys.

exception aws_encryption_sdk.exceptions.InvalidKeyIdError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for Invalid Key IDs.

exception aws_encryption_sdk.exceptions.InvalidProviderIdError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for Invalid Provider IDs.

exception aws_encryption_sdk.exceptions.MasterKeyError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for Master Keys.

exception aws_encryption_sdk.exceptions.MasterKeyProviderError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for Master Key Providers.

exception aws_encryption_sdk.exceptions.NotSupportedError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for unsupported identities or operations.

exception aws_encryption_sdk.exceptions.SerializationError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for serialization/deserialization errors.

exception aws_encryption_sdk.exceptions.SignatureKeyError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for errors encountered with signing or verification keys.

New in version 1.5.0.

exception aws_encryption_sdk.exceptions.UnknownIdentityError

Bases: aws_encryption_sdk.exceptions.AWSEncryptionSDKClientError

Exception class for unknown identity errors.

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.