Class OpenSSLAnalyzer

    • Constructor Detail

      • OpenSSLAnalyzer

        public OpenSSLAnalyzer()
    • Method Detail

      • getOpenSSLVersion

        protected static java.lang.String getOpenSSLVersion​(long openSSLVersionConstant)
        Returns the open SSL version as a string.
        Parameters:
        openSSLVersionConstant - The open SSL version
        Returns:
        the version of openssl
      • getName

        public java.lang.String getName()
        Returns the name of the Python Package Analyzer.
        Returns:
        the name of the analyzer
      • getAnalysisPhase

        public AnalysisPhase getAnalysisPhase()
        Tell that we are used for information collection.
        Returns:
        INFORMATION_COLLECTION
      • getFileFilter

        protected java.io.FileFilter getFileFilter()
        Returns the set of supported file extensions.
        Specified by:
        getFileFilter in class AbstractFileTypeAnalyzer
        Returns:
        the set of supported file extensions
      • getAnalyzerEnabledSettingKey

        protected java.lang.String getAnalyzerEnabledSettingKey()
        Returns the setting for the analyzer enabled setting key.
        Specified by:
        getAnalyzerEnabledSettingKey in class AbstractAnalyzer
        Returns:
        the setting for the analyzer enabled setting key
      • analyzeDependency

        protected void analyzeDependency​(Dependency dependency,
                                         Engine engine)
                                  throws AnalysisException
        Analyzes python packages and adds evidence to the dependency.
        Specified by:
        analyzeDependency in class AbstractAnalyzer
        Parameters:
        dependency - the dependency being analyzed
        engine - the engine being used to perform the scan
        Throws:
        AnalysisException - thrown if there is an unrecoverable error analyzing the dependency