NetworkKey

data class NetworkKey(val index: KeyIndex, val key: ByteArray, val name: String = "NetKey ", val phase: KeyRefreshPhase = KeyRefreshPhase.NORMAL) : MeshKey

Network Key shared by all nodes in a (sub)net.

Constructors

Link copied to clipboard
constructor(index: KeyIndex, key: ByteArray, name: String = "NetKey ", phase: KeyRefreshPhase = KeyRefreshPhase.NORMAL)

Properties

Link copied to clipboard
open override val index: KeyIndex

12-bit index identifying this key within the network.

Link copied to clipboard
open override val key: ByteArray

16-byte AES-128 key material.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int