Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
402 changes: 390 additions & 12 deletions cyclonedx/model/crypto.py

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions tests/_data/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@
from cyclonedx.model.crypto import (
AlgorithmProperties,
CertificateProperties,
CryptoAlgorithmFamily,
CryptoAssetType,
CryptoCertificationLevel,
CryptoEllipticCurve,
CryptoExecutionEnvironment,
CryptoFunction,
CryptoImplementationPlatform,
Expand Down Expand Up @@ -171,8 +173,10 @@ def get_crypto_properties_algorithm() -> CryptoProperties:
asset_type=CryptoAssetType.ALGORITHM,
algorithm_properties=AlgorithmProperties(
primitive=CryptoPrimitive.KEM,
algorithm_family=CryptoAlgorithmFamily.ML_KEM,
parameter_set_identifier='a-parameter-set-id',
curve='9n8y2oxty3ao83n8qc2g2x3qcw4jt4wj',
elliptic_curve=CryptoEllipticCurve.NIST_P_256,
execution_environment=CryptoExecutionEnvironment.SOFTWARE_PLAIN_RAM,
implementation_platform=CryptoImplementationPlatform.GENERIC,
certification_levels=[
Expand Down
Loading