General SPSDK API#
General SPSDK modules support.
SPSDK Exceptions#
Base for SPSDK exceptions.
- exception spsdk.exceptions.SPSDKAlignmentError(desc=None)#
Bases:
SPSDKError
,ValueError
Data improperly aligned.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKAttributeError(desc=None)#
Bases:
SPSDKError
,AttributeError
SPSDK standard attribute error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKConnectionError(desc=None)#
Bases:
SPSDKError
,ConnectionError
SPSDK standard connection error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKCorruptedException(desc=None)#
Bases:
SPSDKError
Corrupted Exception.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKError(desc=None)#
Bases:
Exception
Secure Provisioning SDK Base Exception.
Initialize the base SPSDK Exception.
- fmt = 'SPSDK: {description}'#
- exception spsdk.exceptions.SPSDKFileNotFoundError#
Bases:
FileNotFoundError
,SPSDKError
SPSDK file not found error.
- exception spsdk.exceptions.SPSDKIOError(desc=None)#
Bases:
SPSDKError
,OSError
SPSDK standard IO error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKIndexError(desc=None)#
Bases:
SPSDKError
,IndexError
SPSDK standard index error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKKeyError(desc=None)#
Bases:
SPSDKError
,KeyError
SPSDK standard key error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKLengthError(desc=None)#
Bases:
SPSDKError
,ValueError
SPSDK parsing error of any AHAB containers.
Input/output data must be of at least container declared length bytes long.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKNotImplementedError(desc=None)#
Bases:
SPSDKError
,NotImplementedError
SPSDK standard not implemented error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKOverlapError(desc=None)#
Bases:
SPSDKError
,ValueError
Data overlap error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKParsingError(desc=None)#
Bases:
SPSDKError
Cannot parse binary data.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKSyntaxError#
Bases:
SyntaxError
,SPSDKError
SPSDK syntax error.
- exception spsdk.exceptions.SPSDKTypeError(desc=None)#
Bases:
SPSDKError
,TypeError
SPSDK standard type error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKUnsupportedOperation(desc=None)#
Bases:
SPSDKError
SPSDK unsupported operation error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKValueError(desc=None)#
Bases:
SPSDKError
,ValueError
SPSDK standard value error.
Initialize the base SPSDK Exception.