CertificateDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.CertificateDetails

Implements

public final class CertificateDetails
implements JsonSerializable<CertificateDetails>

SSL certificate details.

Constructor Summary

Constructor Description
CertificateDetails()

Creates an instance of CertificateDetails class.

Method Summary

Modifier and Type Method and Description
static CertificateDetails fromJson(JsonReader jsonReader)

Reads an instance of CertificateDetails from the JsonReader.

String issuer()

Get the issuer property: Certificate Issuer.

OffsetDateTime notAfter()

Get the notAfter property: Date Certificate is valid to.

OffsetDateTime notBefore()

Get the notBefore property: Date Certificate is valid from.

String rawData()

Get the rawData property: Raw certificate data.

String serialNumber()

Get the serialNumber property: Certificate Serial Number.

String signatureAlgorithm()

Get the signatureAlgorithm property: Certificate Signature algorithm.

String subject()

Get the subject property: Certificate Subject.

String thumbprint()

Get the thumbprint property: Certificate Thumbprint.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Integer version()

Get the version property: Certificate Version.

Methods inherited from java.lang.Object

Constructor Details

CertificateDetails

public CertificateDetails()

Creates an instance of CertificateDetails class.

Method Details

fromJson

public static CertificateDetails fromJson(JsonReader jsonReader)

Reads an instance of CertificateDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CertificateDetails 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 CertificateDetails.

issuer

public String issuer()

Get the issuer property: Certificate Issuer.

Returns:

the issuer value.

notAfter

public OffsetDateTime notAfter()

Get the notAfter property: Date Certificate is valid to.

Returns:

the notAfter value.

notBefore

public OffsetDateTime notBefore()

Get the notBefore property: Date Certificate is valid from.

Returns:

the notBefore value.

rawData

public String rawData()

Get the rawData property: Raw certificate data.

Returns:

the rawData value.

serialNumber

public String serialNumber()

Get the serialNumber property: Certificate Serial Number.

Returns:

the serialNumber value.

signatureAlgorithm

public String signatureAlgorithm()

Get the signatureAlgorithm property: Certificate Signature algorithm.

Returns:

the signatureAlgorithm value.

subject

public String subject()

Get the subject property: Certificate Subject.

Returns:

the subject value.

thumbprint

public String thumbprint()

Get the thumbprint property: Certificate Thumbprint.

Returns:

the thumbprint value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public Integer version()

Get the version property: Certificate Version.

Returns:

the version value.

Applies to