eap::config_method_eaphost::get_method_str() finished

This commit is contained in:
2016-10-25 11:06:11 +02:00
parent 65ea47eb4e
commit dd55dfd24d
8 changed files with 70 additions and 13 deletions

View File

@@ -150,8 +150,31 @@ namespace eap
///
virtual credentials* make_credentials() const;
public:
///
/// Returns method EAP_METHOD_TYPE
///
inline const EAP_METHOD_TYPE& get_type() const
{
return m_type;
}
///
/// Set method EAP_METHOD_TYPE
///
inline void set_type(_In_ const EAP_METHOD_TYPE &type)
{
m_type = type;
update_type();
}
protected:
void update_type();
protected:
EAP_METHOD_TYPE m_type; ///< EapHost method type: (EAP type, vendor ID, vendor type, author ID) tuple
std::wstring m_type_str; ///< EAP method type as a string
public:
sanitizing_blob m_cfg_blob; ///< Method configuration BLOB
};
}