protocol

package
v0.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KMSProfileSuite

type KMSProfileSuite struct {
	Name       string `json:"name"`
	PluginName string `json:"pluginName"`
	ID         string `json:"id"`
}

KMSProfileSuite is a named kms key profile with key id and type.

type SignRequest

type SignRequest struct {
	Version     string               `json:"version"`
	Descriptor  notation.Descriptor  `json:"descriptor"`
	SignOptions notation.SignOptions `json:"signOptions"`
	KMSProfile  KMSProfileSuite      `json:"kmsProfile"`
}

SignRequest is the request to sign artifacts

type VerifyRequest

type VerifyRequest struct {
	Version       string                 `json:"version"`
	Signature     []byte                 `json:"signature"`
	VerifyOptions notation.VerifyOptions `json:"verifyOptions"`
	KMSProfile    KMSProfileSuite        `json:"kmsProfile"`
}

VerifyRequest is the request to verify a signature.

Jump to

Keyboard shortcuts

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