@@ -59,6 +59,8 @@ class CryptoAssetType(str, Enum):
5959
6060@serializable .serializable_enum
6161class CryptoPrimitive (str , Enum ):
62+ # TODO: rename to `CryptoAlgorithmPrimitive`
63+
6264 """
6365 This is our internal representation of the cryptoPropertiesType.algorithmProperties.primitive ENUM type within the
6466 CycloneDX standard.
@@ -143,6 +145,8 @@ def deserialize(cls, o: Any) -> CryptoPrimitive:
143145
144146@serializable .serializable_enum
145147class CryptoExecutionEnvironment (str , Enum ):
148+ # TODO: rename to `CryptoAlgorithmExecutionEnvironment`
149+
146150 """
147151 This is our internal representation of the cryptoPropertiesType.algorithmProperties.executionEnvironment ENUM type
148152 within the CycloneDX standard.
@@ -158,13 +162,15 @@ class CryptoExecutionEnvironment(str, Enum):
158162 SOFTWARE_ENCRYPTED_RAM = 'software-encrypted-ram'
159163 SOFTWARE_PLAIN_RAM = 'software-plain-ram'
160164 SOFTWARE_TEE = 'software-tee'
161-
165+ # --
162166 OTHER = 'other'
163167 UNKNOWN = 'unknown'
164168
165169
166170@serializable .serializable_enum
167171class CryptoImplementationPlatform (str , Enum ):
172+ # TODO: rename to `CryptoAlgorithmImplementationPlatform`
173+
168174 """
169175 This is our internal representation of the cryptoPropertiesType.algorithmProperties.implementationPlatform ENUM type
170176 within the CycloneDX standard.
@@ -182,19 +188,21 @@ class CryptoImplementationPlatform(str, Enum):
182188 ARMV8_M = 'armv8-m'
183189 ARMV9_A = 'armv9-a'
184190 ARMV9_M = 'armv9-m'
185- GENERIC = 'generic'
186191 PPC64 = 'ppc64'
187192 PPC64LE = 'ppc64le'
188193 S390X = 's390x'
189194 X86_32 = 'x86_32'
190195 X86_64 = 'x86_64'
191-
196+ # --
197+ GENERIC = 'generic'
192198 OTHER = 'other'
193199 UNKNOWN = 'unknown'
194200
195201
196202@serializable .serializable_enum
197203class CryptoCertificationLevel (str , Enum ):
204+ # TODO: rename to `CryptoAlgorithmCertificationLevel`
205+
198206 """
199207 This is our internal representation of the cryptoPropertiesType.algorithmProperties.certificationLevel ENUM type
200208 within the CycloneDX standard.
@@ -207,7 +215,7 @@ class CryptoCertificationLevel(str, Enum):
207215 """
208216
209217 NONE = 'none'
210-
218+ # --
211219 FIPS140_1_L1 = 'fips140-1-l1'
212220 FIPS140_1_L2 = 'fips140-1-l2'
213221 FIPS140_1_L3 = 'fips140-1-l3'
@@ -234,13 +242,15 @@ class CryptoCertificationLevel(str, Enum):
234242 CC_EAL6_PLUS = 'cc-eal6+'
235243 CC_EAL7 = 'cc-eal7'
236244 CC_EAL7_PLUS = 'cc-eal7+'
237-
245+ # --
238246 OTHER = 'other'
239247 UNKNOWN = 'unknown'
240248
241249
242250@serializable .serializable_enum
243251class CryptoMode (str , Enum ):
252+ # TODO: rename to `CryptoAlgorithmMode`
253+
244254 """
245255 This is our internal representation of the cryptoPropertiesType.algorithmProperties.mode ENUM type
246256 within the CycloneDX standard.
@@ -259,13 +269,15 @@ class CryptoMode(str, Enum):
259269 ECB = 'ecb'
260270 GCM = 'gcm'
261271 OFB = 'ofb'
262-
272+ # --
263273 OTHER = 'other'
264274 UNKNOWN = 'unknown'
265275
266276
267277@serializable .serializable_enum
268278class CryptoPadding (str , Enum ):
279+ # TODO: rename to `CryptoAlgorithmPadding`
280+
269281 """
270282 This is our internal representation of the cryptoPropertiesType.algorithmProperties.padding ENUM type
271283 within the CycloneDX standard.
@@ -282,7 +294,7 @@ class CryptoPadding(str, Enum):
282294 PKCS1V15 = 'pkcs1v15'
283295 OAEP = 'oaep'
284296 RAW = 'raw'
285-
297+ # --
286298 OTHER = 'other'
287299 UNKNOWN = 'unknown'
288300
@@ -311,7 +323,7 @@ class CryptoFunction(str, Enum):
311323 SIGN = 'sign'
312324 TAG = 'tag'
313325 VERIFY = 'verify'
314-
326+ # --
315327 OTHER = 'other'
316328 UNKNOWN = 'unknown'
317329
@@ -785,7 +797,7 @@ class RelatedCryptoMaterialType(str, Enum):
785797 SIGNATURE = 'signature'
786798 TAG = 'tag'
787799 TOKEN = 'token' # nosec
788-
800+ # --
789801 OTHER = 'other'
790802 UNKNOWN = 'unknown'
791803
0 commit comments