SecuritySetting

abstract class SecuritySetting : Setting

Setting providing access to the Simpulse master security setup.

Properties

Link copied to clipboard

Lists all security modes supported by the master.

Link copied to clipboard
@get:JvmName(name = "__deprecated_isUpdating")
val isUpdating: Boolean
Link copied to clipboard
abstract val modes: Set<SecurityMode>

Currently active security modes.

Link copied to clipboard
@get:JvmName(name = "isUpdating")
abstract val updating: Boolean

Tells whether the setting is updating.

Functions

Link copied to clipboard
abstract fun open()

Sets the security mode to open, which allows to connect to the master without any security checks.

Link copied to clipboard
abstract fun secureWith(securedModes: Set<SecurityMode.PasswordSecured>, password: String)

Secures connection to the master with the given password and modes.