SecurityStrategy

open class SecurityStrategy

Defines a strategy for handling SSL communication with the hue bridge.

Types

Link copied to clipboard
open class CustomCa(val certificatePem: String, val hostname: String, val ip: String) : SecurityStrategy

Use a custom certificate by resolving a hostname to an IP address.

Link copied to clipboard
class HueCa(val ip: String, deviceId: String) : SecurityStrategy.CustomCa

Use Hue's CA when connecting to a device.

Link copied to clipboard
class Insecure(val hostname: String) : SecurityStrategy

Connect to Hue over a completely insecure connection.

Link copied to clipboard

Use a default security scheme, letting the platform manage trust.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard