30 lines
752 B
C++
30 lines
752 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
namespace bts {
|
|
namespace glbx {
|
|
|
|
struct LogonData {
|
|
std::string access_key;
|
|
std::string signature;
|
|
std::string canonical;
|
|
};
|
|
|
|
LogonData calculate_hmac(
|
|
const std::string& session_id,
|
|
const std::string& msg_seq_num,
|
|
const std::string& sender_comp_id,
|
|
const std::string& sender_sub_id,
|
|
const std::string& sending_time,
|
|
const std::string& target_sub_id,
|
|
const std::string& heartbeat_interval,
|
|
const std::string& sender_location_id,
|
|
const std::string& last_seq_num,
|
|
const std::string& application_system_name,
|
|
const std::string& application_system_version,
|
|
const std::string& application_system_vendor
|
|
);
|
|
|
|
}
|
|
}
|