static Result match(X509* cert, const Host::ConstPtr& host) { Result result = match_subject_alt_names_ipadd(cert, host->address()); if (result == NO_SAN_PRESENT) { result = match_common_name_ipaddr(cert, host->address_string()); } return result; }
ExternalAuthenticator::ExternalAuthenticator(const Host::ConstPtr& host, const std::string& class_name, const CassAuthenticatorCallbacks* callbacks, void* data) : address_(host->address()) , hostname_(host->hostname()) , class_name_(class_name) , response_(NULL) , callbacks_(callbacks) , data_(data) , exchange_data_(NULL) { }