cose

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MediaTypeEnvelope  = "application/cose"
	MediaTypePayloadV1 = "application/vnd.cncf.notary.payload.v1+json"
	SigningSchemeX509  = "notary.x509"
)

MediaTypeEnvelope is the COSE signature envelope blob mediaType.

Variables

This section is empty.

Functions

func SignCOSEEnvelope

func SignCOSEEnvelope(coseOpts COSEOptions) ([]byte, error)

Types

type COSEOptions

type COSEOptions struct {
	Connector endpoint.Connector
	Env       endpoint.Environment
	Mech      int
	X5u       string
	Req       *proto.GenerateEnvelopeRequest
}

Jump to

Keyboard shortcuts

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