public class X509CertificateInfo extends Object implements Serializable
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
}
Modifier | Constructor and Description |
---|---|
protected |
X509CertificateInfo()
Empty constructor
|
|
X509CertificateInfo(X509CertificateInfo x509CertificateInfo)
Constructor [COPY]
|
public X509CertificateInfo(X509CertificateInfo x509CertificateInfo)
Creates a new instance of the x509CertificateInfo copping the content of the provided one.
x509CertificateInfo
- the original x509CertificateInfo
to copy.IllegalArgumentException
- if the provided x509CertificateInfo is null.protected X509CertificateInfo()
Used only by the tools that will deserialize this class.
Copyright © 2022. All rights reserved.