FMIceLinkTurnAuthResult Class Reference

Inherits from NSObject
Declared in FMIceLinkTurnAuthResult.h
FMIceLinkTurnAuthResult.m

Overview

The result of attempting to authenticate a TURN request.

+ fromLongTermKeyBytes:

Initializes a new instance of the FMIceLinkTurnAuthResult class using a long-term key.
+ (FMIceLinkTurnAuthResult *)fromLongTermKeyBytes:(NSMutableData *)longTermKeyBytes

Parameters

longTermKeyBytes

The long-term key bytes, calculated as the MD5 hash of the following UTF8-encoded input: “username:realm:password”.

Discussion

Initializes a new instance of the FMIceLinkTurnAuthResult class using a long-term key.

Declared In

FMIceLinkTurnAuthResult.h

+ fromPassword:

Initializes a new instance of the FMIceLinkTurnAuthResult class using a plaintext [password](#//api/name/password).
+ (FMIceLinkTurnAuthResult *)fromPassword:(NSString *)password

Parameters

password

The user’s password in plain text.

Discussion

Initializes a new instance of the FMIceLinkTurnAuthResult class using a plaintext [password](#//api/name/password).

Declared In

FMIceLinkTurnAuthResult.h

– longTermKeyBytes

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).
- (NSMutableData *)longTermKeyBytes

Discussion

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).

Declared In

FMIceLinkTurnAuthResult.h

– password

Gets the user's password in plain text.
- (NSString *)password

Discussion

Gets the user's password in plain text.

Declared In

FMIceLinkTurnAuthResult.h