plugin

package
v1.0.2292 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package plugin implements the interface github.com/notaryproject/notation-plugin-framework-go/plugin, enabling its use as a library in the notation-go package and to generate executable

Index

Constants

View Source
const Name = "com.amazonaws.signer.notation.plugin"

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSSignerPlugin

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

AWSSignerPlugin provides functionality for signing and verification in accordance with the NotaryProject AWSSignerPlugin contract.

func NewAWSSigner

func NewAWSSigner(s client.Interface) *AWSSignerPlugin

NewAWSSigner creates new AWSSignerPlugin

func NewAWSSignerForCLI

func NewAWSSignerForCLI() *AWSSignerPlugin

NewAWSSignerForCLI creates a new AWSSignerPlugin and is intended solely for generating executables.

func (*AWSSignerPlugin) DescribeKey

DescribeKey describes the key being used for signing. This method is not supported by AWS Signer's plugin.

func (*AWSSignerPlugin) GenerateEnvelope

GenerateEnvelope returns the signature envelope generated by calling AWS Signer.

func (*AWSSignerPlugin) GenerateSignature

GenerateSignature generates the raw signature. This method is not supported by AWS Signer's plugin.

func (*AWSSignerPlugin) GetMetadata

GetMetadata returns the metadata information of the plugin.

func (*AWSSignerPlugin) VerifySignature

VerifySignature performs the extended verification of signature by optionally calling AWS Signer.

Jump to

Keyboard shortcuts

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