Class CertificateProperties
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.CertificateProperties
-
public final class CertificateProperties extends Object
Certificate resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description CertificateProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
expirationDate()
Get the expirationDate property: Certificate expiration date.OffsetDateTime
issueDate()
Get the issueDate property: Certificate issue Date.String
issuer()
Get the issuer property: Certificate issuer.String
password()
Get the password property: Certificate password.CertificateProvisioningState
provisioningState()
Get the provisioningState property: Provisioning state of the certificate.String
publicKeyHash()
Get the publicKeyHash property: Public key hash.String
subjectName()
Get the subjectName property: Subject name of the certificate.String
thumbprint()
Get the thumbprint property: Certificate thumbprint.Boolean
valid()
Get the valid property: Is the certificate valid?.void
validate()
Validates the instance.byte[]
value()
Get the value property: PFX or PEM blob.CertificateProperties
withPassword(String password)
Set the password property: Certificate password.CertificateProperties
withValue(byte[] value)
Set the value property: PFX or PEM blob.
-
-
-
Method Detail
-
provisioningState
public CertificateProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the certificate.- Returns:
- the provisioningState value.
-
password
public String password()
Get the password property: Certificate password.- Returns:
- the password value.
-
withPassword
public CertificateProperties withPassword(String password)
Set the password property: Certificate password.- Parameters:
password
- the password value to set.- Returns:
- the CertificateProperties object itself.
-
subjectName
public String subjectName()
Get the subjectName property: Subject name of the certificate.- Returns:
- the subjectName value.
-
value
public byte[] value()
Get the value property: PFX or PEM blob.- Returns:
- the value value.
-
withValue
public CertificateProperties withValue(byte[] value)
Set the value property: PFX or PEM blob.- Parameters:
value
- the value value to set.- Returns:
- the CertificateProperties object itself.
-
issuer
public String issuer()
Get the issuer property: Certificate issuer.- Returns:
- the issuer value.
-
issueDate
public OffsetDateTime issueDate()
Get the issueDate property: Certificate issue Date.- Returns:
- the issueDate value.
-
expirationDate
public OffsetDateTime expirationDate()
Get the expirationDate property: Certificate expiration date.- Returns:
- the expirationDate value.
-
thumbprint
public String thumbprint()
Get the thumbprint property: Certificate thumbprint.- Returns:
- the thumbprint value.
-
valid
public Boolean valid()
Get the valid property: Is the certificate valid?.- Returns:
- the valid value.
-
publicKeyHash
public String publicKeyHash()
Get the publicKeyHash property: Public key hash.- Returns:
- the publicKeyHash value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-