| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service | |
| com.microsoft.azure.sdk.iot.service.auth |
| Modifier and Type | Method and Description |
|---|---|
SymmetricKey |
BaseDevice.getSymmetricKey()
Getter for SymmetricKey object
|
SymmetricKey |
AuthenticationMechanism.getSymmetricKey()
Getter for symmetric key.
|
| Modifier and Type | Method and Description |
|---|---|
static Device |
Device.createFromId(String deviceId,
DeviceStatus status,
SymmetricKey symmetricKey)
Static create function.
|
static Module |
Module.createFromId(String deviceId,
String moduleId,
SymmetricKey symmetricKey)
Static create function
Creates module object using the given name.
|
void |
BaseDevice.setSymmetricKey(SymmetricKey symmetricKey)
Setter for SymmetricKey object
|
| Constructor and Description |
|---|
AuthenticationMechanism(SymmetricKey symmetricKey)
Constructor for initialization.
|
BaseDevice(String deviceId,
SymmetricKey symmetricKey)
Create an BaseDevice instance using the given device name
|
Device(String deviceId,
DeviceStatus status,
SymmetricKey symmetricKey)
Create an Device instance using the given device name.
|
Module(String deviceId,
String moduleId,
SymmetricKey symmetricKey)
Create an Module instance using the given module name
|
| Modifier and Type | Method and Description |
|---|---|
SymmetricKey |
AuthenticationMechanism.getSymmetricKey()
Getter for symmetric key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticationMechanism.setSymmetricKey(SymmetricKey symmetricKey)
Setter for symmetric key.
|
| Constructor and Description |
|---|
AuthenticationMechanism(SymmetricKey symmetricKey)
Constructor that saves a symmetric key used for SAS authentication
|
Copyright © 2022. All rights reserved.