org.dvb.smartcard
Class SmartCardPermission
java.lang.Object
|
+--java.security.Permission
|
+--java.security.BasicPermission
|
+--org.dvb.smartcard.SmartCardPermission
- All Implemented Interfaces:
- java.security.Guard, java.io.Serializable
- public class SmartCardPermission
- extends java.security.BasicPermission
This class is for permissions related to access to smart cards
via the smart card API. A SmartCardPermission contains
no name and no actions list. If an application has the SmartCard
permission, then it is allowed to access the SmartCard API and
any smart cards via that API.
- See Also:
- Serialized Form
Constructor Summary |
SmartCardPermission(java.lang.String name)
Creates a new SmartCardPermission. |
SmartCardPermission(java.lang.String name,
java.lang.String actions)
Creates a new SmartCardPermission. |
Methods inherited from class java.security.BasicPermission |
equals, getActions, hashCode, implies, newPermissionCollection |
Methods inherited from class java.security.Permission |
checkGuard, getName, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SmartCardPermission
public SmartCardPermission(java.lang.String name)
- Creates a new SmartCardPermission. The name parameter
is not used and must be set to empty string "".
Implementations of this version of this specification
shall ignore the name, but it could be taken into use
in future versions of this specification.
- Parameters:
name
- the name of the SmartCardPermission. Not used,
shall be "".
SmartCardPermission
public SmartCardPermission(java.lang.String name,
java.lang.String actions)
- Creates a new SmartCardPermission. The name and actions
parameters are not used.
Implementations of this version of this specification
shall ignore the name and actions, but they could be taken
into use in future versions of this specification.
This constructor exists for use by the Policy object to
instantiate new Permission objects.
- Parameters:
name
- the name of the SmartCardPermission. Not used,
shall be "".actions
- Not used, shall be null.