(List<CachedProposal> proposals)
| 1685 | } |
| 1686 | |
| 1687 | private void applyGCE(List<CachedProposal> proposals) |
| 1688 | throws Exception |
| 1689 | { |
| 1690 | for (CachedProposal cached : proposals) |
| 1691 | { |
| 1692 | if (cached.proposal.getProposalType() != ProposalType.GROUP_CONTEXT_EXTENSIONS) |
| 1693 | { |
| 1694 | continue; |
| 1695 | } |
| 1696 | |
| 1697 | //TODO: check nex extension is compatible with all members |
| 1698 | // |
| 1699 | |
| 1700 | if (!extensionsSupported(cached.proposal.getGroupContextExtensions().extensions)) |
| 1701 | { |
| 1702 | throw new Exception("Unsupported extensions in GroupContextExtensions"); |
| 1703 | } |
| 1704 | extensions = new ArrayList<Extension>(cached.proposal.getGroupContextExtensions().extensions); |
| 1705 | } |
| 1706 | } |
| 1707 | |
| 1708 | private List<KeyScheduleEpoch.PSKWithSecret> applyPSK(List<CachedProposal> proposals) |
| 1709 | throws Exception |
no test coverage detected