| java.lang.Object com.sun.midp.main.MIDletSuiteVerifier
MIDletSuiteVerifier | public class MIDletSuiteVerifier (Code) | | This a class stub class to enable the com.sun.midp.installer.Installer
to compile.
|
Method Summary | |
public static boolean | checkJarHash(String jarPath, byte[] hashValue) Compare hash value of the JAR with provided hash value. | public static byte[] | getJarHash(String jarPath) | public static byte[] | verifySuiteClasses(int suiteId, MIDletSuiteStorage suiteStorage) Schedule suite classes verification to be done by a new VM started
as soon as the current VM will be terminated. |
checkJarHash | public static boolean checkJarHash(String jarPath, byte[] hashValue) throws IOException(Code) | | Compare hash value of the JAR with provided hash value.
Parameters: jarPath - path to JAR file Parameters: hashValue - hash value to compare with true if JAR has hash value equal to the provided one,otherwise false throws: IOException - |
getJarHash | public static byte[] getJarHash(String jarPath) throws IOException(Code) | | Evaluate hash value for the JAR package
Parameters: jarPath - JAR package path hash value for JAR package |
verifySuiteClasses | public static byte[] verifySuiteClasses(int suiteId, MIDletSuiteStorage suiteStorage) throws IOException(Code) | | Schedule suite classes verification to be done by a new VM started
as soon as the current VM will be terminated.
Parameters: suiteId - id of the suite whose classes are to be verified Parameters: suiteStorage - suite storage instance null verify hash value, since no verification is done,the verification is only scheduled to be done in the future throws: IOException - |
|
|