public static enum AeroGearCrypto.Algorithm extends Enum<AeroGearCrypto.Algorithm>
| Enum Constant and Description |
|---|
AES |
| Modifier and Type | Field and Description |
|---|---|
private int |
keySize |
private String |
name |
| Modifier and Type | Method and Description |
|---|---|
int |
getKeySize()
Key size
|
String |
toString()
Algorithm name
|
static AeroGearCrypto.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AeroGearCrypto.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AeroGearCrypto.Algorithm AES
private String name
private int keySize
public static AeroGearCrypto.Algorithm[] values()
for (AeroGearCrypto.Algorithm c : AeroGearCrypto.Algorithm.values()) System.out.println(c);
public static AeroGearCrypto.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 toString()
toString in class Enum<AeroGearCrypto.Algorithm>public int getKeySize()
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.