Documentation
¶
Index ¶
- Variables
- type KeyExchange
- func (this *KeyExchange) GetDhPrivate() []byte
- func (this *KeyExchange) GetKey() []byte
- func (this *KeyExchange) GetKeyExchangeBytes() []byte
- func (this *KeyExchange) GetMeeting1() []byte
- func (this *KeyExchange) GetMeeting2() []byte
- func (this *KeyExchange) GetMessage1() []byte
- func (this *KeyExchange) GetMessage2() []byte
- func (this *KeyExchange) GetSharedKey() []byte
- func (this *KeyExchange) GetSharedSecret() *KeyExchange_SharedSecret
- func (this *KeyExchange) GetStatus() KeyExchange_Status
- func (*KeyExchange) ProtoMessage()
- func (this *KeyExchange) Reset()
- func (this *KeyExchange) String() string
- type KeyExchange_SharedSecret
- func (this *KeyExchange_SharedSecret) GetCardCount() []int32
- func (this *KeyExchange_SharedSecret) GetNumDecks() int32
- func (this *KeyExchange_SharedSecret) GetSecret() string
- func (this *KeyExchange_SharedSecret) GetTime() *KeyExchange_SharedSecret_Time
- func (*KeyExchange_SharedSecret) ProtoMessage()
- func (this *KeyExchange_SharedSecret) Reset()
- func (this *KeyExchange_SharedSecret) String() string
- type KeyExchange_SharedSecret_Time
- func (this *KeyExchange_SharedSecret_Time) GetDay() int32
- func (this *KeyExchange_SharedSecret_Time) GetHours() int32
- func (this *KeyExchange_SharedSecret_Time) GetMinutes() int32
- func (this *KeyExchange_SharedSecret_Time) GetMonth() int32
- func (this *KeyExchange_SharedSecret_Time) GetYear() int32
- func (*KeyExchange_SharedSecret_Time) ProtoMessage()
- func (this *KeyExchange_SharedSecret_Time) Reset()
- func (this *KeyExchange_SharedSecret_Time) String() string
- type KeyExchange_Status
Constants ¶
This section is empty.
Variables ¶
View Source
var KeyExchange_Status_name = map[int32]string{
0: "INIT",
1: "EXCHANGE1",
2: "EXCHANGE2",
}
View Source
var KeyExchange_Status_value = map[string]int32{
"INIT": 0,
"EXCHANGE1": 1,
"EXCHANGE2": 2,
}
Functions ¶
This section is empty.
Types ¶
type KeyExchange ¶
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:"key_exchange_bytes,omitempty"` DhPrivate []byte `protobuf:"bytes,4,opt,name=dh_private" 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"` XXX_unrecognized []byte `json:"-"` }
func (*KeyExchange) GetDhPrivate ¶
func (this *KeyExchange) GetDhPrivate() []byte
func (*KeyExchange) GetKey ¶
func (this *KeyExchange) GetKey() []byte
func (*KeyExchange) GetKeyExchangeBytes ¶
func (this *KeyExchange) GetKeyExchangeBytes() []byte
func (*KeyExchange) GetMeeting1 ¶
func (this *KeyExchange) GetMeeting1() []byte
func (*KeyExchange) GetMeeting2 ¶
func (this *KeyExchange) GetMeeting2() []byte
func (*KeyExchange) GetMessage1 ¶
func (this *KeyExchange) GetMessage1() []byte
func (*KeyExchange) GetMessage2 ¶
func (this *KeyExchange) GetMessage2() []byte
func (*KeyExchange) GetSharedKey ¶
func (this *KeyExchange) GetSharedKey() []byte
func (*KeyExchange) GetSharedSecret ¶
func (this *KeyExchange) GetSharedSecret() *KeyExchange_SharedSecret
func (*KeyExchange) GetStatus ¶
func (this *KeyExchange) GetStatus() KeyExchange_Status
func (*KeyExchange) ProtoMessage ¶
func (*KeyExchange) ProtoMessage()
func (*KeyExchange) Reset ¶
func (this *KeyExchange) Reset()
func (*KeyExchange) String ¶
func (this *KeyExchange) String() string
type KeyExchange_SharedSecret ¶
type KeyExchange_SharedSecret struct {}
func (*KeyExchange_SharedSecret) GetCardCount ¶
func (this *KeyExchange_SharedSecret) GetCardCount() []int32
func (*KeyExchange_SharedSecret) GetNumDecks ¶
func (this *KeyExchange_SharedSecret) GetNumDecks() int32
func (*KeyExchange_SharedSecret) GetSecret ¶
func (this *KeyExchange_SharedSecret) GetSecret() string
func (*KeyExchange_SharedSecret) GetTime ¶
func (this *KeyExchange_SharedSecret) GetTime() *KeyExchange_SharedSecret_Time
func (*KeyExchange_SharedSecret) ProtoMessage ¶
func (*KeyExchange_SharedSecret) ProtoMessage()
func (*KeyExchange_SharedSecret) Reset ¶
func (this *KeyExchange_SharedSecret) Reset()
func (*KeyExchange_SharedSecret) String ¶
func (this *KeyExchange_SharedSecret) String() string
type KeyExchange_SharedSecret_Time ¶
type KeyExchange_SharedSecret_Time struct {}
func (*KeyExchange_SharedSecret_Time) GetDay ¶
func (this *KeyExchange_SharedSecret_Time) GetDay() int32
func (*KeyExchange_SharedSecret_Time) GetHours ¶
func (this *KeyExchange_SharedSecret_Time) GetHours() int32
func (*KeyExchange_SharedSecret_Time) GetMinutes ¶
func (this *KeyExchange_SharedSecret_Time) GetMinutes() int32
func (*KeyExchange_SharedSecret_Time) GetMonth ¶
func (this *KeyExchange_SharedSecret_Time) GetMonth() int32
func (*KeyExchange_SharedSecret_Time) GetYear ¶
func (this *KeyExchange_SharedSecret_Time) GetYear() int32
func (*KeyExchange_SharedSecret_Time) ProtoMessage ¶
func (*KeyExchange_SharedSecret_Time) ProtoMessage()
func (*KeyExchange_SharedSecret_Time) Reset ¶
func (this *KeyExchange_SharedSecret_Time) Reset()
func (*KeyExchange_SharedSecret_Time) String ¶
func (this *KeyExchange_SharedSecret_Time) String() string
type KeyExchange_Status ¶
type KeyExchange_Status int32
const ( KeyExchange_INIT KeyExchange_Status = 0 KeyExchange_EXCHANGE1 KeyExchange_Status = 1 KeyExchange_EXCHANGE2 KeyExchange_Status = 2 )
func (KeyExchange_Status) Enum ¶
func (x KeyExchange_Status) Enum() *KeyExchange_Status
func (KeyExchange_Status) MarshalJSON ¶
func (x KeyExchange_Status) MarshalJSON() ([]byte, error)
func (KeyExchange_Status) String ¶
func (x KeyExchange_Status) String() string
func (*KeyExchange_Status) UnmarshalJSON ¶
func (x *KeyExchange_Status) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.