|
YAACC - UPNP Client and Server
|
The fingerprints that came with an fcast://r/ link (task 7.2, D24): endpoint and key of a receiver, stored as one string, one line per receiver (<canonical endpoint>\t<base64 fingerprint>).
More...

Classes | |
| enum | Result |
What put did. More... | |
Public Member Functions | |
| FCastPinStore (StringStore storage) | |
| synchronized FCastPin | get (FCastEndpoint endpoint) |
The stored key of the receiver (source LINK), or null. | |
| synchronized Result | put (FCastEndpoint endpoint, FCastPin pin) |
| synchronized boolean | remove (FCastEndpoint endpoint) |
Static Public Attributes | |
| static final int | MAX = 32 |
The most receivers with a stored key (the manual list holds FCastStoredReceivers#MAX_MANUAL). | |
The fingerprints that came with an fcast://r/ link (task 7.2, D24): endpoint and key of a receiver, stored as one string, one line per receiver (<canonical endpoint>\t<base64 fingerprint>).
Only a link can put an entry here: the link is the channel the network can not change (the v4 document's threat model), so what is stored is the strong pin. A damaged line is skipped, the list never grows over its cap ({@value MAX}; a new receiver pushes out nothing: it is refused), an endpoint is in it once. Thread safe. The fingerprint is public (it is announced by the receiver) but is not logged in full.
| synchronized boolean de.yaacc.fcast.discovery.FCastPinStore.remove | ( | FCastEndpoint | endpoint | ) |
Referenced by de.yaacc.fcast.discovery.FCastPins.forget().
