public enum CryptoServicePurpose extends java.lang.Enum<CryptoServicePurpose>
Enum Constant and Description |
---|
AGREEMENT |
ANY |
AUTHENTICATION |
DECRYPTION |
ENCRYPTION |
KEYGEN |
PRF |
SIGNING |
VERIFICATION |
VERIFYING |
Modifier and Type | Method and Description |
---|---|
static CryptoServicePurpose |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CryptoServicePurpose[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoServicePurpose AGREEMENT
public static final CryptoServicePurpose ENCRYPTION
public static final CryptoServicePurpose DECRYPTION
public static final CryptoServicePurpose KEYGEN
public static final CryptoServicePurpose SIGNING
public static final CryptoServicePurpose VERIFYING
public static final CryptoServicePurpose AUTHENTICATION
public static final CryptoServicePurpose VERIFICATION
public static final CryptoServicePurpose PRF
public static final CryptoServicePurpose ANY
public static CryptoServicePurpose[] values()
for (CryptoServicePurpose c : CryptoServicePurpose.values()) System.out.println(c);
public static CryptoServicePurpose 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