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

Method MultiCredential

mlspp/src/credential.cpp:225–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225MultiCredential::MultiCredential(
226 const std::vector<CredentialBindingInput>& binding_inputs,
227 const SignaturePublicKey& signature_key)
228{
229 bindings =
230 stdx::transform<CredentialBinding>(binding_inputs, [&](auto&& input) {
231 return CredentialBinding(input.cipher_suite,
232 input.credential,
233 input.credential_priv,
234 signature_key);
235 });
236}
237
238bool
239MultiCredential::valid_for(const SignaturePublicKey& pub) const

Callers

nothing calls this directly

Calls 1

CredentialBindingClass · 0.50

Tested by

no test coverage detected