Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add nonce and iv to cbom output #146

Merged
merged 1 commit into from
Sep 18, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -119,7 +121,10 @@ private void add(@Nullable final String parentBomRef, @Nonnull List<INode> 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()) {
Expand Down
Loading