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

Method add

mls/src/main/java/org/bouncycastle/mls/protocol/Group.java:1366–1376  ·  view source on GitHub ↗
(KeyPackage keyPackage, MessageOptions msgOptions)

Source from the content-addressed store, hash-verified

1364 }
1365
1366 public MLSMessage add(KeyPackage keyPackage, MessageOptions msgOptions)
1367 throws Exception
1368 {
1369 AuthenticatedContent contentAuth = sign(
1370 Sender.forMember(index),
1371 addProposal(keyPackage),
1372 msgOptions.authenticatedData,
1373 msgOptions.encrypt
1374 );
1375 return protect(contentAuth, msgOptions.paddingSize);
1376 }
1377
1378 public MLSMessage update(Proposal update, MessageOptions msgOptions)
1379 throws Exception

Callers

nothing calls this directly

Calls 4

signMethod · 0.95
forMemberMethod · 0.95
addProposalMethod · 0.95
protectMethod · 0.95

Tested by

no test coverage detected