Documentation ¶
Index ¶
- Variables
- type Container
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetContainerBox() []byte
- func (x *Header) GetContentEncoding() string
- func (x *Header) GetContentType() string
- func (x *Header) GetEncryptionPublicKey() []byte
- func (x *Header) GetRecipients() []*Recipient
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type Recipient
Constants ¶
This section is empty.
Variables ¶
View Source
var File_harp_container_v1_container_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { // Container headers. Headers *Header `protobuf:"bytes,1,opt,name=headers,proto3" json:"headers,omitempty"` // Raw hold the complete serialized object in protobuf. Raw []byte `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"` // contains filtered or unexported fields }
Container describes the container attributes.
func (*Container) Descriptor
deprecated
func (*Container) GetHeaders ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type Header ¶
type Header struct { // Content encoding describes the content encoding used for raw. // Unspecified means no encoding. ContentEncoding string `protobuf:"bytes,1,opt,name=content_encoding,json=contentEncoding,proto3" json:"content_encoding,omitempty"` // Content type is the serialization method used to serialize 'raw'. // Unspecified means "application/vnd.harp.protobuf". ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // Ephemeral public key used for encryption. EncryptionPublicKey []byte `protobuf:"bytes,3,opt,name=encryption_public_key,json=encryptionPublicKey,proto3" json:"encryption_public_key,omitempty"` // Container box contains public signing key encrypted with payload key. ContainerBox []byte `protobuf:"bytes,4,opt,name=container_box,json=containerBox,proto3" json:"container_box,omitempty"` // Recipient list for identity bound secret container. Recipients []*Recipient `protobuf:"bytes,6,rep,name=recipients,proto3" json:"recipients,omitempty"` // contains filtered or unexported fields }
Header describes container headers.
func (*Header) Descriptor
deprecated
func (*Header) GetContainerBox ¶
func (*Header) GetContentEncoding ¶
func (*Header) GetContentType ¶
func (*Header) GetEncryptionPublicKey ¶
func (*Header) GetRecipients ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type Recipient ¶
type Recipient struct { // Recipient identifier Identifier []byte `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // Encrypted copy of the payload key for recipient. Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
Recipient describes container recipient informations.
func (*Recipient) Descriptor
deprecated
func (*Recipient) GetIdentifier ¶
func (*Recipient) ProtoMessage ¶
func (*Recipient) ProtoMessage()
func (*Recipient) ProtoReflect ¶
func (x *Recipient) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.