Class CertificateProperties
- java.lang.Object
-
- com.azure.resourcemanager.deviceprovisioningservices.models.CertificateProperties
-
public final class CertificateProperties extends Object
The description of an X509 CA Certificate.
-
-
Constructor Summary
Constructors Constructor Description CertificateProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
certificate()
Get the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.OffsetDateTime
created()
Get the created property: The certificate's creation date and time.OffsetDateTime
expiry()
Get the expiry property: The certificate's expiration date and time.Boolean
isVerified()
Get the isVerified property: Determines whether certificate has been verified.String
subject()
Get the subject property: The certificate's subject name.String
thumbprint()
Get the thumbprint property: The certificate's thumbprint.OffsetDateTime
updated()
Get the updated property: The certificate's last update date and time.void
validate()
Validates the instance.
-
-
-
Method Detail
-
subject
public String subject()
Get the subject property: The certificate's subject name.- Returns:
- the subject value.
-
expiry
public OffsetDateTime expiry()
Get the expiry property: The certificate's expiration date and time.- Returns:
- the expiry value.
-
thumbprint
public String thumbprint()
Get the thumbprint property: The certificate's thumbprint.- Returns:
- the thumbprint value.
-
isVerified
public Boolean isVerified()
Get the isVerified property: Determines whether certificate has been verified.- Returns:
- the isVerified value.
-
certificate
public byte[] certificate()
Get the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.- Returns:
- the certificate value.
-
created
public OffsetDateTime created()
Get the created property: The certificate's creation date and time.- Returns:
- the created value.
-
updated
public OffsetDateTime updated()
Get the updated property: The certificate's last update date and time.- Returns:
- the updated value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-