Module Class

Definition

public class Module extends BaseDevice
Inheritance
java.lang.Object
Module

Inherited Members

Constructors

Module(String deviceId, String moduleId, SymmetricKey symmetricKey)

Create an Module instance using the given module name

Fields

id

Module name A case-sensitive string (up to 128 char long) of ASCII 7-bit alphanumeric chars + {'-', ':', '.', '+', '%', '_', '#', '*', '?', '!', '(', ')', ',', '=', '@', ';', '$', '''}.

managedBy

Specifies the module's managed by owner

Methods

createFromId(String deviceId, String moduleId, SymmetricKey symmetricKey)

Static create function Creates module object using the given name. If input symmetric key are null then they will be auto generated.

createModule(String deviceId, String moduleId, AuthenticationType authenticationType)

Static create function Creates device object using the given name that will use a Certificate Authority signed certificate for authentication.

getId()

Getter for module name

getManagedBy()

Getter for module's managed by owner

Applies to