Class CertificateProperties
java.lang.Object
com.azure.resourcemanager.appcontainers.models.CertificateProperties
Certificate resource specific properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the expirationDate property: Certificate expiration date.Get the issueDate property: Certificate issue Date.issuer()
Get the issuer property: Certificate issuer.password()
Get the password property: Certificate password.Get the provisioningState property: Provisioning state of the certificate.Get the publicKeyHash property: Public key hash.Get the subjectAlternativeNames property: Subject alternative names the certificate applies to.Get the subjectName property: Subject name of the certificate.Get the thumbprint property: Certificate thumbprint.valid()
Get the valid property: Is the certificate valid?.void
validate()
Validates the instance.byte[]
value()
Get the value property: PFX or PEM blob.withPassword
(String password) Set the password property: Certificate password.withValue
(byte[] value) Set the value property: PFX or PEM blob.
-
Constructor Details
-
CertificateProperties
public CertificateProperties()Creates an instance of CertificateProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of the certificate.- Returns:
- the provisioningState value.
-
password
Get the password property: Certificate password.- Returns:
- the password value.
-
withPassword
Set the password property: Certificate password.- Parameters:
password
- the password value to set.- Returns:
- the CertificateProperties object itself.
-
subjectName
Get the subjectName property: Subject name of the certificate.- Returns:
- the subjectName value.
-
subjectAlternativeNames
Get the subjectAlternativeNames property: Subject alternative names the certificate applies to.- Returns:
- the subjectAlternativeNames value.
-
value
public byte[] value()Get the value property: PFX or PEM blob.- Returns:
- the value value.
-
withValue
Set the value property: PFX or PEM blob.- Parameters:
value
- the value value to set.- Returns:
- the CertificateProperties object itself.
-
issuer
Get the issuer property: Certificate issuer.- Returns:
- the issuer value.
-
issueDate
Get the issueDate property: Certificate issue Date.- Returns:
- the issueDate value.
-
expirationDate
Get the expirationDate property: Certificate expiration date.- Returns:
- the expirationDate value.
-
thumbprint
Get the thumbprint property: Certificate thumbprint.- Returns:
- the thumbprint value.
-
valid
Get the valid property: Is the certificate valid?.- Returns:
- the valid value.
-
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.
-