TrustBundleResponse Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. device. hsm. parser. TrustBundleResponse
- com.
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 |
---|---|
Trust |
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
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