mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-20 21:43:18 +00:00
Portal linkage issue
This commit is contained in:
parent
f7b5daf95f
commit
bd06340448
@ -105,8 +105,12 @@ public class SupplyChainValidation extends ArchivableEntity {
|
||||
this.certificatesUsed = new ArrayList<>();
|
||||
this.rimId = "";
|
||||
for (ArchivableEntity ae : certificatesUsed) {
|
||||
if (ae instanceof ReferenceManifest) {
|
||||
this.rimId = ae.getId().toString();
|
||||
if (ae instanceof ReferenceManifest rm) {
|
||||
if (rm.isBase()) {
|
||||
this.rimId = rm.getId().toString();
|
||||
} else {
|
||||
this.rimId = rm.getAssociatedRim().toString();
|
||||
}
|
||||
break;
|
||||
} else if (ae instanceof Certificate) {
|
||||
this.certificatesUsed.add((Certificate) ae);
|
||||
|
Loading…
Reference in New Issue
Block a user