Save This Page
Home » openjdk-7 » com.sun.crypto » provider » [javadoc | source]
com.sun.crypto.provider
final class: JarVerifier [javadoc | source]
java.lang.Object
   com.sun.crypto.provider.JarVerifier
This class verifies JAR files (and any supporting JAR files), and determines whether they may be used in this implementation. The JCE in OpenJDK has an open cryptographic interface, meaning it does not restrict which providers can be used. Compliance with United States export controls and with local law governing the import/export of products incorporating the JCE in the OpenJDK is the responsibility of the licensee.
Method from com.sun.crypto.provider.JarVerifier Summary:
verify
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.JarVerifier Detail:
 static boolean verify(Class c) 
    Verify the JAR file is signed by an entity which has a certificate issued by a trusted CA. Note: this is a temporary method and will change soon to use the exception chaining mechanism, which can provide more details as to why the verification failed.