Sunshine master
Self-hosted game stream host for Moonlight.
nvhttp::pair_session_t Struct Reference

Pairing handshake state exchanged with a Moonlight client. More...

#include <src/nvhttp.h>

Collaboration diagram for nvhttp::pair_session_t:
[legend]

Public Attributes

struct { 
 
   util::Either< std::shared_ptr< typename SimpleWeb::ServerBase< SimpleWeb::HTTP >::Response >, std::shared_ptr< typename SimpleWeb::ServerBase< SunshineHTTPS >::Response > >   response 
 
   std::string   salt = {} 
 
async_insert_pin 
 Async insert pin.
 
std::unique_ptr< crypto::aes_tcipher_key = {}
 Cipher key.
 
struct { 
 
   std::string   cert = {} 
 
   std::string   name = {} 
 
   std::string   uniqueID = {} 
 
client 
 Client object or client certificate data owned by this state..
 
std::vector< uint8_t > clienthash = {}
 Client certificate hash used during pairing.
 
PAIR_PHASE last_phase = PAIR_PHASE::NONE
 used as a security measure to prevent out of order calls
 
std::string serverchallenge = {}
 Server challenge sent during pairing.
 
std::string serversecret = {}
 Server pairing secret.
 

Detailed Description

Pairing handshake state exchanged with a Moonlight client.


The documentation for this struct was generated from the following file: