diff --git a/output/src/main/java/com/ibm/output/cyclondx/CBOMOutputFile.java b/output/src/main/java/com/ibm/output/cyclondx/CBOMOutputFile.java index 9b3878fc..77f8b5a9 100644 --- a/output/src/main/java/com/ibm/output/cyclondx/CBOMOutputFile.java +++ b/output/src/main/java/com/ibm/output/cyclondx/CBOMOutputFile.java @@ -28,9 +28,11 @@ import com.ibm.mapper.model.INode; import com.ibm.mapper.model.IPrimitive; import com.ibm.mapper.model.IProperty; +import com.ibm.mapper.model.InitializationVectorLength; import com.ibm.mapper.model.Key; import com.ibm.mapper.model.KeyLength; import com.ibm.mapper.model.Mode; +import com.ibm.mapper.model.NonceLength; import com.ibm.mapper.model.Oid; import com.ibm.mapper.model.Padding; import com.ibm.mapper.model.ParameterSetIdentifier; @@ -119,7 +121,10 @@ private void add(@Nullable final String parentBomRef, @Nonnull List nodes createProtocolComponent(parentBomRef, protocol); } else if (node instanceof CipherSuite cipherSuite) { createCipherSuiteComponent(parentBomRef, cipherSuite); - } else if (node instanceof SaltLength || node instanceof PasswordLength) { + } else if (node instanceof SaltLength + || node instanceof PasswordLength + || node instanceof InitializationVectorLength + || node instanceof NonceLength) { final IProperty property = (IProperty) node; createRelatedCryptoMaterialComponent(parentBomRef, property); } else if (node.hasChildren()) {