|
YAACC - UPNP Client and Server
|
What a receiver announces in the TXT record of its mDNS service, as hints (nothing here is authenticated). More...

Public Member Functions | |
| boolean | equals (Object other) |
| int | hashCode () |
| Integer | getProtocolVersion () |
The highest protocol version the receiver says it speaks (v or version), or null. | |
| String | getFingerprint () |
| The announced fingerprint of the receiver's certificate (base64 of 32 bytes), or null. | |
| String | getAppName () |
| String | getAppVersion () |
Static Public Member Functions | |
| static FCastServiceTxt | parse (Map< String, byte[]> attributes) |
Static Public Attributes | |
| static final FCastServiceTxt | EMPTY = new FCastServiceTxt(null, null, null, null) |
| No hints. | |
What a receiver announces in the TXT record of its mDNS service, as hints (nothing here is authenticated).
The desktop receiver sets v (the highest protocol version) and fp (base64 SHA-256 of the certificate's public key, for the v4 pin); the Android receiver sets version, appName and appVersion (docs/tech.md). Keys are case insensitive, every value is cut and cleaned, a value of the wrong shape is ignored, at most 32 attributes are read. Immutable.
| String de.yaacc.fcast.discovery.FCastServiceTxt.getFingerprint | ( | ) |
The announced fingerprint of the receiver's certificate (base64 of 32 bytes), or null.
Unauthenticated: the pin of v4 needs a trusted channel.
Referenced by de.yaacc.fcast.discovery.FCastPins.pinFor().

| Integer de.yaacc.fcast.discovery.FCastServiceTxt.getProtocolVersion | ( | ) |
The highest protocol version the receiver says it speaks (v or version), or null.
A hint only.
Referenced by de.yaacc.fcast.discovery.FCastPins.pinFor().

|
static |
| attributes | the TXT attributes as the platform gives them (NsdServiceInfo.getAttributes()); may be null; a value may be null (a flag) |
