public enum ProtectionResult extends Enum<ProtectionResult>
| Enum Constant and Description |
|---|
MAC_ALGO_FORBIDDEN |
MAC_INVALID |
MAC_VALID |
SENDER_NOT_AUTHORIZED |
SIGNATURE_ALGO_FORBIDDEN |
SIGNATURE_INVALID |
SIGNATURE_VALID |
| Modifier and Type | Method and Description |
|---|---|
static ProtectionResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtectionResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtectionResult SIGNATURE_VALID
public static final ProtectionResult SIGNATURE_INVALID
public static final ProtectionResult SIGNATURE_ALGO_FORBIDDEN
public static final ProtectionResult MAC_VALID
public static final ProtectionResult MAC_INVALID
public static final ProtectionResult MAC_ALGO_FORBIDDEN
public static final ProtectionResult SENDER_NOT_AUTHORIZED
public static ProtectionResult[] values()
for (ProtectionResult c : ProtectionResult.values()) System.out.println(c);
public static ProtectionResult 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 nullCopyright © 2018. All rights reserved.