Package org.owasp.dependencycheck.utils
Includes various utility classes such as a Settings wrapper, utilities to make URL Connections, etc.
-
Class Summary Class Description Checksum Includes methods to generate the MD5 and SHA1 checksum.Downloader A Utility class to centralize download logic like HTTP(S) proxy configuration and proxy- and server credential handling.ExpectedObjectInputStream An ObjectInputStream that will only deserialize expected classes.ExplicitEncodingToStringResponseHandler A responseHandler that uses an explicit client-defined characterset to interpret the response payload as a string.FileUtils A collection of utilities for processing information about files.JsonArrayFixingInputStream Fixes a poorly formatted jSON array such as those returned bygo list -json -m all
.Settings A simple settings container that wraps the dependencycheck.properties file.Settings.KEYS The collection of keys used within the properties file.SSLSocketFactoryEx TODO - is this class needed anymore as we do not support Java 6 and 7.URLConnectionFactory A URLConnection Factory to create new connections.XmlUtils Collection of XML related code. -
Exception Summary Exception Description DownloadFailedException An exception used when a download fails.ExtractionException An exception used when a file is unable to be un-zipped.InvalidSettingException An exception used when an error occurs reading a setting.ResourceNotFoundException An exception used when the resource could not be retrieved because a 404 was received.TooManyRequestsException An exception used when the server has blocked the requests due to too many requests.URLConnectionFailureException An exception used when the creation of an URLConnection fails.