CertificateNameCheckValidationMode Class

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 CertificateNameCheckValidationMode CUSTOM_CERTIFICATE_SUBJECT

Validate the certificate against custom certificate subjects.

static final CertificateNameCheckValidationMode INCOMING_HOST_HEADER

Validate the certificate against the incoming host header.

static final CertificateNameCheckValidationMode 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 CertificateNameCheckValidationMode value.

Method Summary

Modifier and Type Method and Description
static CertificateNameCheckValidationMode fromString(String name)

Creates or finds a CertificateNameCheckValidationMode from its string representation.

static Collection<CertificateNameCheckValidationMode> values()

Gets known CertificateNameCheckValidationMode values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding CertificateNameCheckValidationMode.

values

public static Collection<CertificateNameCheckValidationMode> values()

Gets known CertificateNameCheckValidationMode values.

Returns:

known CertificateNameCheckValidationMode values.

Applies to