共用方式為


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.

Method Summary

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

Constructor that deserializes from json

java.lang.String getCertificates()

Retreive the certificates that the HSM dictates to trust

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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