Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
nvhttp::pair_session_t Struct Reference

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

#include <src/nvhttp.h>

Classes

struct  [struct].async_insert_pin
struct  [struct].client

Public Attributes

struct  async_insert_pin
 Async insert pin.
std::unique_ptr< crypto::aes_t > cipher_key = {}
 Cipher key.
struct  client
 Client object or client certificate data owned by this state..
std::vector< uint8_t > clienthash = {}
 Client certificate hash used during pairing.
std::shared_ptr< pairing_completion_t > completion = std::make_shared<pairing_completion_t>()
 Result shared with the REST request waiting for the handshake.
bool failed = false
 Whether protocol validation failed and the session must be removed.
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: