fm.liveswitch.DtlsParameters Class Reference

A set of DTLS parameters. More...

Public Member Functions

 DtlsParameters (fm.liveswitch.DtlsRole role, fm.liveswitch.DtlsFingerprint[] fingerprints)
 Initializes a new instance of the fm.liveswitch.DtlsParameters class. More...
 
 DtlsParameters (fm.liveswitch.DtlsRole role, fm.liveswitch.DtlsFingerprint[] fingerprints, fm.liveswitch.DtlsRole preferredRole)
 Initializes a new instance of the fm.liveswitch.DtlsParameters class. More...
 
fm.liveswitch.DtlsFingerprint getFingerprint ()
 Gets the fingerprint. More...
 
fm.liveswitch.DtlsFingerprint[] getFingerprints ()
 Gets the fingerprints. More...
 
fm.liveswitch.DtlsRole getPreferredRole ()
 Gets the preferred role. More...
 
fm.liveswitch.DtlsRole getRole ()
 Gets the role. More...
 
void setFingerprint (fm.liveswitch.DtlsFingerprint value)
 Sets the fingerprint. More...
 
void setFingerprints (fm.liveswitch.DtlsFingerprint[] value)
 Sets the fingerprints. More...
 
void setPreferredRole (fm.liveswitch.DtlsRole value)
 Sets the preferred role. More...
 
void setRole (fm.liveswitch.DtlsRole value)
 Sets the role. More...
 

Detailed Description

A set of DTLS parameters.

Constructor & Destructor Documentation

◆ DtlsParameters() [1/2]

fm.liveswitch.DtlsParameters.DtlsParameters ( fm.liveswitch.DtlsRole  role,
fm.liveswitch.DtlsFingerprint[]  fingerprints 
)

Initializes a new instance of the fm.liveswitch.DtlsParameters class.

Parameters
roleThe role.
fingerprintsThe fingerprints.

◆ DtlsParameters() [2/2]

fm.liveswitch.DtlsParameters.DtlsParameters ( fm.liveswitch.DtlsRole  role,
fm.liveswitch.DtlsFingerprint[]  fingerprints,
fm.liveswitch.DtlsRole  preferredRole 
)

Initializes a new instance of the fm.liveswitch.DtlsParameters class.

Parameters
roleThe role.
fingerprintsThe fingerprints.
preferredRoleThe preferred role.

Member Function Documentation

◆ getFingerprint()

fm.liveswitch.DtlsFingerprint fm.liveswitch.DtlsParameters.getFingerprint ( )

Gets the fingerprint.

◆ getFingerprints()

fm.liveswitch.DtlsFingerprint [] fm.liveswitch.DtlsParameters.getFingerprints ( )

Gets the fingerprints.

◆ getPreferredRole()

fm.liveswitch.DtlsRole fm.liveswitch.DtlsParameters.getPreferredRole ( )

Gets the preferred role.

◆ getRole()

fm.liveswitch.DtlsRole fm.liveswitch.DtlsParameters.getRole ( )

Gets the role.

◆ setFingerprint()

void fm.liveswitch.DtlsParameters.setFingerprint ( fm.liveswitch.DtlsFingerprint  value)

Sets the fingerprint.

◆ setFingerprints()

void fm.liveswitch.DtlsParameters.setFingerprints ( fm.liveswitch.DtlsFingerprint[]  value)

Sets the fingerprints.

◆ setPreferredRole()

void fm.liveswitch.DtlsParameters.setPreferredRole ( fm.liveswitch.DtlsRole  value)

Sets the preferred role.

◆ setRole()

void fm.liveswitch.DtlsParameters.setRole ( fm.liveswitch.DtlsRole  value)

Sets the role.