package dsse
import "github.com/sigstore/protobuf-specs/gen/pb-go/dsse"
Index ¶
- Variables
- type Envelope
- func (*Envelope) Descriptor() ([]byte, []int)
- func (x *Envelope) GetPayload() []byte
- func (x *Envelope) GetPayloadType() string
- func (x *Envelope) GetSignatures() []*Signature
- func (*Envelope) ProtoMessage()
- func (x *Envelope) ProtoReflect() protoreflect.Message
- func (x *Envelope) Reset()
- func (x *Envelope) String() string
- type Signature
Variables ¶
var File_envelope_proto protoreflect.FileDescriptor
Types ¶
type Envelope ¶
type Envelope struct {
// Message to be signed. (In JSON, this is encoded as base64.)
// REQUIRED.
Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
// String unambiguously identifying how to interpret payload.
// REQUIRED.
PayloadType string `protobuf:"bytes,2,opt,name=payloadType,proto3" json:"payloadType,omitempty"`
// Signature over:
//
// PAE(type, payload)
//
// Where PAE is defined as:
// PAE(type, payload) = "DSSEv1" + SP + LEN(type) + SP + type + SP + LEN(payload) + SP + payload
// + = concatenation
// SP = ASCII space [0x20]
// "DSSEv1" = ASCII [0x44, 0x53, 0x53, 0x45, 0x76, 0x31]
// LEN(s) = ASCII decimal encoding of the byte length of s, with no leading zeros
// REQUIRED (length >= 1).
Signatures []*Signature `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
// contains filtered or unexported fields
}
An authenticated message of arbitrary type.
func (*Envelope) Descriptor ¶
Deprecated: Use Envelope.ProtoReflect.Descriptor instead.
func (*Envelope) GetPayload ¶
func (*Envelope) GetPayloadType ¶
func (*Envelope) GetSignatures ¶
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
func (*Envelope) ProtoReflect ¶
func (x *Envelope) ProtoReflect() protoreflect.Message
func (*Envelope) Reset ¶
func (x *Envelope) Reset()
func (*Envelope) String ¶
type Signature ¶
type Signature struct {
// Signature itself. (In JSON, this is encoded as base64.)
// REQUIRED.
Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"`
// *Unauthenticated* hint identifying which public key was used.
// OPTIONAL.
Keyid string `protobuf:"bytes,2,opt,name=keyid,proto3" json:"keyid,omitempty"`
// contains filtered or unexported fields
}
func (*Signature) Descriptor ¶
Deprecated: Use Signature.ProtoReflect.Descriptor instead.
func (*Signature) GetKeyid ¶
func (*Signature) GetSig ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
func (*Signature) Reset ¶
func (x *Signature) Reset()
func (*Signature) String ¶
Source Files ¶
- Version
- v0.4.3 (latest)
- Published
- Jun 9, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 10 months ago –
Tools for package owners.