Class CertificateDetails
java.lang.Object
com.azure.resourcemanager.appservice.models.CertificateDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateDetails>
public final class CertificateDetails
extends Object
implements com.azure.json.JsonSerializable<CertificateDetails>
SSL certificate details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateDetails
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of CertificateDetails from the JsonReader.issuer()
Get the issuer property: Certificate Issuer.notAfter()
Get the notAfter property: Date Certificate is valid to.Get the notBefore property: Date Certificate is valid from.rawData()
Get the rawData property: Raw certificate data.Get the serialNumber property: Certificate Serial Number.Get the signatureAlgorithm property: Certificate Signature algorithm.subject()
Get the subject property: Certificate Subject.Get the thumbprint property: Certificate Thumbprint.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.version()
Get the version property: Certificate Version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CertificateDetails
public CertificateDetails()Creates an instance of CertificateDetails class.
-
-
Method Details
-
version
Get the version property: Certificate Version.- Returns:
- the version value.
-
serialNumber
Get the serialNumber property: Certificate Serial Number.- Returns:
- the serialNumber value.
-
thumbprint
Get the thumbprint property: Certificate Thumbprint.- Returns:
- the thumbprint value.
-
subject
Get the subject property: Certificate Subject.- Returns:
- the subject value.
-
notBefore
Get the notBefore property: Date Certificate is valid from.- Returns:
- the notBefore value.
-
notAfter
Get the notAfter property: Date Certificate is valid to.- Returns:
- the notAfter value.
-
signatureAlgorithm
Get the signatureAlgorithm property: Certificate Signature algorithm.- Returns:
- the signatureAlgorithm value.
-
issuer
Get the issuer property: Certificate Issuer.- Returns:
- the issuer value.
-
rawData
Get the rawData property: Raw certificate data.- Returns:
- the rawData value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<CertificateDetails>
- Throws:
IOException
-
fromJson
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.
-