TrustBundleResponse Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.device.hsm.parser.TrustBundleResponse

public class TrustBundleResponse

The json parser for the response from an HSM that contains the certificates to be trusted

Constructor Summary

Constructor Description
TrustBundleResponse()

Empty constructor, only for gson. Don't delete

Method Summary

Modifier and Type Method and Description
TrustBundleResponse fromJson(String json)

Constructor that deserializes from json

String getCertificates()

Retreive the certificates that the HSM dictates to trust

Constructor Details

TrustBundleResponse

public TrustBundleResponse()

Empty constructor, only for gson. Don't delete

Method Details

fromJson

public static TrustBundleResponse fromJson(String json)

Constructor that deserializes from json

Parameters:

json - the json representation of the TrustBundleResponse

Returns:

the created trustBundleResponse instance

getCertificates

public String getCertificates()

Retreive the certificates that the HSM dictates to trust

Returns:

one to many concatenated certificate strings to trust

Applies to