Add support for authentication and encryption

This commit is contained in:
Guillaume Meunier
2024-11-26 23:59:35 +01:00
committed by Patrick Nicolas
parent 447b77c35c
commit c6e773fd22
45 changed files with 1516 additions and 455 deletions
+12 -1
View File
@@ -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