Package oracle.jdbc
Enum Class SecurityInformation.DNMatchStatus
- All Implemented Interfaces:
Serializable,Comparable<SecurityInformation.DNMatchStatus>,Constable
- Enclosing interface:
- SecurityInformation
public static enum SecurityInformation.DNMatchStatus
extends Enum<SecurityInformation.DNMatchStatus>
The status of server DN matching used for TLS connections.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionServer's DN is not verified.Server's DN is verified, and it is matching the DN configured either via URL or connection property.Server's DN is verified, and it is matching the host name specified in the URL.The CN from the server's certificate DN matches the database service name specified in the connection string. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SecurityInformation.DNMatchStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_VERIFIED
Server's DN is not verified. -
VERIFIED_MATCHING_CONFIG
Server's DN is verified, and it is matching the DN configured either via URL or connection property. -
VERIFIED_MATCHING_HOSTNAME
Server's DN is verified, and it is matching the host name specified in the URL. The host name from the URL is matched with one of the SANs (subject alternative names) specified in the server's certificate. If no match is found then the CN value specified in server's DN and the host name are matched. -
VERIFIED_MATCHING_SERVICENAME
The CN from the server's certificate DN matches the database service name specified in the connection string.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-