public enum EncryptedRandomAccessBufferType extends java.lang.Enum<EncryptedRandomAccessBufferType>
Modifier and Type | Field and Description |
---|---|
int |
bitmask |
KeyType |
encryptKey |
CryptByteBufferType |
encryptType |
int |
headerLen |
KeyType |
macKey |
int |
macLen |
MACType |
macType |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.crypto.SkippingStreamCipher |
get()
Returns an instance of the SkippingStreamCipher the goes with the current enum value.
|
static EncryptedRandomAccessBufferType |
getByBitmask(int val) |
static EncryptedRandomAccessBufferType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncryptedRandomAccessBufferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptedRandomAccessBufferType ChaCha128
public static final EncryptedRandomAccessBufferType ChaCha256
public final int bitmask
public final int headerLen
public final CryptByteBufferType encryptType
public final KeyType encryptKey
public final MACType macType
public final KeyType macKey
public final int macLen
public static EncryptedRandomAccessBufferType[] values()
for (EncryptedRandomAccessBufferType c : EncryptedRandomAccessBufferType.values()) System.out.println(c);
public static EncryptedRandomAccessBufferType 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 final org.bouncycastle.crypto.SkippingStreamCipher get()
public static EncryptedRandomAccessBufferType getByBitmask(int val)