|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=CLASS) @Target(value=TYPE) @Inherited @Documented public @interface SensitiveType
Annotation for specifying the expected security level on a given type (class or interface).
This annotation allows for specifying an expected security level on a class, thereby indicating that all the methods and fields of that class and subclasses thereof are sensitive.
This annotation when specified on an interface has just an informative purpose and simply describes the security level that is expected of classes which implement the interface. The security level effectively expected is that of the classes which implement the interface.
Note - This annotation is tagged with the
meta-annotation which implies that any subtype of an annotated type inherits the same annotation.
@Inherited
See Runtime Environment Specification for the Java Card Platform, Connected Edition , appendix B for details regarding security annotations.
SensitivityValue
Required Element Summary | |
---|---|
SensitivityValue |
sensitivity
The sensitivity, meaning the security level that is expected on the currently annotated type. |
Optional Element Summary | |
---|---|
String |
proprietaryValue
Additional information that can be used by proprietary tools or platform in order to perform more precise tasks. |
Element Detail |
---|
public abstract SensitivityValue sensitivity
Authorized values for this member are:
INTEGRITY
INTEGRITY
indicates that:
CONFIDENTIALITY
CONFIDENTIALITY
indicates
that: FULL
FULL
in sensitivity is equivalent to
annotating the type both as sensitive in INTEGRITY
and in
CONFIDENTIALITY
.
SensitivityValue
public abstract String proprietaryValue
Any string are authorized as value of this member.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |