RegistryIdentity Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. registry. RegistryIdentity
- com.
public class RegistryIdentity
The RegistryIdentity class implementing constructors and serialization functionality.
Method Summary
Modifier and Type | Method and Description |
---|---|
Authentication |
getAuthenticationType()
Getter for the authentication type of this device |
String |
getPrimaryKey()
Getter for PrimaryKey part of the SymmetricKey |
String |
getPrimaryThumbprint()
Getter for primary thumbprint part of the whole thumbprint |
String |
getSecondaryKey()
Getter for SecondaryKey part of the SymmetricKey |
String |
getSecondaryThumbprint()
Getter for secondary thumbprint part of the whole thumbprint |
Symmetric |
getSymmetricKey()
Getter for SymmetricKey object |
void |
setSymmetricKey(SymmetricKey symmetricKey)
Setter for SymmetricKey object |
final void |
setThumbprint(String primaryThumbprint, String secondaryThumbprint)
Setter for X509 thumbprint |
Method Details
getAuthenticationType
public AuthenticationType getAuthenticationType()
Getter for the authentication type of this device
Returns:
getPrimaryKey
public String getPrimaryKey()
Getter for PrimaryKey part of the SymmetricKey
Returns:
getPrimaryThumbprint
public String getPrimaryThumbprint()
Getter for primary thumbprint part of the whole thumbprint
Returns:
getSecondaryKey
public String getSecondaryKey()
Getter for SecondaryKey part of the SymmetricKey
Returns:
getSecondaryThumbprint
public String getSecondaryThumbprint()
Getter for secondary thumbprint part of the whole thumbprint
Returns:
getSymmetricKey
public SymmetricKey getSymmetricKey()
Getter for SymmetricKey object
Returns:
setSymmetricKey
public void setSymmetricKey(SymmetricKey symmetricKey)
Setter for SymmetricKey object
Parameters:
Throws:
setThumbprint
public final void setThumbprint(String primaryThumbprint, String secondaryThumbprint)
Setter for X509 thumbprint
Parameters:
Throws:
Applies to
Azure SDK for Java