public enum BCCryptoPrimitive extends java.lang.Enum<BCCryptoPrimitive>
Enum Constant and Description |
---|
BLOCK_CIPHER |
KEY_AGREEMENT |
KEY_ENCAPSULATION |
KEY_WRAP |
MAC |
MESSAGE_DIGEST |
PUBLIC_KEY_ENCRYPTION |
SECURE_RANDOM |
SIGNATURE |
STREAM_CIPHER |
Modifier and Type | Method and Description |
---|---|
static BCCryptoPrimitive |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BCCryptoPrimitive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BCCryptoPrimitive MESSAGE_DIGEST
public static final BCCryptoPrimitive SECURE_RANDOM
public static final BCCryptoPrimitive BLOCK_CIPHER
public static final BCCryptoPrimitive STREAM_CIPHER
public static final BCCryptoPrimitive MAC
public static final BCCryptoPrimitive KEY_WRAP
public static final BCCryptoPrimitive PUBLIC_KEY_ENCRYPTION
public static final BCCryptoPrimitive SIGNATURE
public static final BCCryptoPrimitive KEY_ENCAPSULATION
public static final BCCryptoPrimitive KEY_AGREEMENT
public static BCCryptoPrimitive[] values()
for (BCCryptoPrimitive c : BCCryptoPrimitive.values()) System.out.println(c);
public static BCCryptoPrimitive 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 null