MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / begin_session

Method begin_session

mlspp/src/session.cpp:66–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66Session
67Client::begin_session(const bytes& group_id) const
68{
69 auto leaf_priv = HPKEPrivateKey::generate(suite);
70 auto leaf_node = LeafNode(suite,
71 leaf_priv.public_key,
72 sig_priv.public_key,
73 cred,
74 Capabilities::create_default(),
75 Lifetime::create_default(),
76 {},
77 sig_priv);
78
79 return Session::Inner::begin(suite, group_id, leaf_priv, sig_priv, leaf_node);
80}
81
82PendingJoin
83Client::start_join() const

Callers

nothing calls this directly

Calls 2

beginFunction · 0.85
LeafNodeClass · 0.50

Tested by

no test coverage detected