SCAutolib.enums
This module defines various enumeration classes used throughout the SCAutolib library. These enumerations provide a set of named constants, enhancing code readability, maintainability, and reducing the likelihood of errors by restricting values to a predefined set.
Classes
- class CAType(value)[source]
Enumeration for the different types of Certificate Authorities (CAs) that SCAutolib can interact with or configure.
- class CardType(value)[source]
Enumeration for different types of smart cards supported by SCAutolib. This allows for clear categorization and differentiation in handling various card implementations within the library’s logic.
- class OSVersion(value)[source]
Enumeration for Linux operating system versions. This class provides a convenient way to represent and check different Linux distributions and their major versions numerically within SCAutolib’s logic.