28import java.io.IOException;
29import java.net.URISyntaxException;
30import java.security.MessageDigest;
31import java.util.Arrays;
33import java.util.regex.Pattern;
35import org.jau.io.IOUtil;
36import org.jau.pkg.cache.TempJarCache;
37import org.jau.sec.SHASum;
61 public TempJarSHASum(
final MessageDigest digest,
final Class<?> jarclazz,
final List<Pattern> excludes,
final List<Pattern> includes)
62 throws SecurityException, IllegalArgumentException, IOException, URISyntaxException
static String slashify(final String path, final boolean startWithSlash, final boolean endWithSlash)
static Uri getJarFileUri(final String clazzBinName, final ClassLoader cl)
The Class's "com.jogamp.common.GlueGenVersion" Uri jar:sub_protocol:/some/path/gluegen-rt....
SHASum specialization utilizing TempJarCache to access jar file content for SHA computation
TempJarSHASum(final MessageDigest digest, final Class<?> jarclazz, final List< Pattern > excludes, final List< Pattern > includes)
Instance to ensure proper compute(boolean) of identical SHA sums over same contents within given path...
File getTempDir()
Temporary directory for individual files (eg.
Static Jar file cache handler using an underlying instance of TempFileCache, see getTempFileCache().
static synchronized final void addAll(final Class<?> certClass, final Uri jarUri)
Adds all types, native libraries, class files and other files (resources) if not yet added.
static TempFileCache getTempFileCache()
Utility class to produce secure hash (SHA) sums over diverse input sources.
final List< String > getOrigins()