| java.lang.Object com.sun.midp.installer.VerifierImpl
VerifierImpl | public class VerifierImpl implements Verifier(Code) | | Verifier that is able to verify midlet suite's signature.
It is used when the crypto code is present in the build.
|
VerifierImpl | public VerifierImpl(InstallState installState)(Code) | | Constructor.
Parameters: state - current state of the installation |
getSecurityDomainName | public String getSecurityDomainName(String ca)(Code) | | Looks up the domain of a MIDlet suite.
Parameters: ca - CA of an installed suite security domain of the MIDlet suite |
isJadSigned | public boolean isJadSigned()(Code) | | Checks to see if the JAD has a signature, but does not verify the
signature.
true if the JAD has a signature |
verifyJar | public String[] verifyJar(RandomAccessStream jarStorage, String jarFilename) throws IOException, InvalidJadException(Code) | | Verifies a Jar. On success set the name of the domain owner in the
install state. Post any error back to the server.
Parameters: jarStorage - System store for applications Parameters: jarFilename - name of the jar to read. exception: IOException - if any error prevents the readingof the JAR exception: InvalidJadException - if the JAR is not valid or theprovider certificate is missing |
|
|