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 }
Click to show internal directories.
Click to hide internal directories.