public final class CertificateProperties extends Object
| Constructor and Description |
|---|
CertificateProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
canonicalName()
Get the canonicalName property: CNAME of the certificate to be issued via free certificate.
|
byte[] |
cerBlob()
Get the cerBlob property: Raw bytes of .cer file.
|
String |
domainValidationMethod()
Get the domainValidationMethod property: Method of domain validation for free cert.
|
OffsetDateTime |
expirationDate()
Get the expirationDate property: Certificate expiration date.
|
String |
friendlyName()
Get the friendlyName property: Friendly name of the certificate.
|
HostingEnvironmentProfile |
hostingEnvironmentProfile()
Get the hostingEnvironmentProfile property: Specification for the App Service Environment to use for the
certificate.
|
List<String> |
hostNames()
Get the hostNames property: Host names the certificate applies to.
|
OffsetDateTime |
issueDate()
Get the issueDate property: Certificate issue Date.
|
String |
issuer()
Get the issuer property: Certificate issuer.
|
String |
keyVaultId()
Get the keyVaultId property: Key Vault Csm resource Id.
|
String |
keyVaultSecretName()
Get the keyVaultSecretName property: Key Vault secret name.
|
KeyVaultSecretStatus |
keyVaultSecretStatus()
Get the keyVaultSecretStatus property: Status of the Key Vault secret.
|
String |
password()
Get the password property: Certificate password.
|
byte[] |
pfxBlob()
Get the pfxBlob property: Pfx blob.
|
String |
publicKeyHash()
Get the publicKeyHash property: Public key hash.
|
String |
selfLink()
Get the selfLink property: Self link.
|
String |
serverFarmId()
Get the serverFarmId property: Resource ID of the associated App Service plan, formatted as:
"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms"
+ "/{appServicePlanName}".
|
String |
siteName()
Get the siteName property: App name.
|
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.
|
CertificateProperties |
withCanonicalName(String canonicalName)
Set the canonicalName property: CNAME of the certificate to be issued via free certificate.
|
CertificateProperties |
withDomainValidationMethod(String domainValidationMethod)
Set the domainValidationMethod property: Method of domain validation for free cert.
|
CertificateProperties |
withHostNames(List<String> hostNames)
Set the hostNames property: Host names the certificate applies to.
|
CertificateProperties |
withKeyVaultId(String keyVaultId)
Set the keyVaultId property: Key Vault Csm resource Id.
|
CertificateProperties |
withKeyVaultSecretName(String keyVaultSecretName)
Set the keyVaultSecretName property: Key Vault secret name.
|
CertificateProperties |
withPassword(String password)
Set the password property: Certificate password.
|
CertificateProperties |
withPfxBlob(byte[] pfxBlob)
Set the pfxBlob property: Pfx blob.
|
CertificateProperties |
withServerFarmId(String serverFarmId)
Set the serverFarmId property: Resource ID of the associated App Service plan, formatted as:
"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms"
+ "/{appServicePlanName}".
|
public String password()
public CertificateProperties withPassword(String password)
password - the password value to set.public String friendlyName()
public String subjectName()
public List<String> hostNames()
public CertificateProperties withHostNames(List<String> hostNames)
hostNames - the hostNames value to set.public byte[] pfxBlob()
public CertificateProperties withPfxBlob(byte[] pfxBlob)
pfxBlob - the pfxBlob value to set.public String siteName()
public String selfLink()
public String issuer()
public OffsetDateTime issueDate()
public OffsetDateTime expirationDate()
public String thumbprint()
public Boolean valid()
public byte[] cerBlob()
public String publicKeyHash()
public HostingEnvironmentProfile hostingEnvironmentProfile()
public String keyVaultId()
public CertificateProperties withKeyVaultId(String keyVaultId)
keyVaultId - the keyVaultId value to set.public String keyVaultSecretName()
public CertificateProperties withKeyVaultSecretName(String keyVaultSecretName)
keyVaultSecretName - the keyVaultSecretName value to set.public KeyVaultSecretStatus keyVaultSecretStatus()
public String serverFarmId()
public CertificateProperties withServerFarmId(String serverFarmId)
serverFarmId - the serverFarmId value to set.public String canonicalName()
public CertificateProperties withCanonicalName(String canonicalName)
canonicalName - the canonicalName value to set.public String domainValidationMethod()
public CertificateProperties withDomainValidationMethod(String domainValidationMethod)
domainValidationMethod - the domainValidationMethod value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.