| 223 | } |
| 224 | |
| 225 | MultiCredential::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 | |
| 238 | bool |
| 239 | MultiCredential::valid_for(const SignaturePublicKey& pub) const |
nothing calls this directly
no test coverage detected