Check integrity of JAR files?

I have a zip file containing several jar files that are downloaded from the https site.

Banks form a command-line server-side application. I have a Java application writing application that performs some checks to verify that the banks are signed using a special trusted digital certificate and have not been changed during migration.

Do I need to check jar files on receipt, or is this something the JVM does? I know the JVM checks for byte code, but what about signing a gang?

+3
source share
1 answer

It depends on how the banks are used.

, . classloader URLClassLoader, .

JarFile Java API JAR, , String File . .

+2

Source: https://habr.com/ru/post/1717688/


All Articles