axolotl

package
v0.0.0-...-0ec6e63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2017 License: GPL-3.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityKeyPairStructure

type IdentityKeyPairStructure struct {
	PublicKey        []byte `protobuf:"bytes,1,opt,name=publicKey" json:"publicKey,omitempty"`
	PrivateKey       []byte `protobuf:"bytes,2,opt,name=privateKey" json:"privateKey,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*IdentityKeyPairStructure) GetPrivateKey

func (m *IdentityKeyPairStructure) GetPrivateKey() []byte

func (*IdentityKeyPairStructure) GetPublicKey

func (m *IdentityKeyPairStructure) GetPublicKey() []byte

func (*IdentityKeyPairStructure) ProtoMessage

func (*IdentityKeyPairStructure) ProtoMessage()

func (*IdentityKeyPairStructure) Reset

func (m *IdentityKeyPairStructure) Reset()

func (*IdentityKeyPairStructure) String

func (m *IdentityKeyPairStructure) String() string

type KeyExchangeMessage

type KeyExchangeMessage struct {
	Id               *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	BaseKey          []byte  `protobuf:"bytes,2,opt,name=baseKey" json:"baseKey,omitempty"`
	RatchetKey       []byte  `protobuf:"bytes,3,opt,name=ratchetKey" json:"ratchetKey,omitempty"`
	IdentityKey      []byte  `protobuf:"bytes,4,opt,name=identityKey" json:"identityKey,omitempty"`
	BaseKeySignature []byte  `protobuf:"bytes,5,opt,name=baseKeySignature" json:"baseKeySignature,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*KeyExchangeMessage) GetBaseKey

func (m *KeyExchangeMessage) GetBaseKey() []byte

func (*KeyExchangeMessage) GetBaseKeySignature

func (m *KeyExchangeMessage) GetBaseKeySignature() []byte

func (*KeyExchangeMessage) GetId

func (m *KeyExchangeMessage) GetId() uint32

func (*KeyExchangeMessage) GetIdentityKey

func (m *KeyExchangeMessage) GetIdentityKey() []byte

func (*KeyExchangeMessage) GetRatchetKey

func (m *KeyExchangeMessage) GetRatchetKey() []byte

func (*KeyExchangeMessage) ProtoMessage

func (*KeyExchangeMessage) ProtoMessage()

func (*KeyExchangeMessage) Reset

func (m *KeyExchangeMessage) Reset()

func (*KeyExchangeMessage) String

func (m *KeyExchangeMessage) String() string

type PreKeyRecordStructure

type PreKeyRecordStructure struct {
	Id               *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	PublicKey        []byte  `protobuf:"bytes,2,opt,name=publicKey" json:"publicKey,omitempty"`
	PrivateKey       []byte  `protobuf:"bytes,3,opt,name=privateKey" json:"privateKey,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*PreKeyRecordStructure) GetId

func (m *PreKeyRecordStructure) GetId() uint32

func (*PreKeyRecordStructure) GetPrivateKey

func (m *PreKeyRecordStructure) GetPrivateKey() []byte

func (*PreKeyRecordStructure) GetPublicKey

func (m *PreKeyRecordStructure) GetPublicKey() []byte

func (*PreKeyRecordStructure) ProtoMessage

func (*PreKeyRecordStructure) ProtoMessage()

func (*PreKeyRecordStructure) Reset

func (m *PreKeyRecordStructure) Reset()

func (*PreKeyRecordStructure) String

func (m *PreKeyRecordStructure) String() string

type PreKeyWhisperMessage

type PreKeyWhisperMessage struct {
	RegistrationId   *uint32 `protobuf:"varint,5,opt,name=registrationId" json:"registrationId,omitempty"`
	PreKeyId         *uint32 `protobuf:"varint,1,opt,name=preKeyId" json:"preKeyId,omitempty"`
	SignedPreKeyId   *uint32 `protobuf:"varint,6,opt,name=signedPreKeyId" json:"signedPreKeyId,omitempty"`
	BaseKey          []byte  `protobuf:"bytes,2,opt,name=baseKey" json:"baseKey,omitempty"`
	IdentityKey      []byte  `protobuf:"bytes,3,opt,name=identityKey" json:"identityKey,omitempty"`
	Message          []byte  `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*PreKeyWhisperMessage) GetBaseKey

func (m *PreKeyWhisperMessage) GetBaseKey() []byte

func (*PreKeyWhisperMessage) GetIdentityKey

func (m *PreKeyWhisperMessage) GetIdentityKey() []byte

func (*PreKeyWhisperMessage) GetMessage

func (m *PreKeyWhisperMessage) GetMessage() []byte

func (*PreKeyWhisperMessage) GetPreKeyId

func (m *PreKeyWhisperMessage) GetPreKeyId() uint32

func (*PreKeyWhisperMessage) GetRegistrationId

func (m *PreKeyWhisperMessage) GetRegistrationId() uint32

func (*PreKeyWhisperMessage) GetSignedPreKeyId

func (m *PreKeyWhisperMessage) GetSignedPreKeyId() uint32

func (*PreKeyWhisperMessage) ProtoMessage

func (*PreKeyWhisperMessage) ProtoMessage()

func (*PreKeyWhisperMessage) Reset

func (m *PreKeyWhisperMessage) Reset()

func (*PreKeyWhisperMessage) String

func (m *PreKeyWhisperMessage) String() string

type RecordStructure

type RecordStructure struct {
	CurrentSession   *SessionStructure   `protobuf:"bytes,1,opt,name=currentSession" json:"currentSession,omitempty"`
	PreviousSessions []*SessionStructure `protobuf:"bytes,2,rep,name=previousSessions" json:"previousSessions,omitempty"`
	XXX_unrecognized []byte              `json:"-"`
}

func (*RecordStructure) GetCurrentSession

func (m *RecordStructure) GetCurrentSession() *SessionStructure

func (*RecordStructure) GetPreviousSessions

func (m *RecordStructure) GetPreviousSessions() []*SessionStructure

func (*RecordStructure) ProtoMessage

func (*RecordStructure) ProtoMessage()

func (*RecordStructure) Reset

func (m *RecordStructure) Reset()

func (*RecordStructure) String

func (m *RecordStructure) String() string

type SenderKeyDistributionMessage

type SenderKeyDistributionMessage struct {
	Id               *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Iteration        *uint32 `protobuf:"varint,2,opt,name=iteration" json:"iteration,omitempty"`
	ChainKey         []byte  `protobuf:"bytes,3,opt,name=chainKey" json:"chainKey,omitempty"`
	SigningKey       []byte  `protobuf:"bytes,4,opt,name=signingKey" json:"signingKey,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SenderKeyDistributionMessage) GetChainKey

func (m *SenderKeyDistributionMessage) GetChainKey() []byte

func (*SenderKeyDistributionMessage) GetId

func (*SenderKeyDistributionMessage) GetIteration

func (m *SenderKeyDistributionMessage) GetIteration() uint32

func (*SenderKeyDistributionMessage) GetSigningKey

func (m *SenderKeyDistributionMessage) GetSigningKey() []byte

func (*SenderKeyDistributionMessage) ProtoMessage

func (*SenderKeyDistributionMessage) ProtoMessage()

func (*SenderKeyDistributionMessage) Reset

func (m *SenderKeyDistributionMessage) Reset()

func (*SenderKeyDistributionMessage) String

type SenderKeyMessage

type SenderKeyMessage struct {
	Id               *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Iteration        *uint32 `protobuf:"varint,2,opt,name=iteration" json:"iteration,omitempty"`
	Ciphertext       []byte  `protobuf:"bytes,3,opt,name=ciphertext" json:"ciphertext,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SenderKeyMessage) GetCiphertext

func (m *SenderKeyMessage) GetCiphertext() []byte

func (*SenderKeyMessage) GetId

func (m *SenderKeyMessage) GetId() uint32

func (*SenderKeyMessage) GetIteration

func (m *SenderKeyMessage) GetIteration() uint32

func (*SenderKeyMessage) ProtoMessage

func (*SenderKeyMessage) ProtoMessage()

func (*SenderKeyMessage) Reset

func (m *SenderKeyMessage) Reset()

func (*SenderKeyMessage) String

func (m *SenderKeyMessage) String() string

type SenderKeyRecordStructure

type SenderKeyRecordStructure struct {
	SenderKeyStates  []*SenderKeyStateStructure `protobuf:"bytes,1,rep,name=senderKeyStates" json:"senderKeyStates,omitempty"`
	XXX_unrecognized []byte                     `json:"-"`
}

func (*SenderKeyRecordStructure) GetSenderKeyStates

func (m *SenderKeyRecordStructure) GetSenderKeyStates() []*SenderKeyStateStructure

func (*SenderKeyRecordStructure) ProtoMessage

func (*SenderKeyRecordStructure) ProtoMessage()

func (*SenderKeyRecordStructure) Reset

func (m *SenderKeyRecordStructure) Reset()

func (*SenderKeyRecordStructure) String

func (m *SenderKeyRecordStructure) String() string

type SenderKeyStateStructure

type SenderKeyStateStructure struct {
	SenderKeyId       *uint32                                     `protobuf:"varint,1,opt,name=senderKeyId" json:"senderKeyId,omitempty"`
	SenderChainKey    *SenderKeyStateStructure_SenderChainKey     `protobuf:"bytes,2,opt,name=senderChainKey" json:"senderChainKey,omitempty"`
	SenderSigningKey  *SenderKeyStateStructure_SenderSigningKey   `protobuf:"bytes,3,opt,name=senderSigningKey" json:"senderSigningKey,omitempty"`
	SenderMessageKeys []*SenderKeyStateStructure_SenderMessageKey `protobuf:"bytes,4,rep,name=senderMessageKeys" json:"senderMessageKeys,omitempty"`
	XXX_unrecognized  []byte                                      `json:"-"`
}

func (*SenderKeyStateStructure) GetSenderChainKey

func (*SenderKeyStateStructure) GetSenderKeyId

func (m *SenderKeyStateStructure) GetSenderKeyId() uint32

func (*SenderKeyStateStructure) GetSenderMessageKeys

func (*SenderKeyStateStructure) GetSenderSigningKey

func (*SenderKeyStateStructure) ProtoMessage

func (*SenderKeyStateStructure) ProtoMessage()

func (*SenderKeyStateStructure) Reset

func (m *SenderKeyStateStructure) Reset()

func (*SenderKeyStateStructure) String

func (m *SenderKeyStateStructure) String() string

type SenderKeyStateStructure_SenderChainKey

type SenderKeyStateStructure_SenderChainKey struct {
	Iteration        *uint32 `protobuf:"varint,1,opt,name=iteration" json:"iteration,omitempty"`
	Seed             []byte  `protobuf:"bytes,2,opt,name=seed" json:"seed,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SenderKeyStateStructure_SenderChainKey) GetIteration

func (*SenderKeyStateStructure_SenderChainKey) GetSeed

func (*SenderKeyStateStructure_SenderChainKey) ProtoMessage

func (*SenderKeyStateStructure_SenderChainKey) Reset

func (*SenderKeyStateStructure_SenderChainKey) String

type SenderKeyStateStructure_SenderMessageKey

type SenderKeyStateStructure_SenderMessageKey struct {
	Iteration        *uint32 `protobuf:"varint,1,opt,name=iteration" json:"iteration,omitempty"`
	Seed             []byte  `protobuf:"bytes,2,opt,name=seed" json:"seed,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SenderKeyStateStructure_SenderMessageKey) GetIteration

func (*SenderKeyStateStructure_SenderMessageKey) GetSeed

func (*SenderKeyStateStructure_SenderMessageKey) ProtoMessage

func (*SenderKeyStateStructure_SenderMessageKey) Reset

func (*SenderKeyStateStructure_SenderMessageKey) String

type SenderKeyStateStructure_SenderSigningKey

type SenderKeyStateStructure_SenderSigningKey struct {
	Public           []byte `protobuf:"bytes,1,opt,name=public" json:"public,omitempty"`
	Private          []byte `protobuf:"bytes,2,opt,name=private" json:"private,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*SenderKeyStateStructure_SenderSigningKey) GetPrivate

func (*SenderKeyStateStructure_SenderSigningKey) GetPublic

func (*SenderKeyStateStructure_SenderSigningKey) ProtoMessage

func (*SenderKeyStateStructure_SenderSigningKey) Reset

func (*SenderKeyStateStructure_SenderSigningKey) String

type SessionStructure

type SessionStructure struct {
	SessionVersion       *uint32                              `protobuf:"varint,1,opt,name=sessionVersion" json:"sessionVersion,omitempty"`
	LocalIdentityPublic  []byte                               `protobuf:"bytes,2,opt,name=localIdentityPublic" json:"localIdentityPublic,omitempty"`
	RemoteIdentityPublic []byte                               `protobuf:"bytes,3,opt,name=remoteIdentityPublic" json:"remoteIdentityPublic,omitempty"`
	RootKey              []byte                               `protobuf:"bytes,4,opt,name=rootKey" json:"rootKey,omitempty"`
	PreviousCounter      *uint32                              `protobuf:"varint,5,opt,name=previousCounter" json:"previousCounter,omitempty"`
	SenderChain          *SessionStructure_Chain              `protobuf:"bytes,6,opt,name=senderChain" json:"senderChain,omitempty"`
	ReceiverChains       []*SessionStructure_Chain            `protobuf:"bytes,7,rep,name=receiverChains" json:"receiverChains,omitempty"`
	PendingKeyExchange   *SessionStructure_PendingKeyExchange `protobuf:"bytes,8,opt,name=pendingKeyExchange" json:"pendingKeyExchange,omitempty"`
	PendingPreKey        *SessionStructure_PendingPreKey      `protobuf:"bytes,9,opt,name=pendingPreKey" json:"pendingPreKey,omitempty"`
	RemoteRegistrationId *uint32                              `protobuf:"varint,10,opt,name=remoteRegistrationId" json:"remoteRegistrationId,omitempty"`
	LocalRegistrationId  *uint32                              `protobuf:"varint,11,opt,name=localRegistrationId" json:"localRegistrationId,omitempty"`
	NeedsRefresh         *bool                                `protobuf:"varint,12,opt,name=needsRefresh" json:"needsRefresh,omitempty"`
	AliceBaseKey         []byte                               `protobuf:"bytes,13,opt,name=aliceBaseKey" json:"aliceBaseKey,omitempty"`
	XXX_unrecognized     []byte                               `json:"-"`
}

func (*SessionStructure) GetAliceBaseKey

func (m *SessionStructure) GetAliceBaseKey() []byte

func (*SessionStructure) GetLocalIdentityPublic

func (m *SessionStructure) GetLocalIdentityPublic() []byte

func (*SessionStructure) GetLocalRegistrationId

func (m *SessionStructure) GetLocalRegistrationId() uint32

func (*SessionStructure) GetNeedsRefresh

func (m *SessionStructure) GetNeedsRefresh() bool

func (*SessionStructure) GetPendingKeyExchange

func (m *SessionStructure) GetPendingKeyExchange() *SessionStructure_PendingKeyExchange

func (*SessionStructure) GetPendingPreKey

func (m *SessionStructure) GetPendingPreKey() *SessionStructure_PendingPreKey

func (*SessionStructure) GetPreviousCounter

func (m *SessionStructure) GetPreviousCounter() uint32

func (*SessionStructure) GetReceiverChains

func (m *SessionStructure) GetReceiverChains() []*SessionStructure_Chain

func (*SessionStructure) GetRemoteIdentityPublic

func (m *SessionStructure) GetRemoteIdentityPublic() []byte

func (*SessionStructure) GetRemoteRegistrationId

func (m *SessionStructure) GetRemoteRegistrationId() uint32

func (*SessionStructure) GetRootKey

func (m *SessionStructure) GetRootKey() []byte

func (*SessionStructure) GetSenderChain

func (m *SessionStructure) GetSenderChain() *SessionStructure_Chain

func (*SessionStructure) GetSessionVersion

func (m *SessionStructure) GetSessionVersion() uint32

func (*SessionStructure) ProtoMessage

func (*SessionStructure) ProtoMessage()

func (*SessionStructure) Reset

func (m *SessionStructure) Reset()

func (*SessionStructure) String

func (m *SessionStructure) String() string

type SessionStructure_Chain

type SessionStructure_Chain struct {
	SenderRatchetKey        []byte                               `protobuf:"bytes,1,opt,name=senderRatchetKey" json:"senderRatchetKey,omitempty"`
	SenderRatchetKeyPrivate []byte                               `protobuf:"bytes,2,opt,name=senderRatchetKeyPrivate" json:"senderRatchetKeyPrivate,omitempty"`
	ChainKey                *SessionStructure_Chain_ChainKey     `protobuf:"bytes,3,opt,name=chainKey" json:"chainKey,omitempty"`
	MessageKeys             []*SessionStructure_Chain_MessageKey `protobuf:"bytes,4,rep,name=messageKeys" json:"messageKeys,omitempty"`
	XXX_unrecognized        []byte                               `json:"-"`
}

func (*SessionStructure_Chain) GetChainKey

func (*SessionStructure_Chain) GetMessageKeys

func (*SessionStructure_Chain) GetSenderRatchetKey

func (m *SessionStructure_Chain) GetSenderRatchetKey() []byte

func (*SessionStructure_Chain) GetSenderRatchetKeyPrivate

func (m *SessionStructure_Chain) GetSenderRatchetKeyPrivate() []byte

func (*SessionStructure_Chain) ProtoMessage

func (*SessionStructure_Chain) ProtoMessage()

func (*SessionStructure_Chain) Reset

func (m *SessionStructure_Chain) Reset()

func (*SessionStructure_Chain) String

func (m *SessionStructure_Chain) String() string

type SessionStructure_Chain_ChainKey

type SessionStructure_Chain_ChainKey struct {
	Index            *uint32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"`
	Key              []byte  `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SessionStructure_Chain_ChainKey) GetIndex

func (*SessionStructure_Chain_ChainKey) GetKey

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

func (*SessionStructure_Chain_ChainKey) ProtoMessage

func (*SessionStructure_Chain_ChainKey) ProtoMessage()

func (*SessionStructure_Chain_ChainKey) Reset

func (*SessionStructure_Chain_ChainKey) String

type SessionStructure_Chain_MessageKey

type SessionStructure_Chain_MessageKey struct {
	Index            *uint32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"`
	CipherKey        []byte  `protobuf:"bytes,2,opt,name=cipherKey" json:"cipherKey,omitempty"`
	MacKey           []byte  `protobuf:"bytes,3,opt,name=macKey" json:"macKey,omitempty"`
	Iv               []byte  `protobuf:"bytes,4,opt,name=iv" json:"iv,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SessionStructure_Chain_MessageKey) GetCipherKey

func (m *SessionStructure_Chain_MessageKey) GetCipherKey() []byte

func (*SessionStructure_Chain_MessageKey) GetIndex

func (*SessionStructure_Chain_MessageKey) GetIv

func (*SessionStructure_Chain_MessageKey) GetMacKey

func (m *SessionStructure_Chain_MessageKey) GetMacKey() []byte

func (*SessionStructure_Chain_MessageKey) ProtoMessage

func (*SessionStructure_Chain_MessageKey) ProtoMessage()

func (*SessionStructure_Chain_MessageKey) Reset

func (*SessionStructure_Chain_MessageKey) String

type SessionStructure_PendingKeyExchange

type SessionStructure_PendingKeyExchange struct {
	Sequence                *uint32 `protobuf:"varint,1,opt,name=sequence" json:"sequence,omitempty"`
	LocalBaseKey            []byte  `protobuf:"bytes,2,opt,name=localBaseKey" json:"localBaseKey,omitempty"`
	LocalBaseKeyPrivate     []byte  `protobuf:"bytes,3,opt,name=localBaseKeyPrivate" json:"localBaseKeyPrivate,omitempty"`
	LocalRatchetKey         []byte  `protobuf:"bytes,4,opt,name=localRatchetKey" json:"localRatchetKey,omitempty"`
	LocalRatchetKeyPrivate  []byte  `protobuf:"bytes,5,opt,name=localRatchetKeyPrivate" json:"localRatchetKeyPrivate,omitempty"`
	LocalIdentityKey        []byte  `protobuf:"bytes,7,opt,name=localIdentityKey" json:"localIdentityKey,omitempty"`
	LocalIdentityKeyPrivate []byte  `protobuf:"bytes,8,opt,name=localIdentityKeyPrivate" json:"localIdentityKeyPrivate,omitempty"`
	XXX_unrecognized        []byte  `json:"-"`
}

func (*SessionStructure_PendingKeyExchange) GetLocalBaseKey

func (m *SessionStructure_PendingKeyExchange) GetLocalBaseKey() []byte

func (*SessionStructure_PendingKeyExchange) GetLocalBaseKeyPrivate

func (m *SessionStructure_PendingKeyExchange) GetLocalBaseKeyPrivate() []byte

func (*SessionStructure_PendingKeyExchange) GetLocalIdentityKey

func (m *SessionStructure_PendingKeyExchange) GetLocalIdentityKey() []byte

func (*SessionStructure_PendingKeyExchange) GetLocalIdentityKeyPrivate

func (m *SessionStructure_PendingKeyExchange) GetLocalIdentityKeyPrivate() []byte

func (*SessionStructure_PendingKeyExchange) GetLocalRatchetKey

func (m *SessionStructure_PendingKeyExchange) GetLocalRatchetKey() []byte

func (*SessionStructure_PendingKeyExchange) GetLocalRatchetKeyPrivate

func (m *SessionStructure_PendingKeyExchange) GetLocalRatchetKeyPrivate() []byte

func (*SessionStructure_PendingKeyExchange) GetSequence

func (*SessionStructure_PendingKeyExchange) ProtoMessage

func (*SessionStructure_PendingKeyExchange) ProtoMessage()

func (*SessionStructure_PendingKeyExchange) Reset

func (*SessionStructure_PendingKeyExchange) String

type SessionStructure_PendingPreKey

type SessionStructure_PendingPreKey struct {
	PreKeyId         *uint32 `protobuf:"varint,1,opt,name=preKeyId" json:"preKeyId,omitempty"`
	SignedPreKeyId   *int32  `protobuf:"varint,3,opt,name=signedPreKeyId" json:"signedPreKeyId,omitempty"`
	BaseKey          []byte  `protobuf:"bytes,2,opt,name=baseKey" json:"baseKey,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SessionStructure_PendingPreKey) GetBaseKey

func (m *SessionStructure_PendingPreKey) GetBaseKey() []byte

func (*SessionStructure_PendingPreKey) GetPreKeyId

func (m *SessionStructure_PendingPreKey) GetPreKeyId() uint32

func (*SessionStructure_PendingPreKey) GetSignedPreKeyId

func (m *SessionStructure_PendingPreKey) GetSignedPreKeyId() int32

func (*SessionStructure_PendingPreKey) ProtoMessage

func (*SessionStructure_PendingPreKey) ProtoMessage()

func (*SessionStructure_PendingPreKey) Reset

func (m *SessionStructure_PendingPreKey) Reset()

func (*SessionStructure_PendingPreKey) String

type SignedPreKeyRecordStructure

type SignedPreKeyRecordStructure struct {
	Id               *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	PublicKey        []byte  `protobuf:"bytes,2,opt,name=publicKey" json:"publicKey,omitempty"`
	PrivateKey       []byte  `protobuf:"bytes,3,opt,name=privateKey" json:"privateKey,omitempty"`
	Signature        []byte  `protobuf:"bytes,4,opt,name=signature" json:"signature,omitempty"`
	Timestamp        *uint64 `protobuf:"fixed64,5,opt,name=timestamp" json:"timestamp,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SignedPreKeyRecordStructure) GetId

func (*SignedPreKeyRecordStructure) GetPrivateKey

func (m *SignedPreKeyRecordStructure) GetPrivateKey() []byte

func (*SignedPreKeyRecordStructure) GetPublicKey

func (m *SignedPreKeyRecordStructure) GetPublicKey() []byte

func (*SignedPreKeyRecordStructure) GetSignature

func (m *SignedPreKeyRecordStructure) GetSignature() []byte

func (*SignedPreKeyRecordStructure) GetTimestamp

func (m *SignedPreKeyRecordStructure) GetTimestamp() uint64

func (*SignedPreKeyRecordStructure) ProtoMessage

func (*SignedPreKeyRecordStructure) ProtoMessage()

func (*SignedPreKeyRecordStructure) Reset

func (m *SignedPreKeyRecordStructure) Reset()

func (*SignedPreKeyRecordStructure) String

func (m *SignedPreKeyRecordStructure) String() string

type WhisperMessage

type WhisperMessage struct {
	RatchetKey       []byte  `protobuf:"bytes,1,opt,name=ratchetKey" json:"ratchetKey,omitempty"`
	Counter          *uint32 `protobuf:"varint,2,opt,name=counter" json:"counter,omitempty"`
	PreviousCounter  *uint32 `protobuf:"varint,3,opt,name=previousCounter" json:"previousCounter,omitempty"`
	Ciphertext       []byte  `protobuf:"bytes,4,opt,name=ciphertext" json:"ciphertext,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*WhisperMessage) GetCiphertext

func (m *WhisperMessage) GetCiphertext() []byte

func (*WhisperMessage) GetCounter

func (m *WhisperMessage) GetCounter() uint32

func (*WhisperMessage) GetPreviousCounter

func (m *WhisperMessage) GetPreviousCounter() uint32

func (*WhisperMessage) GetRatchetKey

func (m *WhisperMessage) GetRatchetKey() []byte

func (*WhisperMessage) ProtoMessage

func (*WhisperMessage) ProtoMessage()

func (*WhisperMessage) Reset

func (m *WhisperMessage) Reset()

func (*WhisperMessage) String

func (m *WhisperMessage) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL