次の方法で共有


Certificate Class

  • java.lang.Object
    • com.azure.resourcemanager.trustedsigning.models.Certificate

Implements

public final class Certificate
implements JsonSerializable<Certificate>

Properties of the certificate.

Method Summary

Modifier and Type Method and Description
String createdDate()

Get the createdDate property: Certificate created date.

OffsetDateTime effectiveAt()

Get the effectiveAt property: The timestamp when the revocation is effective.

String expiryDate()

Get the expiryDate property: Certificate expiry date.

String failureReason()

Get the failureReason property: Reason for the revocation failure.

static Certificate fromJson(JsonReader jsonReader)

Reads an instance of Certificate from the JsonReader.

String reason()

Get the reason property: Reason for revocation.

String remarks()

Get the remarks property: Remarks for the revocation.

OffsetDateTime requestedAt()

Get the requestedAt property: The timestamp when the revocation is requested.

String serialNumber()

Get the serialNumber property: Serial number of the certificate.

CertificateStatus status()

Get the status property: Status of the certificate.

RevocationStatus statusRevocationStatus()

Get the status property: Status of the revocation.

String subjectName()

Get the subjectName property: Subject name of the certificate.

String thumbprint()

Get the thumbprint property: Thumbprint of the certificate.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

createdDate

public String createdDate()

Get the createdDate property: Certificate created date.

Returns:

the createdDate value.

effectiveAt

public OffsetDateTime effectiveAt()

Get the effectiveAt property: The timestamp when the revocation is effective.

Returns:

the effectiveAt value.

expiryDate

public String expiryDate()

Get the expiryDate property: Certificate expiry date.

Returns:

the expiryDate value.

failureReason

public String failureReason()

Get the failureReason property: Reason for the revocation failure.

Returns:

the failureReason value.

fromJson

public static Certificate fromJson(JsonReader jsonReader)

Reads an instance of Certificate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Certificate if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the Certificate.

reason

public String reason()

Get the reason property: Reason for revocation.

Returns:

the reason value.

remarks

public String remarks()

Get the remarks property: Remarks for the revocation.

Returns:

the remarks value.

requestedAt

public OffsetDateTime requestedAt()

Get the requestedAt property: The timestamp when the revocation is requested.

Returns:

the requestedAt value.

serialNumber

public String serialNumber()

Get the serialNumber property: Serial number of the certificate.

Returns:

the serialNumber value.

status

public CertificateStatus status()

Get the status property: Status of the certificate.

Returns:

the status value.

statusRevocationStatus

public RevocationStatus statusRevocationStatus()

Get the status property: Status of the revocation.

Returns:

the status value.

subjectName

public String subjectName()

Get the subjectName property: Subject name of the certificate.

Returns:

the subjectName value.

thumbprint

public String thumbprint()

Get the thumbprint property: Thumbprint of the certificate.

Returns:

the thumbprint value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to