public enum CryptByteBufferType extends java.lang.Enum<CryptByteBufferType> implements java.io.Serializable
Enum Constant and Description |
---|
AESCTR |
ChaCha128 |
ChaCha256 |
RijndaelECB
Deprecated.
|
RijndaelECB128
Deprecated.
|
RijndaelPCFB
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
algName |
int |
bitmask
Bitmask for aggregation.
|
int |
blockSize |
java.lang.String |
cipherName |
boolean |
isStreamCipher |
java.lang.Integer |
ivSize |
KeyType |
keyType |
Modifier and Type | Method and Description |
---|---|
boolean |
hasIV()
Returns true if the algorithm supports/requires an IV, otherwise returns false.
|
static CryptByteBufferType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CryptByteBufferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final CryptByteBufferType RijndaelECB
@Deprecated public static final CryptByteBufferType RijndaelECB128
@Deprecated public static final CryptByteBufferType RijndaelPCFB
public static final CryptByteBufferType AESCTR
public static final CryptByteBufferType ChaCha128
public static final CryptByteBufferType ChaCha256
public final int bitmask
public final int blockSize
public final java.lang.Integer ivSize
public final java.lang.String algName
public final java.lang.String cipherName
public final KeyType keyType
public final boolean isStreamCipher
public static CryptByteBufferType[] values()
for (CryptByteBufferType c : CryptByteBufferType.values()) System.out.println(c);
public static CryptByteBufferType 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 boolean hasIV()