Package de.mhus.lib.core.crypt
Enum MBouncy.RSA_KEY_SIZE
- java.lang.Object
-
- java.lang.Enum<MBouncy.RSA_KEY_SIZE>
-
- de.mhus.lib.core.crypt.MBouncy.RSA_KEY_SIZE
-
- All Implemented Interfaces:
Serializable,Comparable<MBouncy.RSA_KEY_SIZE>
- Enclosing class:
- MBouncy
public static enum MBouncy.RSA_KEY_SIZE extends Enum<MBouncy.RSA_KEY_SIZE>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBits()intgetBlockSize()static MBouncy.RSA_KEY_SIZEvalueOf(String name)Returns the enum constant of this type with the specified name.static MBouncy.RSA_KEY_SIZE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
B1024
public static final MBouncy.RSA_KEY_SIZE B1024
-
B2048
public static final MBouncy.RSA_KEY_SIZE B2048
-
B4096
public static final MBouncy.RSA_KEY_SIZE B4096
-
-
Method Detail
-
values
public static MBouncy.RSA_KEY_SIZE[] 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 (MBouncy.RSA_KEY_SIZE c : MBouncy.RSA_KEY_SIZE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MBouncy.RSA_KEY_SIZE 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
-
getBits
public int getBits()
-
getBlockSize
public int getBlockSize()
-
-