Add support for authentication and encryption
This commit is contained in:
committed by
Patrick Nicolas
parent
447b77c35c
commit
c6e773fd22
@@ -29,7 +29,6 @@
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
struct configuration
|
||||
{
|
||||
struct encoder
|
||||
@@ -58,4 +57,16 @@ struct configuration
|
||||
};
|
||||
|
||||
std::string server_cookie();
|
||||
|
||||
struct headset_key
|
||||
{
|
||||
std::string public_key;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
std::vector<headset_key> known_keys();
|
||||
void add_known_key(headset_key key);
|
||||
void remove_known_key(const std::string & key);
|
||||
void rename_known_key(headset_key key);
|
||||
|
||||
} // namespace wivrn
|
||||
|
||||
Reference in New Issue
Block a user