@@ -263,7 +263,7 @@ class CryptoFunction(str, Enum):
263263 UNKNOWN = 'unknown'
264264
265265
266- @serializable .serializable_class
266+ @serializable .serializable_class ( ignore_unknown_during_deserialization = True )
267267class AlgorithmProperties :
268268 """
269269 This is our internal representation of the cryptoPropertiesType.algorithmProperties ENUM type within the CycloneDX
@@ -514,7 +514,7 @@ def __repr__(self) -> str:
514514 return f'<AlgorithmProperties primitive={ self .primitive } , execution_environment={ self .execution_environment } >'
515515
516516
517- @serializable .serializable_class
517+ @serializable .serializable_class ( ignore_unknown_during_deserialization = True )
518518class CertificateProperties :
519519 """
520520 This is our internal representation of the `cryptoPropertiesType.certificateProperties` complex type within
@@ -746,7 +746,7 @@ class RelatedCryptoMaterialState(str, Enum):
746746 SUSPENDED = 'suspended'
747747
748748
749- @serializable .serializable_class
749+ @serializable .serializable_class ( ignore_unknown_during_deserialization = True )
750750class RelatedCryptoMaterialSecuredBy :
751751 """
752752 This is our internal representation of the `cryptoPropertiesType.relatedCryptoMaterialProperties.securedBy` complex
@@ -817,7 +817,7 @@ def __repr__(self) -> str:
817817 return f'<RelatedCryptoMaterialSecuredBy mechanism={ self .mechanism } , algorithm_ref={ self .algorithm_ref } >'
818818
819819
820- @serializable .serializable_class
820+ @serializable .serializable_class ( ignore_unknown_during_deserialization = True )
821821class RelatedCryptoMaterialProperties :
822822 """
823823 This is our internal representation of the `cryptoPropertiesType.relatedCryptoMaterialProperties` complex type
@@ -1086,7 +1086,7 @@ class ProtocolPropertiesType(str, Enum):
10861086 UNKNOWN = 'unknown'
10871087
10881088
1089- @serializable .serializable_class
1089+ @serializable .serializable_class ( ignore_unknown_during_deserialization = True )
10901090class ProtocolPropertiesCipherSuite :
10911091 """
10921092 This is our internal representation of the `cryptoPropertiesType.protocolProperties.cipherSuites.cipherSuite`
@@ -1179,7 +1179,7 @@ def __repr__(self) -> str:
11791179 return f'<ProtocolPropertiesCipherSuite name={ self .name } >'
11801180
11811181
1182- @serializable .serializable_class
1182+ @serializable .serializable_class ( ignore_unknown_during_deserialization = True )
11831183class Ikev2TransformTypes :
11841184 """
11851185 This is our internal representation of the `cryptoPropertiesType.protocolProperties.ikev2TransformTypes`
@@ -1321,7 +1321,7 @@ def __repr__(self) -> str:
13211321 return f'<Ikev2TransformTypes esn={ self .esn } >'
13221322
13231323
1324- @serializable .serializable_class
1324+ @serializable .serializable_class ( ignore_unknown_during_deserialization = True )
13251325class ProtocolProperties :
13261326 """
13271327 This is our internal representation of the `cryptoPropertiesType.protocolProperties` complex type within
@@ -1447,7 +1447,7 @@ def __repr__(self) -> str:
14471447 return f'<ProtocolProperties type={ self .type } , version={ self .version } >'
14481448
14491449
1450- @serializable .serializable_class
1450+ @serializable .serializable_class ( ignore_unknown_during_deserialization = True )
14511451class CryptoProperties :
14521452 """
14531453 This is our internal representation of the `cryptoPropertiesType` complex type within CycloneDX standard.
0 commit comments