(List<CachedProposal> proposals)
| 1606 | } |
| 1607 | |
| 1608 | private JoinersWithPSKS apply(List<CachedProposal> proposals) |
| 1609 | throws Exception |
| 1610 | { |
| 1611 | applyUpdate(proposals); |
| 1612 | applyRemove(proposals); |
| 1613 | List<LeafIndex> joinerLocs = applyAdd(proposals); |
| 1614 | applyGCE(proposals); |
| 1615 | List<KeyScheduleEpoch.PSKWithSecret> psks = applyPSK(proposals); |
| 1616 | |
| 1617 | tree.truncate(); |
| 1618 | treePriv.truncate(tree.getSize()); |
| 1619 | tree.setHashAll(); |
| 1620 | |
| 1621 | if (cachedUpdate != null) |
| 1622 | { |
| 1623 | cachedUpdate.reset(); |
| 1624 | } |
| 1625 | return new JoinersWithPSKS(joinerLocs, psks); |
| 1626 | } |
| 1627 | |
| 1628 | private void applyUpdate(List<CachedProposal> proposals) |
| 1629 | throws Exception |
no test coverage detected