jar

package
v1.3.7-yckms.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIVERSION = "0.0.1"
)

Variables

This section is empty.

Functions

func NewEntry

func NewEntry() types.EntryImpl

Types

type V001Entry

type V001Entry struct {
	JARModel models.JarV001Schema
}

func (V001Entry) APIVersion

func (v V001Entry) APIVersion() string

func (V001Entry) ArtifactHash

func (v V001Entry) ArtifactHash() (string, error)

func (*V001Entry) Canonicalize

func (v *V001Entry) Canonicalize(ctx context.Context) ([]byte, error)

func (*V001Entry) CreateFromArtifactProperties

func (v *V001Entry) CreateFromArtifactProperties(ctx context.Context, props types.ArtifactProperties) (models.ProposedEntry, error)

func (*V001Entry) IndexKeys

func (v *V001Entry) IndexKeys() ([]string, error)

func (V001Entry) Insertable

func (v V001Entry) Insertable() (bool, error)

func (*V001Entry) Unmarshal

func (v *V001Entry) Unmarshal(pe models.ProposedEntry) error

func (V001Entry) Verifiers

func (v V001Entry) Verifiers() ([]pki.PublicKey, error)

Jump to

Keyboard shortcuts

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