Package com.couchbase.lite.internal
Enum KeyStoreManager.CertUsage
- java.lang.Object
-
- java.lang.Enum<KeyStoreManager.CertUsage>
-
- com.couchbase.lite.internal.KeyStoreManager.CertUsage
-
- All Implemented Interfaces:
Serializable
,Comparable<KeyStoreManager.CertUsage>
- Enclosing class:
- KeyStoreManager
public static enum KeyStoreManager.CertUsage extends Enum<KeyStoreManager.CertUsage>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMAIL
EMAIL_CA
OBJECT_SIGNING
OBJECT_SIGNING_CA
TLS_CA
TLS_CLIENT
TLS_SERVER
UNSPECIFIED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getCode()
static KeyStoreManager.CertUsage
valueOf(String name)
Returns the enum constant of this type with the specified name.static KeyStoreManager.CertUsage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final KeyStoreManager.CertUsage UNSPECIFIED
-
TLS_CLIENT
public static final KeyStoreManager.CertUsage TLS_CLIENT
-
TLS_SERVER
public static final KeyStoreManager.CertUsage TLS_SERVER
-
EMAIL
public static final KeyStoreManager.CertUsage EMAIL
-
OBJECT_SIGNING
public static final KeyStoreManager.CertUsage OBJECT_SIGNING
-
TLS_CA
public static final KeyStoreManager.CertUsage TLS_CA
-
EMAIL_CA
public static final KeyStoreManager.CertUsage EMAIL_CA
-
OBJECT_SIGNING_CA
public static final KeyStoreManager.CertUsage OBJECT_SIGNING_CA
-
-
Method Detail
-
values
public static KeyStoreManager.CertUsage[] 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 (KeyStoreManager.CertUsage c : KeyStoreManager.CertUsage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyStoreManager.CertUsage valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public byte getCode()
-
-