DigestAuthenticationPolicy
public class DigestAuthenticationPolicy : LinphoneObject
The LinphoneDigestAuthenticationPolicy holds parameters relative to digest authentication procedures.
-
Undocumented
Declaration
Swift
public static func getSwiftObject(cObject: OpaquePointer) -> DigestAuthenticationPolicy
-
Undocumented
Declaration
Swift
public var getCobject: OpaquePointer? { get }
-
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.
Declaration
Swift
public var allowMd5: Bool { get set }
Return Value
a boolean value
-
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.
Declaration
Swift
public var allowNoQop: Bool { get set }
Return Value
a boolean value
-
Retrieve the user pointer associated with the
DigestAuthenticationPolicy
object.Declaration
Swift
public var userData: UnsafeMutableRawPointer? { get set }
Return Value
The user pointer.