Package org.linphone.core
Interface DigestAuthenticationPolicy
public interface DigestAuthenticationPolicy
The LinphoneDigestAuthenticationPolicy holds parameters relative to digest
authentication procedures.
 
authentication procedures.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGet whether MD5 hash algorithm is allowed.booleanGet whether digest authentication without 'qop=auth' mode is allowed.longGets the native pointer used by this class to make native method calls.Gets the object stored in this object user's datavoidsetAllowMd5(boolean value) Set whether MD5 hash algorithm is allowed.voidsetAllowNoQop(boolean value) Set whether digest authentication without 'qop=auth' mode is allowed.voidsetUserData(Object data) Sets the object to store in this object user's datatoString()
- 
Method Details- 
getAllowMd5boolean getAllowMd5()Get whether MD5 hash algorithm is allowed.
 
 The default value is true, in order to maximize interoperability. MD5 is
 considered as a weak algorithm, some might want to disable it, in which case
 SHA-256 will be required to perform digest authentication.- Returns:
- a boolean value 
 
- 
setAllowMd5void setAllowMd5(boolean value) Set whether MD5 hash algorithm is allowed.
 
 The default value is true, in order to maximize interoperability. MD5 is
 considered as a weak algorithm, some might want to disable it, in which case
 SHA-256 will be required to perform digest authentication.- Parameters:
- value- a boolean value.
 
- 
getAllowNoQopboolean getAllowNoQop()Get whether digest authentication without 'qop=auth' mode is allowed.
 
 The default value is true, in order to maximize interoperability. 'qop=auth'
 mode enforces security thanks to the use of a client nonce, which makes
 password brute forcing more difficult. When set to false, linphone will refuse
 to authenticate to servers that are not implementing the qop=auth mode.- Returns:
- a boolean value 
 
- 
setAllowNoQopvoid setAllowNoQop(boolean value) Set whether digest authentication without 'qop=auth' mode is allowed.
 
 The default value is true, in order to maximize interoperability. 'qop=auth'
 mode enforces security thanks to the use of a client nonce, which makes
 password brute forcing more difficult. When set to false, linphone will refuse
 to authenticate to servers that are not implementing the qop=auth mode.- Parameters:
- value- a boolean value.
 
- 
setUserDataSets the object to store in this object user's data- Parameters:
- data- the object to store
 
- 
getUserDataObject getUserData()Gets the object stored in this object user's data- Returns:
- the object store if any, null otherwise
 
- 
getNativePointerlong getNativePointer()Gets the native pointer used by this class to make native method calls.- Returns:
- the nativer pointer, as long
 
- 
toStringString toString()
 
-