javasecurity

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJavaSecurityPlugin

func NewJavaSecurityPlugin() (plugins.Plugin, error)

NewJavaSecurityPlugin Creates underlying data structure for evaluation

Types

type AlgorithmRestriction

type AlgorithmRestriction struct {
	// contains filtered or unexported fields
}

AlgorithmRestriction Represents a single restriction on algorithms by the java.security file

type JavaSecurity

type JavaSecurity struct {
	// contains filtered or unexported fields
}

JavaSecurity represents the java.security file(s) found on the system

func New

type Plugin

type Plugin struct{}

Plugin Represents the java security plugin in a specific scanning context Implements the config/ConfigPlugin interface

func (*Plugin) GetExplanation

func (*Plugin) GetExplanation() string

func (*Plugin) GetName

func (*Plugin) GetName() string

GetName Get the algorithm of the plugin for debugging purposes

func (*Plugin) GetType

func (*Plugin) GetType() plugins.PluginType

GetType Get the type of the plugin

func (*Plugin) UpdateBOM

func (plugin *Plugin) UpdateBOM(fs filesystem.Filesystem, bom *cdx.BOM) error

UpdateBOM High-level function to update a list of components (e.g., remove components and add new ones) based on the underlying filesystem

type RestrictionResult

type RestrictionResult struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL