public enum AesKeyStrength extends Enum<AesKeyStrength>
Enum Constant and Description |
---|
KEY_STRENGTH_128 |
KEY_STRENGTH_192 |
KEY_STRENGTH_256 |
Modifier and Type | Method and Description |
---|---|
static AesKeyStrength |
getAesKeyStrengthFromRawCode(int code) |
int |
getKeyLength() |
int |
getMacLength() |
int |
getRawCode() |
int |
getSaltLength() |
static AesKeyStrength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AesKeyStrength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AesKeyStrength KEY_STRENGTH_128
public static final AesKeyStrength KEY_STRENGTH_192
public static final AesKeyStrength KEY_STRENGTH_256
public static AesKeyStrength[] values()
for (AesKeyStrength c : AesKeyStrength.values()) System.out.println(c);
public static AesKeyStrength valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getRawCode()
public int getSaltLength()
public int getMacLength()
public int getKeyLength()
public static AesKeyStrength getAesKeyStrengthFromRawCode(int code)
Copyright © 2020. All rights reserved.