| java.lang.Object com.sun.satsa.acl.AccessControlManager
AccessControlManager | public class AccessControlManager (Code) | | This class represents access control information manager.
|
Method Summary | |
public static APDUPermissions | getAPDUPermissions(int slot, byte[] selectAPDU, String root) Returns object that should be used for access control verification.
Parameters: slot - slot number. Parameters: selectAPDU - SELECT APDU command data. Parameters: root - name of CA that authorized the suite. | public static byte[] | getHash(byte[] inBuf, int inOff, int inLen) Calculates hash value.
Parameters: inBuf - data buffer. Parameters: inOff - offset of data in the buffer. Parameters: inLen - length of data. | public static JCRMIPermissions | getJCRMIPermissions(int slot, byte[] selectAPDU, String root) Returns object that should be used for access control verification.
Parameters: slot - slot number. Parameters: selectAPDU - SELECT APDU command data. Parameters: root - name of CA that authorized the suite. | public static synchronized void | init(int slot) Initialize ACL information. |
getAPDUPermissions | public static APDUPermissions getAPDUPermissions(int slot, byte[] selectAPDU, String root)(Code) | | Returns object that should be used for access control verification.
Parameters: slot - slot number. Parameters: selectAPDU - SELECT APDU command data. Parameters: root - name of CA that authorized the suite. object that can be used to check permissions. |
getHash | public static byte[] getHash(byte[] inBuf, int inOff, int inLen)(Code) | | Calculates hash value.
Parameters: inBuf - data buffer. Parameters: inOff - offset of data in the buffer. Parameters: inLen - length of data. array containing SHA-1 hash. |
getJCRMIPermissions | public static JCRMIPermissions getJCRMIPermissions(int slot, byte[] selectAPDU, String root)(Code) | | Returns object that should be used for access control verification.
Parameters: slot - slot number. Parameters: selectAPDU - SELECT APDU command data. Parameters: root - name of CA that authorized the suite. object that can be used to check permissions. |
init | public static synchronized void init(int slot)(Code) | | Initialize ACL information.
Parameters: slot - int the slot number. |
|
|