FMIceLinkStunUtility Class Reference

Inherits from NSObject
Declared in FMIceLinkStunUtility.h
FMIceLinkStunUtility.m

Overview

STUN-wide methods.

+ createLongTermKeyWithUsername:realm:password:

Creates a long term key from the given username, realm, and password by calculating the MD5 hash of their values concatenated as "username:realm:password".
+ (NSMutableData *)createLongTermKeyWithUsername:(NSString *)username realm:(NSString *)realm password:(NSString *)password

Parameters

username

The username.

realm

The realm.

password

The password.

Discussion

Creates a long term key from the given username, realm, and password by calculating the MD5 hash of their values concatenated as "username:realm:password".

Declared In

FMIceLinkStunUtility.h

+ createShortTermKeyWithPassword:

Creates a short term key from the given password by encoding it as a UTF-8 byte array.
+ (NSMutableData *)createShortTermKeyWithPassword:(NSString *)password

Parameters

password

The password.

Discussion

Creates a short term key from the given password by encoding it as a UTF-8 byte array.

Declared In

FMIceLinkStunUtility.h