CertificateNameCheckValidationMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cdn. models. CertificateNameCheckValidationMode
- com.
- com.
public final class CertificateNameCheckValidationMode
extends ExpandableStringEnum<CertificateNameCheckValidationMode>
The validation mode for certificate name check at origin level. Only applicable when enforceCertificateNameCheck is true.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Certificate |
CUSTOM_CERTIFICATE_SUBJECT
Validate the certificate against custom certificate subjects. |
|
static final
Certificate |
INCOMING_HOST_HEADER
Validate the certificate against the incoming host header. |
|
static final
Certificate |
ORIGIN_HOSTNAME
Validate the certificate against the origin hostname. |
Constructor Summary
| Constructor | Description |
|---|---|
| CertificateNameCheckValidationMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Certificate |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Certificate |
fromString(String name)
Creates or finds a Certificate |
|
static
Collection<Certificate |
values()
Gets known Certificate |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CUSTOM_CERTIFICATE_SUBJECT
public static final CertificateNameCheckValidationMode CUSTOM_CERTIFICATE_SUBJECT
Validate the certificate against custom certificate subjects.
INCOMING_HOST_HEADER
public static final CertificateNameCheckValidationMode INCOMING_HOST_HEADER
Validate the certificate against the incoming host header.
ORIGIN_HOSTNAME
public static final CertificateNameCheckValidationMode ORIGIN_HOSTNAME
Validate the certificate against the origin hostname.
Constructor Details
CertificateNameCheckValidationMode
@Deprecated
public CertificateNameCheckValidationMode()
Deprecated
Creates a new instance of CertificateNameCheckValidationMode value.
Method Details
fromString
public static CertificateNameCheckValidationMode fromString(String name)
Creates or finds a CertificateNameCheckValidationMode from its string representation.
Parameters:
Returns:
values
public static Collection<CertificateNameCheckValidationMode> values()
Gets known CertificateNameCheckValidationMode values.
Returns: