public enum JavaxPBKDF2WithHmacSHA512 extends java.lang.Enum<JavaxPBKDF2WithHmacSHA512> implements PBKDF2WithHmacSHA512
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
hash(char[] chars,
byte[] salt) |
static JavaxPBKDF2WithHmacSHA512 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaxPBKDF2WithHmacSHA512[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaxPBKDF2WithHmacSHA512 INSTANCE
public static JavaxPBKDF2WithHmacSHA512[] values()
for (JavaxPBKDF2WithHmacSHA512 c : JavaxPBKDF2WithHmacSHA512.values()) System.out.println(c);
public static JavaxPBKDF2WithHmacSHA512 valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte[] hash(char[] chars,
byte[] salt)
hash in interface PBKDF2WithHmacSHA512