FMIceLinkStunTryAlternateStunError Class Reference

Inherits from FMIceLinkStunError : FMIceLinkError : NSObject
Declared in FMIceLinkStunTryAlternateStunError.h
FMIceLinkStunTryAlternateStunError.m

Overview

The client should contact an alternate server for this request. This error response MUST only be sent if the request included a USERNAME attribute and a valid MESSAGE- INTEGRITY attribute; otherwise, it MUST NOT be sent and error code 400 (Bad Request) is suggested. This error response MUST be protected with the MESSAGE-INTEGRITY attribute, and receivers MUST validate the MESSAGE-INTEGRITY of this response before redirecting themselves to an alternate server. Note: Failure to generate and validate message integrity for a 300 response allows an on-path attacker to falsify a 300 response thus causing subsequent STUN messages to be sent to a victim.

– alternateServer

Gets the alternate server attribute.
- (FMIceLinkStunAlternateServerAttribute *)alternateServer

Discussion

Gets the alternate server attribute.

Declared In

FMIceLinkStunTryAlternateStunError.h

– getDescription

Gets the description for this [FMIceLinkStunError](../Classes/FMIceLinkStunError.html).
- (NSString *)getDescription

Discussion

Gets the description for this [FMIceLinkStunError](../Classes/FMIceLinkStunError.html).

Declared In

FMIceLinkStunTryAlternateStunError.h