- Checksum - Class in org.owasp.dependencycheck.utils
-
Includes methods to generate the MD5 and SHA1 checksum.
- cleanup() - Static method in class org.owasp.dependencycheck.utils.Settings
-
Cleans up resources to prevent memory leaks.
- cleanup(boolean) - Static method in class org.owasp.dependencycheck.utils.Settings
-
Cleans up resources to prevent memory leaks.
- CONNECTION_TIMEOUT - Static variable in class org.owasp.dependencycheck.utils.Settings.KEYS
-
The properties key for the connection timeout.
- createHttpURLConnection(URL) - Static method in class org.owasp.dependencycheck.utils.URLConnectionFactory
-
Utility method to create an HttpURLConnection.
- createHttpURLConnection(URL, boolean) - Static method in class org.owasp.dependencycheck.utils.URLConnectionFactory
-
Utility method to create an HttpURLConnection.
- CVE_META_URL - Static variable in class org.owasp.dependencycheck.utils.Settings.KEYS
-
The properties key for the URL to retrieve the "meta" data from about the CVE entries.
- CVE_MODIFIED_12_URL - Static variable in class org.owasp.dependencycheck.utils.Settings.KEYS
-
The properties key for the URL to retrieve the recently modified and added CVE entries (last 8 days) using
the 1.2 schema.
- CVE_MODIFIED_20_URL - Static variable in class org.owasp.dependencycheck.utils.Settings.KEYS
-
The properties key for the URL to retrieve the recently modified and added CVE entries (last 8 days) using
the 2.0 schema.
- CVE_MODIFIED_VALID_FOR_DAYS - Static variable in class org.owasp.dependencycheck.utils.Settings.KEYS
-
The properties key for the URL to retrieve the recently modified and added CVE entries (last 8 days).
- CVE_SCHEMA_1_2 - Static variable in class org.owasp.dependencycheck.utils.Settings.KEYS
-
The properties key for the CVE schema version 1.2.
- CVE_SCHEMA_2_0 - Static variable in class org.owasp.dependencycheck.utils.Settings.KEYS
-
The properties key for the CVE schema version 2.0.
- CVE_START_YEAR - Static variable in class org.owasp.dependencycheck.utils.Settings.KEYS
-
The properties key for the telling us how many cve.url.* URLs exists.
- getBitBucket() - Static method in class org.owasp.dependencycheck.utils.FileUtils
-
Return the bit bucket for the OS.
- getBoolean(String) - Static method in class org.owasp.dependencycheck.utils.Settings
-
Returns a boolean value from the properties file.
- getBoolean(String, boolean) - Static method in class org.owasp.dependencycheck.utils.Settings
-
Returns a boolean value from the properties file.
- getChecksum(String, File) - Static method in class org.owasp.dependencycheck.utils.Checksum
-
Creates the cryptographic checksum of a given file using the specified algorithm.
- getConnectionString(String, String, String) - Static method in class org.owasp.dependencycheck.utils.Settings
-
Returns a connection string from the configured properties.
- getDataDirectory(String, Class) - Static method in class org.owasp.dependencycheck.utils.FileUtils
-
Deprecated.
This method should no longer be used. See the implementation in dependency-check-cli/App.java to see
how the data directory should be set.
- getDataDirectory() - Static method in class org.owasp.dependencycheck.utils.Settings
-
Retrieves the directory that the JAR file exists in so that we can ensure we always use a common data directory
for the embedded H2 database.
- getDataFile(String) - Static method in class org.owasp.dependencycheck.utils.Settings
-
Returns a value from the properties file as a File object.
- getFile(String) - Static method in class org.owasp.dependencycheck.utils.Settings
-
Returns a value from the properties file as a File object.
- getFileExtension(String) - Static method in class org.owasp.dependencycheck.utils.FileUtils
-
Returns the (lowercase) file extension for a specified file.
- getHex(byte[]) - Static method in class org.owasp.dependencycheck.utils.Checksum
-
Converts a byte array into a hex string.
- getInstance() - Static method in class org.owasp.dependencycheck.utils.Settings
-
Gets the underlying instance of the Settings object.
- getInt(String) - Static method in class org.owasp.dependencycheck.utils.Settings
-
Returns an int value from the properties file.
- getInt(String, int) - Static method in class org.owasp.dependencycheck.utils.Settings
-
Returns an int value from the properties file.
- getLastModified(URL) - Static method in class org.owasp.dependencycheck.utils.Downloader
-
Makes an HTTP Head request to retrieve the last modified date of the given URL.
- getLong(String) - Static method in class org.owasp.dependencycheck.utils.Settings
-
Returns a long value from the properties file.
- getMD5Checksum(File) - Static method in class org.owasp.dependencycheck.utils.Checksum
-
Calculates the MD5 checksum of a specified file.
- getPathToJar(Class) - Static method in class org.owasp.dependencycheck.utils.FileUtils
-
Deprecated.
this should no longer be used.
- getSHA1Checksum(File) - Static method in class org.owasp.dependencycheck.utils.Checksum
-
Calculates the SHA1 checksum of a specified file.
- getString(String, String) - Static method in class org.owasp.dependencycheck.utils.Settings
-
Returns a value from the properties file.
- getString(String) - Static method in class org.owasp.dependencycheck.utils.Settings
-
Returns a value from the properties file.
- getTempDirectory() - Static method in class org.owasp.dependencycheck.utils.Settings
-
Returns the temporary directory.
- getTempFile(String, String) - Static method in class org.owasp.dependencycheck.utils.FileUtils
-
Generates a new temporary file name that is guaranteed to be unique.