public static enum CipherConstants.AOCipherPadding extends java.lang.Enum<CipherConstants.AOCipherPadding>
Enum Constant and Description |
---|
ISO10126PADDING
Relleno ISO 10126.
|
NOPADDING
Sin relleno.
|
PKCS5PADDING
Relleno PKCS#5.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Obtiene el nombre del tipo de relleno.
|
static CipherConstants.AOCipherPadding |
getValueOf(java.lang.String paddingName)
Recupera el relleno soportado cuyo nombre se indique.
|
java.lang.String |
toString() |
static CipherConstants.AOCipherPadding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CipherConstants.AOCipherPadding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CipherConstants.AOCipherPadding PKCS5PADDING
public static final CipherConstants.AOCipherPadding ISO10126PADDING
public static final CipherConstants.AOCipherPadding NOPADDING
public static CipherConstants.AOCipherPadding[] values()
for (CipherConstants.AOCipherPadding c : CipherConstants.AOCipherPadding.values()) System.out.println(c);
public static CipherConstants.AOCipherPadding 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 java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<CipherConstants.AOCipherPadding>
public static CipherConstants.AOCipherPadding getValueOf(java.lang.String paddingName)
null
.paddingName
- Nombre del algoritmo de relleno.