certificates

package
v0.0.0-...-2d4f0a5 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexBomRefInDependencySlice

func IndexBomRefInDependencySlice(slice []cdx.Dependency, bomRef cdx.BOMReference) int

Return index in slice if bomRef is found in slice or -1 if not present

func MergeDependencyStructSlice

func MergeDependencyStructSlice(a []cdx.Dependency, b []cdx.Dependency) []cdx.Dependency

func NewCertificatePlugin

func NewCertificatePlugin() (plugins.Plugin, error)

Parse all certificates from the given filesystem

Types

type CertificatesPlugin

type CertificatesPlugin struct{}

Plugin to parse certificates from the filesystem

func (CertificatesPlugin) GetExplanation

func (CertificatesPlugin) GetExplanation() string

func (CertificatesPlugin) GetName

func (CertificatesPlugin) GetName() string

Get the name of the plugin

func (CertificatesPlugin) GetType

Get the type of the plugin

func (*CertificatesPlugin) UpdateBOM

func (certificatesPlugin *CertificatesPlugin) UpdateBOM(fs filesystem.Filesystem, bom *cdx.BOM) error

Add the found certificates to the slice of components

Jump to

Keyboard shortcuts

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