SymmetricKey 类

定义

Store primary and secondary keys Provide function for key length validation

public class SymmetricKey
继承
java.lang.Object
SymmetricKey

构造函数

SymmetricKey()

Constructor for initialization

方法

equals(Object other)
getPrimaryKey()

Getter for primary key

getSecondaryKey()

Getter for secondary key

setPrimaryKey(String primaryKey)

Setter for primary key Validates the length of the key

<xreftitle>Deprecated</xreftitle>

<xrefdescription>

  <p>as of service-client version 1.15.1, please use <xref uid="com.microsoft.azure.sdk.iot.service.auth.SymmetricKey.setPrimaryKeyFinal(String)" data-throw-if-not-resolved="false" data-raw-source="setPrimaryKeyFinal(String)"></xref></p>

</xrefdescription>

setPrimaryKeyFinal(String primaryKey)

Setter for primary key Validates the length of the key

setSecondaryKey(String secondaryKey)

Setter for secondary key Validates the length of the key

<xreftitle>Deprecated</xreftitle>

<xrefdescription>

  <p>as of service-client version 1.15.1, please use <xref uid="com.microsoft.azure.sdk.iot.service.auth.SymmetricKey.setSecondaryKeyFinal(String)" data-throw-if-not-resolved="false" data-raw-source="setSecondaryKeyFinal(String)"></xref></p>

</xrefdescription>

setSecondaryKeyFinal(String secondaryKey)

Setter for secondary key Validates the length of the key

适用于