public enum CryptoFunction extends Enum<CryptoFunction>
Enum Constant and Description |
---|
DECAPSULATE |
DECRYPT |
DIGEST |
ENCAPSULATE |
ENCRYPT |
GENERATE |
KEYDERIVE |
KEYGEN |
OTHER |
SIGN |
TAG |
UNKNOWN |
VERIFY |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static CryptoFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoFunction GENERATE
public static final CryptoFunction KEYGEN
public static final CryptoFunction ENCRYPT
public static final CryptoFunction DECRYPT
public static final CryptoFunction DIGEST
public static final CryptoFunction TAG
public static final CryptoFunction KEYDERIVE
public static final CryptoFunction SIGN
public static final CryptoFunction VERIFY
public static final CryptoFunction ENCAPSULATE
public static final CryptoFunction DECAPSULATE
public static final CryptoFunction OTHER
public static final CryptoFunction UNKNOWN
public static CryptoFunction[] values()
for (CryptoFunction c : CryptoFunction.values()) System.out.println(c);
public static CryptoFunction 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 String getName()
Copyright © 2017–2025 OWASP Foundation. All rights reserved.