|
YAACC - UPNP Client and Server
|
The credentials of the Pairing PSK flow that the server keeps: the pairing tokens the operator pasted (a token is used up by a successful pairing: its player now has a long-term PSK with this server) and the long-term PSKs of paired players, each by client_id.
More...

Public Member Functions | |
| SendspinPairings (StringSetStore store) | |
| synchronized boolean | addToken (PairingToken token) |
| Keeps the token's PSK for its player. | |
| synchronized byte[] | pairingPsk (String clientId) |
| synchronized void | removeToken (String clientId) |
| synchronized boolean | isPaired (String clientId) |
| synchronized List< String > | pairedIds () |
| synchronized boolean | completePairing (String clientId, byte[] longTermPsk) |
| synchronized void | unpair (String clientId) |
| synchronized ServerHandshake.PskChoice | pskFor (String clientId) |
The credentials of the Pairing PSK flow that the server keeps: the pairing tokens the operator pasted (a token is used up by a successful pairing: its player now has a long-term PSK with this server) and the long-term PSKs of paired players, each by client_id.
Both are credentials: they are never logged. They are kept in the app's private preferences (backup is off), like the server's identity key; wrapping them with a key of the Android Keystore is still to do (spec, task 3.5). Pure.
| synchronized boolean de.yaacc.sendspin.SendspinPairings.addToken | ( | PairingToken | token | ) |
Keeps the token's PSK for its player.
Referenced by de.yaacc.sendspin.SendspinPolicy.addDeviceToken(), de.yaacc.sendspin.SendspinPolicy.addToken(), and de.yaacc.sendspin.SendspinPolicy.pairWithToken().


| synchronized boolean de.yaacc.sendspin.SendspinPairings.completePairing | ( | String | clientId, |
| byte[] | longTermPsk ) |
Referenced by de.yaacc.sendspin.SendspinPolicy.completePairing().
