General SPSDK API#
General SPSDK modules support.
SPSDK Exceptions#
Base for SPSDK exceptions.
- exception spsdk.exceptions.SPSDKAlignmentError(desc=None)#
Bases:
SPSDKError,ValueErrorData improperly aligned.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKAttributeError(desc=None)#
Bases:
SPSDKError,AttributeErrorSPSDK standard attribute error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKConnectionError(desc=None)#
Bases:
SPSDKError,ConnectionErrorSPSDK standard connection error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKCorruptedException(desc=None)#
Bases:
SPSDKErrorCorrupted Exception.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKError(desc=None)#
Bases:
ExceptionSecure Provisioning SDK Base Exception.
Initialize the base SPSDK Exception.
- fmt = 'SPSDK: {description}'#
- exception spsdk.exceptions.SPSDKFileNotFoundError#
Bases:
FileNotFoundError,SPSDKErrorSPSDK file not found error.
- exception spsdk.exceptions.SPSDKIOError(desc=None)#
Bases:
SPSDKError,OSErrorSPSDK standard IO error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKIndexError(desc=None)#
Bases:
SPSDKError,IndexErrorSPSDK standard index error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKKeyError(desc=None)#
Bases:
SPSDKError,KeyErrorSPSDK standard key error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKLengthError(desc=None)#
Bases:
SPSDKError,ValueErrorSPSDK parsing error of any binary.
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,NotImplementedErrorSPSDK standard not implemented error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKOverlapError(desc=None)#
Bases:
SPSDKError,ValueErrorData overlap error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKParsingError(desc=None)#
Bases:
SPSDKErrorCannot parse binary data.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKPermissionError(desc=None)#
Bases:
SPSDKError,PermissionErrorSPSDK permission error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKSyntaxError#
Bases:
SyntaxError,SPSDKErrorSPSDK syntax error.
- exception spsdk.exceptions.SPSDKTypeError(desc=None)#
Bases:
SPSDKError,TypeErrorSPSDK standard type error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKUnsupportedOperation(desc=None)#
Bases:
SPSDKErrorSPSDK unsupported operation error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKValueError(desc=None)#
Bases:
SPSDKError,ValueErrorSPSDK standard value error.
Initialize the base SPSDK Exception.
- exception spsdk.exceptions.SPSDKVerificationError(desc=None)#
Bases:
SPSDKErrorError caused by verifying object.
Initialize the base SPSDK Exception.