X509CertificateInfo Class

  • java.lang.Object
    • java.io.Serializable
      • Serializable
        • com.microsoft.azure.sdk.iot.provisioning.service.configs.X509CertificateInfo

public class X509CertificateInfo extends Serializable

Representation of a single X509 Certificate Info for the Device Provisioning Service.

User receive this info from the provisioning service as result of X509 operations.

This info contains a set of parameters, The following JSON is an example of the X509 certificate info.

{
    "subjectName": "CN=ROOT_00000000-0000-0000-0000-000000000000, OU=Azure IoT, O=MSFT, C=US",

    "sha1Thumbprint": "0000000000000000000000000000000000",

    "sha256Thumbprint": "validEnrollmentGroupId",

    "issuerName": "CN=ROOT_00000000-0000-0000-0000-000000000000, OU=Azure IoT, O=MSFT, C=US",

    "notBeforeUtc": "2017-11-14T12:34:182Z",

    "notAfterUtc": "2017-11-20T12:34:183Z",

    "serialNumber": "000000000000000000",

    "version": 3

}

</code></pre></p>

Constructor Summary

Constructor Description
X509CertificateInfo()

Empty constructor

Used only by the tools that will deserialize this class.

X509CertificateInfo(X509CertificateInfo x509CertificateInfo)

Constructor [COPY]

Creates a new instance of the x509CertificateInfo copping the content of the provided one.

Inherited Members

Constructor Details

X509CertificateInfo

protected X509CertificateInfo()

Empty constructor

Used only by the tools that will deserialize this class.

X509CertificateInfo

public X509CertificateInfo(X509CertificateInfo x509CertificateInfo)

Constructor [COPY]

Creates a new instance of the x509CertificateInfo copping the content of the provided one.

Parameters:

x509CertificateInfo -

the originalx509CertificateInfo 

</code> to copy. </p>

Throws:

IllegalArgumentException - if the provided x509CertificateInfo is null.

Applies to