|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SensitivityValue>
javacardx.security.SensitivityValue
public enum SensitivityValue
The sensitivity, meaning security level of an application's element. The constants of this enumerated type provide a simple classification of security levels that can be requested on an application's element: a method or a type.
These constants are used with the SensitiveType and
SensitiveMethod annotations to specify the expected security level.
See Runtime Environment Specification for the Java Card Platform, Connected Edition , appendix B for details regarding security annotations.
SensitiveType,
SensitiveMethod| Enum Constant Summary | |
|---|---|
CONFIDENTIALITY
Security level indicating that confidentiality of the annotated application's element is important. |
|
FULL
Security level for both sensitivity in INTEGRITY and in
CONFIDENTIALITY. |
|
INTEGRITY
Security level indicating that consistency of the annotated application's element is important to guarantee the good behavior of the application. |
|
| Method Summary | |
|---|---|
static SensitivityValue |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SensitivityValue[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
equals, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SensitivityValue INTEGRITY
public static final SensitivityValue CONFIDENTIALITY
public static final SensitivityValue FULL
INTEGRITY and in
CONFIDENTIALITY.
| Method Detail |
|---|
public static SensitivityValue[] values()
for (SensitivityValue c : SensitivityValue.values()) System.out.println(c);
public static SensitivityValue valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||