panda: github.com/katzenpost/panda/crypto/proto Index | Files

package panda

import "github.com/katzenpost/panda/crypto/proto"

Package panda is a generated protocol buffer package.

It is generated from these files:

core.proto

It has these top-level messages:

KeyExchange

Index

Package Files

core.pb.go

Variables

var KeyExchange_Status_name = map[int32]string{
    0:  "INIT",
    1:  "EXCHANGE1",
    2:  "EXCHANGE2",
}
var KeyExchange_Status_value = map[string]int32{
    "INIT":      0,
    "EXCHANGE1": 1,
    "EXCHANGE2": 2,
}

type KeyExchange Uses

type KeyExchange struct {
    Status           *KeyExchange_Status `protobuf:"varint,1,req,name=status,enum=panda.KeyExchange_Status" json:"status,omitempty"`
    KeyExchangeBytes []byte              `protobuf:"bytes,2,req,name=key_exchange_bytes,json=keyExchangeBytes" json:"key_exchange_bytes,omitempty"`
    SharedSecret     []byte              `protobuf:"bytes,3,opt,name=shared_secret,json=sharedSecret" json:"shared_secret,omitempty"`
    DhPrivate        []byte              `protobuf:"bytes,4,opt,name=dh_private,json=dhPrivate" json:"dh_private,omitempty"`
    Key              []byte              `protobuf:"bytes,5,opt,name=key" json:"key,omitempty"`
    Meeting1         []byte              `protobuf:"bytes,6,opt,name=meeting1" json:"meeting1,omitempty"`
    Meeting2         []byte              `protobuf:"bytes,7,opt,name=meeting2" json:"meeting2,omitempty"`
    Message1         []byte              `protobuf:"bytes,8,opt,name=message1" json:"message1,omitempty"`
    Message2         []byte              `protobuf:"bytes,9,opt,name=message2" json:"message2,omitempty"`
    SharedKey        []byte              `protobuf:"bytes,10,opt,name=shared_key,json=sharedKey" json:"shared_key,omitempty"`
    XXX_unrecognized []byte              `json:"-"`
}

func (*KeyExchange) Descriptor Uses

func (*KeyExchange) Descriptor() ([]byte, []int)

func (*KeyExchange) GetDhPrivate Uses

func (m *KeyExchange) GetDhPrivate() []byte

func (*KeyExchange) GetKey Uses

func (m *KeyExchange) GetKey() []byte

func (*KeyExchange) GetKeyExchangeBytes Uses

func (m *KeyExchange) GetKeyExchangeBytes() []byte

func (*KeyExchange) GetMeeting1 Uses

func (m *KeyExchange) GetMeeting1() []byte

func (*KeyExchange) GetMeeting2 Uses

func (m *KeyExchange) GetMeeting2() []byte

func (*KeyExchange) GetMessage1 Uses

func (m *KeyExchange) GetMessage1() []byte

func (*KeyExchange) GetMessage2 Uses

func (m *KeyExchange) GetMessage2() []byte

func (*KeyExchange) GetSharedKey Uses

func (m *KeyExchange) GetSharedKey() []byte

func (*KeyExchange) GetSharedSecret Uses

func (m *KeyExchange) GetSharedSecret() []byte

func (*KeyExchange) GetStatus Uses

func (m *KeyExchange) GetStatus() KeyExchange_Status

func (*KeyExchange) ProtoMessage Uses

func (*KeyExchange) ProtoMessage()

func (*KeyExchange) Reset Uses

func (m *KeyExchange) Reset()

func (*KeyExchange) String Uses

func (m *KeyExchange) String() string

type KeyExchange_Status Uses

type KeyExchange_Status int32
const (
    KeyExchange_INIT      KeyExchange_Status = 0
    KeyExchange_EXCHANGE1 KeyExchange_Status = 1
    KeyExchange_EXCHANGE2 KeyExchange_Status = 2
)

func (KeyExchange_Status) Enum Uses

func (x KeyExchange_Status) Enum() *KeyExchange_Status

func (KeyExchange_Status) EnumDescriptor Uses

func (KeyExchange_Status) EnumDescriptor() ([]byte, []int)

func (KeyExchange_Status) String Uses

func (x KeyExchange_Status) String() string

func (*KeyExchange_Status) UnmarshalJSON Uses

func (x *KeyExchange_Status) UnmarshalJSON(data []byte) error

Package panda imports 3 packages (graph) and is imported by 1 packages. Updated 2019-05-03. Refresh now. Tools for package owners.