com.microsoft.azure.iot.service.sdk.AuthenticationMechanism Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iothub-java-service-client Show documentation
Show all versions of iothub-java-service-client Show documentation
The Microsoft Azure IoT Service SDK for Java
/*
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
package com.microsoft.azure.iot.service.sdk;
import com.google.gson.annotations.SerializedName;
import com.microsoft.azure.iot.service.auth.SymmetricKey;
/**
* Authentication mechanism, used to store the device symmetric key.
*/
public class AuthenticationMechanism
{
@SerializedName("symmetricKey")
private SymmetricKey SymmetricKey;
/**
* Getter for symmetric key.
* @return The symmetric key.
*/
public SymmetricKey getSymmetricKey()
{
return this.SymmetricKey;
}
/**
* Constructor for initialization.
*/
public AuthenticationMechanism(SymmetricKey symmetricKey)
{
this.SymmetricKey = symmetricKey;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy