@ThreadSafe public class OpenSSLAnalyzer extends AbstractFileTypeAnalyzer
Constructor and Description |
---|
OpenSSLAnalyzer() |
Modifier and Type | Method and Description |
---|---|
protected void |
analyzeDependency(Dependency dependency,
Engine engine)
Analyzes python packages and adds evidence to the dependency.
|
AnalysisPhase |
getAnalysisPhase()
Tell that we are used for information collection.
|
protected java.lang.String |
getAnalyzerEnabledSettingKey()
Returns the setting for the analyzer enabled setting key.
|
protected java.io.FileFilter |
getFileFilter()
Returns the set of supported file extensions.
|
java.lang.String |
getName()
Returns the name of the Python Package Analyzer.
|
protected static java.lang.String |
getOpenSSLVersion(long openSSLVersionConstant)
Returns the open SSL version as a string.
|
protected void |
prepareFileTypeAnalyzer(Engine engine)
No-op initializer implementation.
|
accept, getFilesMatched, newHashSet, prepareAnalyzer, setFilesMatched
analyze, close, closeAnalyzer, getSettings, initialize, isEnabled, prepare, setEnabled, supportsParallelProcessing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyze, close, initialize, isEnabled, prepare, supportsParallelProcessing
protected static java.lang.String getOpenSSLVersion(long openSSLVersionConstant)
openSSLVersionConstant
- The open SSL versionpublic java.lang.String getName()
public AnalysisPhase getAnalysisPhase()
protected java.io.FileFilter getFileFilter()
getFileFilter
in class AbstractFileTypeAnalyzer
protected java.lang.String getAnalyzerEnabledSettingKey()
getAnalyzerEnabledSettingKey
in class AbstractAnalyzer
protected void prepareFileTypeAnalyzer(Engine engine) throws InitializationException
prepareFileTypeAnalyzer
in class AbstractFileTypeAnalyzer
engine
- a reference to the dependency-check engineInitializationException
- never thrownprotected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException
analyzeDependency
in class AbstractAnalyzer
dependency
- the dependency being analyzedengine
- the engine being used to perform the scanAnalysisException
- thrown if there is an unrecoverable error
analyzing the dependencyCopyright© 2012-21 Jeremy Long. All Rights Reserved.