org.jboss.aerogear
Enum AeroGearCrypto.Padding
java.lang.Object
java.lang.Enum<AeroGearCrypto.Padding>
org.jboss.aerogear.AeroGearCrypto.Padding
- All Implemented Interfaces:
- Serializable, Comparable<AeroGearCrypto.Padding>
- Enclosing class:
- AeroGearCrypto
public static enum AeroGearCrypto.Padding
- extends Enum<AeroGearCrypto.Padding>
Padding schemes supported
NONE
public static final AeroGearCrypto.Padding NONE
PKCS7
public static final AeroGearCrypto.Padding PKCS7
padding
private final String padding
values
public static AeroGearCrypto.Padding[] 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 (AeroGearCrypto.Padding c : AeroGearCrypto.Padding.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AeroGearCrypto.Padding 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 name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<AeroGearCrypto.Padding>
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.