FMLiveSwitchSdpIceFingerprintAttribute Class Reference

The SDP session attribute "fingerprint" provides an encryption certificate fingerprint to a remote peer for use with DTLS. More...

Instance Methods

(NSString *) - fingerprint
 Gets the fingerprint. More...
 
(NSString *) - getAttributeValue
 Gets the value of the attribute. More...
 
(NSString *) - hashFunction
 Gets the hash function (i.e. More...
 
(instancetype) - initWithHashFunction:fingerprint:
 Initializes a new instance of the FMLiveSwitchSdpIceFingerprintAttribute class. More...
 
- Instance Methods inherited from FMLiveSwitchSdpAttribute
(FMLiveSwitchSdpAttributeType) - attributeType
 Gets this Attribute's Type. More...
 
(NSString *) - description
 Converts this instance to a string. More...
 
(instancetype) - init
 
(FMLiveSwitchSdpAttributeCategory) - multiplexingCategory
 Gets the Multiplexing Category of this Attribute. More...
 
(void) - setAttributeType:
 Sets this Attribute's Type. More...
 
(void) - setMultiplexingCategory:
 Sets the Multiplexing Category of this Attribute. More...
 

Class Methods

(FMLiveSwitchSdpIceFingerprintAttribute *) + fingerprintAttributeWithHashFunction:fingerprint:
 Initializes a new instance of the FMLiveSwitchSdpIceFingerprintAttribute class. More...
 
(FMLiveSwitchSdpIceFingerprintAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpIceFingerprintAttribute class. More...
 
- Class Methods inherited from FMLiveSwitchSdpAttribute
(FMLiveSwitchSdpAttribute *) + attribute
 
(FMLiveSwitchSdpAttribute *) + createAttributeWithName:value:
 Creates an attribute. More...
 
(NSString *) + getTypeNameWithType:
 Gets the name of the attribute type. More...
 
(bool) + isMediaLevelWithType:
 Determines whether the type applies to media streams. More...
 
(bool) + isSessionLevelWithType:
 Determines whether the type applies to sessions. More...
 
(FMLiveSwitchSdpAttribute *) + parseWithS:
 Creates an FMLiveSwitchSdpConnectionData instance from a string. More...
 

Detailed Description

The SDP session attribute "fingerprint" provides an encryption certificate fingerprint to a remote peer for use with DTLS.

Method Documentation

◆ fingerprint

- (NSString*) fingerprint

Gets the fingerprint.

◆ fingerprintAttributeWithHashFunction:fingerprint:

+ (FMLiveSwitchSdpIceFingerprintAttribute*) fingerprintAttributeWithHashFunction: (NSString *)  hashFunction
fingerprint: (NSString *)  fingerprint 

Initializes a new instance of the FMLiveSwitchSdpIceFingerprintAttribute class.

Parameters
hashFunctionThe hash function.
fingerprintThe fingerprint.

◆ fromAttributeValue:

+ (FMLiveSwitchSdpIceFingerprintAttribute*) fromAttributeValue: (NSString *)  value

Initializes a new instance of the FMLiveSwitchSdpIceFingerprintAttribute class.

Parameters
valueThe attribute as a string.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ hashFunction

- (NSString*) hashFunction

Gets the hash function (i.e.

sha-256).

◆ initWithHashFunction:fingerprint:

- (instancetype) initWithHashFunction: (NSString *)  hashFunction
fingerprint: (NSString *)  fingerprint 

Initializes a new instance of the FMLiveSwitchSdpIceFingerprintAttribute class.

Parameters
hashFunctionThe hash function.
fingerprintThe fingerprint.