public enum CryptoServicePurpose extends Enum<CryptoServicePurpose>
| Enum Constant and Description |
|---|
AGREEMENTKey agreement protocol |
ANYAny purpose |
AUTHENTICATIONAuthentication operation (for MACs and digests) |
DECRYPTIONDecryption operation |
ENCRYPTIONEncryption operation |
KEYGENKey generation |
PRFPseudo-random function |
SIGNINGSigning operation (for signatures and digests) |
VERIFICATIONVerification operation |
VERIFYINGVerification operation |
| Modifier and Type | Method and Description |
|---|---|
static CryptoServicePurpose | valueOf(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 ANY
public static final CryptoServicePurpose AUTHENTICATION
public static final CryptoServicePurpose DECRYPTION
public static final CryptoServicePurpose ENCRYPTION
public static final CryptoServicePurpose KEYGEN
public static final CryptoServicePurpose PRF
public static final CryptoServicePurpose SIGNING
public static final CryptoServicePurpose VERIFICATION
public static final CryptoServicePurpose VERIFYING
public static CryptoServicePurpose valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static CryptoServicePurpose[] values()
for (CryptoServicePurpose c : CryptoServicePurpose.values()) System.out.println(c);