X509ThumbprintParser Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.service.registry.serializers.X509ThumbprintParser

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:

json - the json to build with

X509ThumbprintParser

public X509ThumbprintParser(String primaryThumbprint, String secondaryThumbprint)

Construct an X509ThumbprintParser object with the provided thumbprints

Parameters:

primaryThumbprint - the primary thumbprint to set
secondaryThumbprint - the secondary thumbprint to set

Method Details

toJson

public String toJson()

Converts this into json format

Returns:

the json representation of this

Applies to