Package com.couchbase.lite.internal
Enum KeyStoreManager.KeySize
- java.lang.Object
-
- java.lang.Enum<KeyStoreManager.KeySize>
-
- com.couchbase.lite.internal.KeyStoreManager.KeySize
-
- All Implemented Interfaces:
Serializable
,Comparable<KeyStoreManager.KeySize>
- Enclosing class:
- KeyStoreManager
public static enum KeyStoreManager.KeySize extends Enum<KeyStoreManager.KeySize>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBitLength()
static KeyStoreManager.KeySize
getKeySize(int bitLen)
static KeyStoreManager.KeySize
valueOf(String name)
Returns the enum constant of this type with the specified name.static KeyStoreManager.KeySize[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BIT_512
public static final KeyStoreManager.KeySize BIT_512
-
BIT_768
public static final KeyStoreManager.KeySize BIT_768
-
BIT_1024
public static final KeyStoreManager.KeySize BIT_1024
-
BIT_2048
public static final KeyStoreManager.KeySize BIT_2048
-
BIT_3072
public static final KeyStoreManager.KeySize BIT_3072
-
BIT_4096
public static final KeyStoreManager.KeySize BIT_4096
-
-
Method Detail
-
values
public static KeyStoreManager.KeySize[] 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.KeySize c : KeyStoreManager.KeySize.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.KeySize 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
-
getKeySize
@NonNull public static KeyStoreManager.KeySize getKeySize(int bitLen)
-
getBitLength
public int getBitLength()
-
-