YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.sendspin.client.ClientCredentials Interface Reference

What the controller needs of the pairing records of this client: the PSKs the server may name in the handshake (the Pairing PSK of the token this client shows, the long-term PSK of a server it is paired with) and the completion of a pairing. More...

Inheritance diagram for de.yaacc.sendspin.client.ClientCredentials:
Inheritance graph
Collaboration diagram for de.yaacc.sendspin.client.ClientCredentials:
Collaboration graph

Public Member Functions

boolean holdsPairingPsk ()
 
boolean completePairing (String serverId, byte[] longTermPsk)
 Keeps the long-term PSK of a server and uses up the Pairing PSK.
 
void unpair (String serverId)
 The server unpaired this client: its long-term record is forgotten.
 
- Public Member Functions inherited from de.yaacc.sendspin.session.ClientHandshake.PskLookup
Held find (String pskId, SendspinPsk.Category category)
 

Detailed Description

What the controller needs of the pairing records of this client: the PSKs the server may name in the handshake (the Pairing PSK of the token this client shows, the long-term PSK of a server it is paired with) and the completion of a pairing.

Member Function Documentation

◆ completePairing()

boolean de.yaacc.sendspin.client.ClientCredentials.completePairing ( String serverId,
byte[] longTermPsk )

Keeps the long-term PSK of a server and uses up the Pairing PSK.

Returns
false if the PSK is not fit to be kept (the Sentinel, or the Pairing PSK itself)

Implemented in de.yaacc.sendspin.SendspinClientPairings.

◆ holdsPairingPsk()

boolean de.yaacc.sendspin.client.ClientCredentials.holdsPairingPsk ( )
Returns
true if a Pairing PSK is held (the user asked for a token), so that a pairing activation can be answered

Implemented in de.yaacc.sendspin.SendspinClientPairings.

◆ unpair()

void de.yaacc.sendspin.client.ClientCredentials.unpair ( String serverId)

The server unpaired this client: its long-term record is forgotten.

Implemented in de.yaacc.sendspin.SendspinClientPairings.


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