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

Method reinit

mls/src/main/java/org/bouncycastle/mls/protocol/Group.java:1422–1436  ·  view source on GitHub ↗
(byte[] groupID, ProtocolVersion version, MlsCipherSuite suite, List<Extension> extList, MessageOptions msgOptions)

Source from the content-addressed store, hash-verified

1420
1421
1422 public MLSMessage reinit(byte[] groupID, ProtocolVersion version, MlsCipherSuite suite, List<Extension> extList, MessageOptions msgOptions)
1423 throws Exception
1424 {
1425 // reinitProposal
1426 Proposal reinit = Proposal.reInit(groupID, version, suite, extList);
1427
1428 AuthenticatedContent contentAuth = sign(
1429 Sender.forMember(index),
1430 reinit,
1431 msgOptions.authenticatedData,
1432 msgOptions.encrypt
1433 );
1434
1435 return protect(contentAuth, msgOptions.paddingSize);
1436 }
1437
1438 public MLSMessage preSharedKey(byte[] externalPskId, MessageOptions msgOptions)
1439 throws Exception

Callers 1

reInitProposalImplMethod · 0.80

Calls 4

reInitMethod · 0.95
signMethod · 0.95
forMemberMethod · 0.95
protectMethod · 0.95

Tested by

no test coverage detected