public interface IceAuthenticator
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getLocalKey(String ufrag)
Gets the password assigned to a local user.
|
byte[] |
getRemoteKey(String ufrag,
String media)
Gets the password assigned to a remote user.
|
boolean |
isUserRegistered(String ufrag)
Verifies whether a local user is registered.
|
boolean |
validateUsername(String username)
Validates the autenticity of a STUN USERNAME attribute.
The agent MUST consider the username to be valid if it consists of two values separated by a colon, where the first value is equal to the username fragment generated by the agent in an offer or answer for a session in-progress. |
byte[] getLocalKey(String ufrag)
ufrag - the fragment of the local userbyte[] getRemoteKey(String ufrag, String media)
ufrag - the fragment of the remote usermedia - the name of the target media streamboolean isUserRegistered(String ufrag)
ufrag - the fragment of the local userboolean validateUsername(String username)
username - The username to be validatedCopyright © 2017 TeleStax, Inc.. All Rights Reserved.