FMLiveSwitchDtlsParameters Class Reference

A set of DTLS parameters. More...

Instance Methods

(FMLiveSwitchDtlsFingerprint *) - fingerprint
 Gets the fingerprint. More...
 
(NSMutableArray *) - fingerprints
 Gets the fingerprints. More...
 
(instancetype) - initWithRole:fingerprints:
 Initializes a new instance of the FMLiveSwitchDtlsParameters class. More...
 
(instancetype) - initWithRole:fingerprints:preferredRole:
 Initializes a new instance of the FMLiveSwitchDtlsParameters class. More...
 
(FMLiveSwitchDtlsRole) - preferredRole
 Gets the preferred role. More...
 
(FMLiveSwitchDtlsRole) - role
 Gets the role. More...
 
(void) - setFingerprint:
 Sets the fingerprint. More...
 
(void) - setFingerprints:
 Sets the fingerprints. More...
 
(void) - setPreferredRole:
 Sets the preferred role. More...
 
(void) - setRole:
 Sets the role. More...
 

Class Methods

(FMLiveSwitchDtlsParameters *) + dtlsParametersWithRole:fingerprints:
 Initializes a new instance of the FMLiveSwitchDtlsParameters class. More...
 
(FMLiveSwitchDtlsParameters *) + dtlsParametersWithRole:fingerprints:preferredRole:
 Initializes a new instance of the FMLiveSwitchDtlsParameters class. More...
 

Detailed Description

A set of DTLS parameters.

Method Documentation

◆ dtlsParametersWithRole:fingerprints:

+ (FMLiveSwitchDtlsParameters*) dtlsParametersWithRole: (FMLiveSwitchDtlsRole)  role
fingerprints: (NSMutableArray *)  fingerprints 

Initializes a new instance of the FMLiveSwitchDtlsParameters class.

Parameters
roleThe role.
fingerprintsThe fingerprints.

◆ dtlsParametersWithRole:fingerprints:preferredRole:

+ (FMLiveSwitchDtlsParameters*) dtlsParametersWithRole: (FMLiveSwitchDtlsRole)  role
fingerprints: (NSMutableArray *)  fingerprints
preferredRole: (FMLiveSwitchDtlsRole)  preferredRole 

Initializes a new instance of the FMLiveSwitchDtlsParameters class.

Parameters
roleThe role.
fingerprintsThe fingerprints.
preferredRoleThe preferred role.

◆ fingerprint

- (FMLiveSwitchDtlsFingerprint*) fingerprint

Gets the fingerprint.

◆ fingerprints

- (NSMutableArray*) fingerprints

Gets the fingerprints.

◆ initWithRole:fingerprints:

- (instancetype) initWithRole: (FMLiveSwitchDtlsRole)  role
fingerprints: (NSMutableArray *)  fingerprints 

Initializes a new instance of the FMLiveSwitchDtlsParameters class.

Parameters
roleThe role.
fingerprintsThe fingerprints.

◆ initWithRole:fingerprints:preferredRole:

- (instancetype) initWithRole: (FMLiveSwitchDtlsRole)  role
fingerprints: (NSMutableArray *)  fingerprints
preferredRole: (FMLiveSwitchDtlsRole)  preferredRole 

Initializes a new instance of the FMLiveSwitchDtlsParameters class.

Parameters
roleThe role.
fingerprintsThe fingerprints.
preferredRoleThe preferred role.

◆ preferredRole

- (FMLiveSwitchDtlsRole) preferredRole

Gets the preferred role.

◆ role

- (FMLiveSwitchDtlsRole) role

Gets the role.

◆ setFingerprint:

- (void) setFingerprint: (FMLiveSwitchDtlsFingerprint *)  value

Sets the fingerprint.

◆ setFingerprints:

- (void) setFingerprints: (NSMutableArray *)  value

Sets the fingerprints.

◆ setPreferredRole:

- (void) setPreferredRole: (FMLiveSwitchDtlsRole)  value

Sets the preferred role.

◆ setRole:

- (void) setRole: (FMLiveSwitchDtlsRole)  value

Sets the role.