Lines Matching refs:cert
56 explicit PairingServerImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert,
133 PairingServerImpl::PairingServerImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingServerImpl() argument
135 : pswd_(pswd), peer_info_(peer_info), cert_(cert), priv_key_(priv_key), port_(port) { in PairingServerImpl()
322 [fd](const PeerInfo* peer_info, const Data* cert, void* opaque) { in connectionEventsWorker() argument
326 if (peer_info != nullptr && cert != nullptr) { in connectionEventsWorker()
328 std::string(peer_info->guid), Data(*cert)); in connectionEventsWorker()
347 auto [fd, name, guid, cert] = std::move(*p); in connectionEventsWorker()
348 if (name.has_value() && guid.has_value() && cert.has_value() && !name->empty() && in connectionEventsWorker()
349 !guid->empty() && !cert->empty()) { in connectionEventsWorker()
361 cb_(&info, &*cert, opaque_); in connectionEventsWorker()
403 const Data& cert, const Data& priv_key, in create() argument
405 if (pswd.empty() || cert.empty() || priv_key.empty() || port <= 0) { in create()
422 new PairingServerImpl(pswd, peer_info, cert, priv_key, port)); in create()