X509ThumbprintParser Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. registry. serializers. X509ThumbprintParser
- com.
public class X509ThumbprintParser
Constructor Summary
Constructor | Description |
---|---|
X509ThumbprintParser() |
Empty constructor: Used only to keep GSON happy. |
X509ThumbprintParser(String json) |
Construct an X509ThumbprintParser object from json |
X509ThumbprintParser(String primaryThumbprint, String secondaryThumbprint) |
Construct an X509ThumbprintParser object with the provided thumbprints |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
toJson()
Converts this into json format |
Constructor Details
X509ThumbprintParser
public X509ThumbprintParser()
Empty constructor: Used only to keep GSON happy.
X509ThumbprintParser
public X509ThumbprintParser(String json)
Construct an X509ThumbprintParser object from json
Parameters:
X509ThumbprintParser
public X509ThumbprintParser(String primaryThumbprint, String secondaryThumbprint)
Construct an X509ThumbprintParser object with the provided thumbprints
Parameters:
Method Details
toJson
public String toJson()
Converts this into json format
Returns:
Applies to
Azure SDK for Java