MCPcopy Create free account
hub / github.com/bcgit/bc-java / remove

Method remove

mls/src/main/java/org/bouncycastle/mls/protocol/Group.java:1406–1419  ·  view source on GitHub ↗
(LeafIndex removeIndex, MessageOptions msgOptions)

Source from the content-addressed store, hash-verified

1404 }
1405
1406 public MLSMessage remove(LeafIndex removeIndex, MessageOptions msgOptions)
1407 throws Exception
1408 {
1409 // leaf for roster
1410 Proposal remove = Proposal.remove(leafForRoster(removeIndex));
1411
1412 AuthenticatedContent contentAuth = sign(
1413 Sender.forMember(index),
1414 remove,
1415 msgOptions.authenticatedData,
1416 msgOptions.encrypt
1417 );
1418 return protect(contentAuth, msgOptions.paddingSize);
1419 }
1420
1421
1422 public MLSMessage reinit(byte[] groupID, ProtocolVersion version, MlsCipherSuite suite, List<Extension> extList, MessageOptions msgOptions)

Callers

nothing calls this directly

Calls 5

removeMethod · 0.95
leafForRosterMethod · 0.95
signMethod · 0.95
forMemberMethod · 0.95
protectMethod · 0.95

Tested by

no test coverage detected