public enum Algorithm extends Enum<Algorithm>
| Enum Constant and Description |
|---|
AES
The enum constant for AES algorithm.
|
MD2
The enum constant for MD2 algorithm.
|
MD4
The enum constant for MD4 algorithm.
|
MD5
The enum constant for MD5 algorithm.
|
SHA_1
The enum constant for SHA-1 algorithm.
|
SHA_256
The enum constant for SHA-256 algorithm.
|
SHA_384
The enum constant for SHA-384 algorithm.
|
SHA_512
The enum constant for SHA-512 algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm()
Gets the algorithm.
|
static Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Algorithm MD2
public static final Algorithm MD4
public static final Algorithm MD5
public static final Algorithm SHA_1
public static final Algorithm SHA_256
public static final Algorithm SHA_384
public static final Algorithm SHA_512
public static final Algorithm AES
public static Algorithm[] values()
for (Algorithm c : Algorithm.values()) System.out.println(c);
public static Algorithm 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 String getAlgorithm()
Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.