Package org.apache.cassandra.security
Enum PEMBasedSslContextFactory.ConfigKey
- java.lang.Object
-
- java.lang.Enum<PEMBasedSslContextFactory.ConfigKey>
-
- org.apache.cassandra.security.PEMBasedSslContextFactory.ConfigKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PEMBasedSslContextFactory.ConfigKey>
- Enclosing class:
- PEMBasedSslContextFactory
public static enum PEMBasedSslContextFactory.ConfigKey extends java.lang.Enum<PEMBasedSslContextFactory.ConfigKey>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENCODED_CERTIFICATES
ENCODED_KEY
KEY_PASSWORD
OUTBOUND_ENCODED_KEY
OUTBOUND_ENCODED_KEY_PASSWORD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PEMBasedSslContextFactory.ConfigKey
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PEMBasedSslContextFactory.ConfigKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENCODED_KEY
public static final PEMBasedSslContextFactory.ConfigKey ENCODED_KEY
-
KEY_PASSWORD
public static final PEMBasedSslContextFactory.ConfigKey KEY_PASSWORD
-
OUTBOUND_ENCODED_KEY
public static final PEMBasedSslContextFactory.ConfigKey OUTBOUND_ENCODED_KEY
-
OUTBOUND_ENCODED_KEY_PASSWORD
public static final PEMBasedSslContextFactory.ConfigKey OUTBOUND_ENCODED_KEY_PASSWORD
-
ENCODED_CERTIFICATES
public static final PEMBasedSslContextFactory.ConfigKey ENCODED_CERTIFICATES
-
-
Method Detail
-
values
public static PEMBasedSslContextFactory.ConfigKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PEMBasedSslContextFactory.ConfigKey c : PEMBasedSslContextFactory.ConfigKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PEMBasedSslContextFactory.ConfigKey valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-