SymmetricKeyParser Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. registry. serializers. SymmetricKeyParser
- com.
public class SymmetricKeyParser
Store primary and secondary keys Provide function for key length validation
Constructor Summary
Constructor | Description | |
---|---|---|
SymmetricKeyParser() |
Empty constructor: Used only to keep GSON happy. |
|
SymmetricKeyParser(String json) | ||
SymmetricKeyParser(String primaryKey, String secondaryKey) |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
toJson()
Converts this into json and returns it |
Constructor Details
SymmetricKeyParser
public SymmetricKeyParser()
Empty constructor: Used only to keep GSON happy.
SymmetricKeyParser
public SymmetricKeyParser(String json)
Parameters:
SymmetricKeyParser
public SymmetricKeyParser(String primaryKey, String secondaryKey)
Parameters:
Method Details
toJson
public String toJson()
Converts this into json and returns it
Returns: