The result of attempting to authenticate a TURN request. More...
Public Member Functions | |
byte[] | getLongTermKeyBytes () |
Gets the long-term key bytes, calculated as the MD5 hash of the following UTF8-encoded input: "username:realm:password" (for convenience, use STUN.CreateLongTermKey to calculate). More... | |
String | getPassword () |
Gets the user's password in plain text. More... | |
Static Public Member Functions | |
static fm.liveswitch.TurnAuthResult | fromLongTermKeyBytes (byte[] longTermKeyBytes) |
Initializes a new instance of the fm.liveswitch.TurnAuthResult class using a long-term key. More... | |
static fm.liveswitch.TurnAuthResult | fromPassword (String password) |
Initializes a new instance of the fm.liveswitch.TurnAuthResult class using a plaintext password. More... | |
The result of attempting to authenticate a TURN request.
|
static |
Initializes a new instance of the fm.liveswitch.TurnAuthResult class using a long-term key.
longTermKeyBytes | The long-term key bytes, calculated as the MD5 hash of the following UTF8-encoded input: "username:realm:password". |
|
static |
Initializes a new instance of the fm.liveswitch.TurnAuthResult class using a plaintext password.
password | The user's password in plain text. |
byte [] fm.liveswitch.TurnAuthResult.getLongTermKeyBytes | ( | ) |
Gets the long-term key bytes, calculated as the MD5 hash of the following UTF8-encoded input: "username:realm:password" (for convenience, use STUN.CreateLongTermKey to calculate).
String fm.liveswitch.TurnAuthResult.getPassword | ( | ) |
Gets the user's password in plain text.