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:
json
SymmetricKeyParser
public SymmetricKeyParser(String primaryKey, String secondaryKey)
Parameters:
primaryKey
secondaryKey
Method Details
toJson
public String toJson()
Converts this into json and returns it
Returns:
the json representation of this
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java