plugin

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginName    = "notation"
	CaCerts       = "ca_certs"
	CertOutputDir = "output_cert_dir"
	KeyVersionId  = "key_version_id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaCloudSecretManagerPlugin

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

func NewAlibabaCloudSecretManagerPlugin

func NewAlibabaCloudSecretManagerPlugin() (*AlibabaCloudSecretManagerPlugin, error)

func (*AlibabaCloudSecretManagerPlugin) DescribeKey

func (*AlibabaCloudSecretManagerPlugin) GenerateEnvelope

func (*AlibabaCloudSecretManagerPlugin) GenerateSignature

func (*AlibabaCloudSecretManagerPlugin) GetMetadata

func (*AlibabaCloudSecretManagerPlugin) VerifySignature

type DKMSClientImpl

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

func NewDKMSClientImpl

func NewDKMSClientImpl(clientKey, kmsPassword, instanceEndpoint string, config openapi.Config) (*DKMSClientImpl, error)

func (*DKMSClientImpl) GenerateSignature

func (d *DKMSClientImpl) GenerateSignature(req *types.SignRequest) ([]byte, error)

func (*DKMSClientImpl) GetKMSClient

func (d *DKMSClientImpl) GetKMSClient() *kms.Client

func (*DKMSClientImpl) GetPublicKey

func (d *DKMSClientImpl) GetPublicKey(keyId, keyVersionId string) (*rsa.PublicKey, error)

type KMSClientImpl

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

func NewKMSClientImpl

func NewKMSClientImpl(config openapi.Config) (*KMSClientImpl, error)

func (*KMSClientImpl) GenerateSignature

func (k *KMSClientImpl) GenerateSignature(req *types.SignRequest) ([]byte, error)

func (*KMSClientImpl) GetKMSClient

func (k *KMSClientImpl) GetKMSClient() *kms.Client

func (*KMSClientImpl) GetPublicKey

func (k *KMSClientImpl) GetPublicKey(keyId, keyVersionId string) (*rsa.PublicKey, error)

Jump to

Keyboard shortcuts

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