Liblinphone
5.3.0
|
The LinphoneDigestAuthenticationPolicy holds parameters relative to digest authentication procedures. More...
#include <digest_authentication_policy.hh>
Public Member Functions | |
LINPHONECXX_PUBLIC | DigestAuthenticationPolicy (void *ptr, bool takeRef=true) |
LINPHONECXX_PUBLIC _LinphoneDigestAuthenticationPolicy * | cPtr () |
LINPHONECXX_PUBLIC bool | getAllowMd5 () const |
Get whether MD5 hash algorithm is allowed. More... | |
LINPHONECXX_PUBLIC void | setAllowMd5 (bool value) |
Set whether MD5 hash algorithm is allowed. More... | |
LINPHONECXX_PUBLIC bool | getAllowNoQop () const |
Get whether digest authentication without 'qop=auth' mode is allowed. More... | |
LINPHONECXX_PUBLIC void | setAllowNoQop (bool value) |
Set whether digest authentication without 'qop=auth' mode is allowed. More... | |
The LinphoneDigestAuthenticationPolicy holds parameters relative to digest authentication procedures.
LINPHONECXX_PUBLIC bool linphone::DigestAuthenticationPolicy::getAllowMd5 | ( | ) | const |
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.
LINPHONECXX_PUBLIC bool linphone::DigestAuthenticationPolicy::getAllowNoQop | ( | ) | const |
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.
LINPHONECXX_PUBLIC void linphone::DigestAuthenticationPolicy::setAllowMd5 | ( | bool | 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.
value | a boolean value. |
LINPHONECXX_PUBLIC void linphone::DigestAuthenticationPolicy::setAllowNoQop | ( | bool | 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.
value | a boolean value. |