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

Method Inner

mlspp/src/session.cpp:92–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90///
91
92PendingJoin::Inner::Inner(CipherSuite suite_in,
93 SignaturePrivateKey sig_priv_in,
94 Credential cred_in)
95 : suite(suite_in)
96 , init_priv(HPKEPrivateKey::generate(suite))
97 , leaf_priv(HPKEPrivateKey::generate(suite))
98 , sig_priv(std::move(sig_priv_in))
99 , key_package(suite,
100 init_priv.public_key,
101 LeafNode(suite,
102 leaf_priv.public_key,
103 sig_priv.public_key,
104 std::move(cred_in),
105 Capabilities::create_default(),
106 Lifetime::create_default(),
107 {},
108 sig_priv),
109 {},
110 sig_priv)
111{
112}
113
114PendingJoin
115PendingJoin::Inner::create(CipherSuite suite,

Callers

nothing calls this directly

Calls 1

LeafNodeClass · 0.50

Tested by

no test coverage detected