Documentation ¶
Overview ¶
Package textsecure is a generated protocol buffer package.
It is generated from these files:
WhisperTextProtocol.proto LocalStorageProtocol.proto FingerprintProtocol.proto
It has these top-level messages:
SignalMessage PreKeySignalMessage KeyExchangeMessage SenderKeyMessage SenderKeyDistributionMessage DeviceConsistencyCodeMessage SessionStructure RecordStructure PreKeyRecordStructure SignedPreKeyRecordStructure IdentityKeyPairStructure SenderKeyStateStructure SenderKeyRecordStructure LogicalFingerprint CombinedFingerprints
Index ¶
- type CombinedFingerprints
- func (*CombinedFingerprints) Descriptor() ([]byte, []int)
- func (m *CombinedFingerprints) GetLocalFingerprint() *LogicalFingerprint
- func (m *CombinedFingerprints) GetRemoteFingerprint() *LogicalFingerprint
- func (m *CombinedFingerprints) GetVersion() uint32
- func (*CombinedFingerprints) ProtoMessage()
- func (m *CombinedFingerprints) Reset()
- func (m *CombinedFingerprints) String() string
- type DeviceConsistencyCodeMessage
- func (*DeviceConsistencyCodeMessage) Descriptor() ([]byte, []int)
- func (m *DeviceConsistencyCodeMessage) GetGeneration() uint32
- func (m *DeviceConsistencyCodeMessage) GetSignature() []byte
- func (*DeviceConsistencyCodeMessage) ProtoMessage()
- func (m *DeviceConsistencyCodeMessage) Reset()
- func (m *DeviceConsistencyCodeMessage) String() string
- type IdentityKeyPairStructure
- func (*IdentityKeyPairStructure) Descriptor() ([]byte, []int)
- func (m *IdentityKeyPairStructure) GetPrivateKey() []byte
- func (m *IdentityKeyPairStructure) GetPublicKey() []byte
- func (*IdentityKeyPairStructure) ProtoMessage()
- func (m *IdentityKeyPairStructure) Reset()
- func (m *IdentityKeyPairStructure) String() string
- type KeyExchangeMessage
- func (*KeyExchangeMessage) Descriptor() ([]byte, []int)
- func (m *KeyExchangeMessage) GetBaseKey() []byte
- func (m *KeyExchangeMessage) GetBaseKeySignature() []byte
- func (m *KeyExchangeMessage) GetId() uint32
- func (m *KeyExchangeMessage) GetIdentityKey() []byte
- func (m *KeyExchangeMessage) GetRatchetKey() []byte
- func (*KeyExchangeMessage) ProtoMessage()
- func (m *KeyExchangeMessage) Reset()
- func (m *KeyExchangeMessage) String() string
- type LogicalFingerprint
- type PreKeyRecordStructure
- func (*PreKeyRecordStructure) Descriptor() ([]byte, []int)
- func (m *PreKeyRecordStructure) GetId() uint32
- func (m *PreKeyRecordStructure) GetPrivateKey() []byte
- func (m *PreKeyRecordStructure) GetPublicKey() []byte
- func (*PreKeyRecordStructure) ProtoMessage()
- func (m *PreKeyRecordStructure) Reset()
- func (m *PreKeyRecordStructure) String() string
- type PreKeySignalMessage
- func (*PreKeySignalMessage) Descriptor() ([]byte, []int)
- func (m *PreKeySignalMessage) GetBaseKey() []byte
- func (m *PreKeySignalMessage) GetIdentityKey() []byte
- func (m *PreKeySignalMessage) GetMessage() []byte
- func (m *PreKeySignalMessage) GetPreKeyId() uint32
- func (m *PreKeySignalMessage) GetRegistrationId() uint32
- func (m *PreKeySignalMessage) GetSignedPreKeyId() uint32
- func (*PreKeySignalMessage) ProtoMessage()
- func (m *PreKeySignalMessage) Reset()
- func (m *PreKeySignalMessage) String() string
- type RecordStructure
- type SenderKeyDistributionMessage
- func (*SenderKeyDistributionMessage) Descriptor() ([]byte, []int)
- func (m *SenderKeyDistributionMessage) GetChainKey() []byte
- func (m *SenderKeyDistributionMessage) GetId() uint32
- func (m *SenderKeyDistributionMessage) GetIteration() uint32
- func (m *SenderKeyDistributionMessage) GetSigningKey() []byte
- func (*SenderKeyDistributionMessage) ProtoMessage()
- func (m *SenderKeyDistributionMessage) Reset()
- func (m *SenderKeyDistributionMessage) String() string
- type SenderKeyMessage
- func (*SenderKeyMessage) Descriptor() ([]byte, []int)
- func (m *SenderKeyMessage) GetCiphertext() []byte
- func (m *SenderKeyMessage) GetId() uint32
- func (m *SenderKeyMessage) GetIteration() uint32
- func (*SenderKeyMessage) ProtoMessage()
- func (m *SenderKeyMessage) Reset()
- func (m *SenderKeyMessage) String() string
- type SenderKeyRecordStructure
- type SenderKeyStateStructure
- func (*SenderKeyStateStructure) Descriptor() ([]byte, []int)
- func (m *SenderKeyStateStructure) GetSenderChainKey() *SenderKeyStateStructure_SenderChainKey
- func (m *SenderKeyStateStructure) GetSenderKeyId() uint32
- func (m *SenderKeyStateStructure) GetSenderMessageKeys() []*SenderKeyStateStructure_SenderMessageKey
- func (m *SenderKeyStateStructure) GetSenderSigningKey() *SenderKeyStateStructure_SenderSigningKey
- func (*SenderKeyStateStructure) ProtoMessage()
- func (m *SenderKeyStateStructure) Reset()
- func (m *SenderKeyStateStructure) String() string
- type SenderKeyStateStructure_SenderChainKey
- func (*SenderKeyStateStructure_SenderChainKey) Descriptor() ([]byte, []int)
- func (m *SenderKeyStateStructure_SenderChainKey) GetIteration() uint32
- func (m *SenderKeyStateStructure_SenderChainKey) GetSeed() []byte
- func (*SenderKeyStateStructure_SenderChainKey) ProtoMessage()
- func (m *SenderKeyStateStructure_SenderChainKey) Reset()
- func (m *SenderKeyStateStructure_SenderChainKey) String() string
- type SenderKeyStateStructure_SenderMessageKey
- func (*SenderKeyStateStructure_SenderMessageKey) Descriptor() ([]byte, []int)
- func (m *SenderKeyStateStructure_SenderMessageKey) GetIteration() uint32
- func (m *SenderKeyStateStructure_SenderMessageKey) GetSeed() []byte
- func (*SenderKeyStateStructure_SenderMessageKey) ProtoMessage()
- func (m *SenderKeyStateStructure_SenderMessageKey) Reset()
- func (m *SenderKeyStateStructure_SenderMessageKey) String() string
- type SenderKeyStateStructure_SenderSigningKey
- func (*SenderKeyStateStructure_SenderSigningKey) Descriptor() ([]byte, []int)
- func (m *SenderKeyStateStructure_SenderSigningKey) GetPrivate() []byte
- func (m *SenderKeyStateStructure_SenderSigningKey) GetPublic() []byte
- func (*SenderKeyStateStructure_SenderSigningKey) ProtoMessage()
- func (m *SenderKeyStateStructure_SenderSigningKey) Reset()
- func (m *SenderKeyStateStructure_SenderSigningKey) String() string
- type SessionStructure
- func (*SessionStructure) Descriptor() ([]byte, []int)
- func (m *SessionStructure) GetAliceBaseKey() []byte
- func (m *SessionStructure) GetLocalIdentityPublic() []byte
- func (m *SessionStructure) GetLocalRegistrationId() uint32
- func (m *SessionStructure) GetNeedsRefresh() bool
- func (m *SessionStructure) GetPendingKeyExchange() *SessionStructure_PendingKeyExchange
- func (m *SessionStructure) GetPendingPreKey() *SessionStructure_PendingPreKey
- func (m *SessionStructure) GetPreviousCounter() uint32
- func (m *SessionStructure) GetReceiverChains() []*SessionStructure_Chain
- func (m *SessionStructure) GetRemoteIdentityPublic() []byte
- func (m *SessionStructure) GetRemoteRegistrationId() uint32
- func (m *SessionStructure) GetRootKey() []byte
- func (m *SessionStructure) GetSenderChain() *SessionStructure_Chain
- func (m *SessionStructure) GetSessionVersion() uint32
- func (*SessionStructure) ProtoMessage()
- func (m *SessionStructure) Reset()
- func (m *SessionStructure) String() string
- type SessionStructure_Chain
- func (*SessionStructure_Chain) Descriptor() ([]byte, []int)
- func (m *SessionStructure_Chain) GetChainKey() *SessionStructure_Chain_ChainKey
- func (m *SessionStructure_Chain) GetMessageKeys() []*SessionStructure_Chain_MessageKey
- func (m *SessionStructure_Chain) GetSenderRatchetKey() []byte
- func (m *SessionStructure_Chain) GetSenderRatchetKeyPrivate() []byte
- func (*SessionStructure_Chain) ProtoMessage()
- func (m *SessionStructure_Chain) Reset()
- func (m *SessionStructure_Chain) String() string
- type SessionStructure_Chain_ChainKey
- func (*SessionStructure_Chain_ChainKey) Descriptor() ([]byte, []int)
- func (m *SessionStructure_Chain_ChainKey) GetIndex() uint32
- func (m *SessionStructure_Chain_ChainKey) GetKey() []byte
- func (*SessionStructure_Chain_ChainKey) ProtoMessage()
- func (m *SessionStructure_Chain_ChainKey) Reset()
- func (m *SessionStructure_Chain_ChainKey) String() string
- type SessionStructure_Chain_MessageKey
- func (*SessionStructure_Chain_MessageKey) Descriptor() ([]byte, []int)
- func (m *SessionStructure_Chain_MessageKey) GetCipherKey() []byte
- func (m *SessionStructure_Chain_MessageKey) GetIndex() uint32
- func (m *SessionStructure_Chain_MessageKey) GetIv() []byte
- func (m *SessionStructure_Chain_MessageKey) GetMacKey() []byte
- func (*SessionStructure_Chain_MessageKey) ProtoMessage()
- func (m *SessionStructure_Chain_MessageKey) Reset()
- func (m *SessionStructure_Chain_MessageKey) String() string
- type SessionStructure_PendingKeyExchange
- func (*SessionStructure_PendingKeyExchange) Descriptor() ([]byte, []int)
- func (m *SessionStructure_PendingKeyExchange) GetLocalBaseKey() []byte
- func (m *SessionStructure_PendingKeyExchange) GetLocalBaseKeyPrivate() []byte
- func (m *SessionStructure_PendingKeyExchange) GetLocalIdentityKey() []byte
- func (m *SessionStructure_PendingKeyExchange) GetLocalIdentityKeyPrivate() []byte
- func (m *SessionStructure_PendingKeyExchange) GetLocalRatchetKey() []byte
- func (m *SessionStructure_PendingKeyExchange) GetLocalRatchetKeyPrivate() []byte
- func (m *SessionStructure_PendingKeyExchange) GetSequence() uint32
- func (*SessionStructure_PendingKeyExchange) ProtoMessage()
- func (m *SessionStructure_PendingKeyExchange) Reset()
- func (m *SessionStructure_PendingKeyExchange) String() string
- type SessionStructure_PendingPreKey
- func (*SessionStructure_PendingPreKey) Descriptor() ([]byte, []int)
- func (m *SessionStructure_PendingPreKey) GetBaseKey() []byte
- func (m *SessionStructure_PendingPreKey) GetPreKeyId() uint32
- func (m *SessionStructure_PendingPreKey) GetSignedPreKeyId() int32
- func (*SessionStructure_PendingPreKey) ProtoMessage()
- func (m *SessionStructure_PendingPreKey) Reset()
- func (m *SessionStructure_PendingPreKey) String() string
- type SignalMessage
- func (*SignalMessage) Descriptor() ([]byte, []int)
- func (m *SignalMessage) GetCiphertext() []byte
- func (m *SignalMessage) GetCounter() uint32
- func (m *SignalMessage) GetPreviousCounter() uint32
- func (m *SignalMessage) GetRatchetKey() []byte
- func (*SignalMessage) ProtoMessage()
- func (m *SignalMessage) Reset()
- func (m *SignalMessage) String() string
- type SignedPreKeyRecordStructure
- func (*SignedPreKeyRecordStructure) Descriptor() ([]byte, []int)
- func (m *SignedPreKeyRecordStructure) GetId() uint32
- func (m *SignedPreKeyRecordStructure) GetPrivateKey() []byte
- func (m *SignedPreKeyRecordStructure) GetPublicKey() []byte
- func (m *SignedPreKeyRecordStructure) GetSignature() []byte
- func (m *SignedPreKeyRecordStructure) GetTimestamp() uint64
- func (*SignedPreKeyRecordStructure) ProtoMessage()
- func (m *SignedPreKeyRecordStructure) Reset()
- func (m *SignedPreKeyRecordStructure) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CombinedFingerprints ¶
type CombinedFingerprints struct { Version *uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` LocalFingerprint *LogicalFingerprint `protobuf:"bytes,2,opt,name=localFingerprint" json:"localFingerprint,omitempty"` RemoteFingerprint *LogicalFingerprint `protobuf:"bytes,3,opt,name=remoteFingerprint" json:"remoteFingerprint,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CombinedFingerprints) Descriptor ¶
func (*CombinedFingerprints) Descriptor() ([]byte, []int)
func (*CombinedFingerprints) GetLocalFingerprint ¶
func (m *CombinedFingerprints) GetLocalFingerprint() *LogicalFingerprint
func (*CombinedFingerprints) GetRemoteFingerprint ¶
func (m *CombinedFingerprints) GetRemoteFingerprint() *LogicalFingerprint
func (*CombinedFingerprints) GetVersion ¶
func (m *CombinedFingerprints) GetVersion() uint32
func (*CombinedFingerprints) ProtoMessage ¶
func (*CombinedFingerprints) ProtoMessage()
func (*CombinedFingerprints) Reset ¶
func (m *CombinedFingerprints) Reset()
func (*CombinedFingerprints) String ¶
func (m *CombinedFingerprints) String() string
type DeviceConsistencyCodeMessage ¶
type DeviceConsistencyCodeMessage struct { Generation *uint32 `protobuf:"varint,1,opt,name=generation" json:"generation,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DeviceConsistencyCodeMessage) Descriptor ¶
func (*DeviceConsistencyCodeMessage) Descriptor() ([]byte, []int)
func (*DeviceConsistencyCodeMessage) GetGeneration ¶
func (m *DeviceConsistencyCodeMessage) GetGeneration() uint32
func (*DeviceConsistencyCodeMessage) GetSignature ¶
func (m *DeviceConsistencyCodeMessage) GetSignature() []byte
func (*DeviceConsistencyCodeMessage) ProtoMessage ¶
func (*DeviceConsistencyCodeMessage) ProtoMessage()
func (*DeviceConsistencyCodeMessage) Reset ¶
func (m *DeviceConsistencyCodeMessage) Reset()
func (*DeviceConsistencyCodeMessage) String ¶
func (m *DeviceConsistencyCodeMessage) String() string
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) Descriptor ¶
func (*IdentityKeyPairStructure) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*KeyExchangeMessage) Descriptor() ([]byte, []int)
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 LogicalFingerprint ¶
type LogicalFingerprint struct { Content []byte `protobuf:"bytes,1,opt,name=content" json:"content,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*LogicalFingerprint) Descriptor ¶
func (*LogicalFingerprint) Descriptor() ([]byte, []int)
func (*LogicalFingerprint) GetContent ¶
func (m *LogicalFingerprint) GetContent() []byte
func (*LogicalFingerprint) ProtoMessage ¶
func (*LogicalFingerprint) ProtoMessage()
func (*LogicalFingerprint) Reset ¶
func (m *LogicalFingerprint) Reset()
func (*LogicalFingerprint) String ¶
func (m *LogicalFingerprint) 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) Descriptor ¶
func (*PreKeyRecordStructure) Descriptor() ([]byte, []int)
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 PreKeySignalMessage ¶
type PreKeySignalMessage 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 (*PreKeySignalMessage) Descriptor ¶
func (*PreKeySignalMessage) Descriptor() ([]byte, []int)
func (*PreKeySignalMessage) GetBaseKey ¶
func (m *PreKeySignalMessage) GetBaseKey() []byte
func (*PreKeySignalMessage) GetIdentityKey ¶
func (m *PreKeySignalMessage) GetIdentityKey() []byte
func (*PreKeySignalMessage) GetMessage ¶
func (m *PreKeySignalMessage) GetMessage() []byte
func (*PreKeySignalMessage) GetPreKeyId ¶
func (m *PreKeySignalMessage) GetPreKeyId() uint32
func (*PreKeySignalMessage) GetRegistrationId ¶
func (m *PreKeySignalMessage) GetRegistrationId() uint32
func (*PreKeySignalMessage) GetSignedPreKeyId ¶
func (m *PreKeySignalMessage) GetSignedPreKeyId() uint32
func (*PreKeySignalMessage) ProtoMessage ¶
func (*PreKeySignalMessage) ProtoMessage()
func (*PreKeySignalMessage) Reset ¶
func (m *PreKeySignalMessage) Reset()
func (*PreKeySignalMessage) String ¶
func (m *PreKeySignalMessage) 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) Descriptor ¶
func (*RecordStructure) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*SenderKeyDistributionMessage) Descriptor() ([]byte, []int)
func (*SenderKeyDistributionMessage) GetChainKey ¶
func (m *SenderKeyDistributionMessage) GetChainKey() []byte
func (*SenderKeyDistributionMessage) GetId ¶
func (m *SenderKeyDistributionMessage) GetId() uint32
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 ¶
func (m *SenderKeyDistributionMessage) String() 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) Descriptor ¶
func (*SenderKeyMessage) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*SenderKeyRecordStructure) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*SenderKeyStateStructure) Descriptor() ([]byte, []int)
func (*SenderKeyStateStructure) GetSenderChainKey ¶
func (m *SenderKeyStateStructure) GetSenderChainKey() *SenderKeyStateStructure_SenderChainKey
func (*SenderKeyStateStructure) GetSenderKeyId ¶
func (m *SenderKeyStateStructure) GetSenderKeyId() uint32
func (*SenderKeyStateStructure) GetSenderMessageKeys ¶
func (m *SenderKeyStateStructure) GetSenderMessageKeys() []*SenderKeyStateStructure_SenderMessageKey
func (*SenderKeyStateStructure) GetSenderSigningKey ¶
func (m *SenderKeyStateStructure) GetSenderSigningKey() *SenderKeyStateStructure_SenderSigningKey
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) Descriptor ¶
func (*SenderKeyStateStructure_SenderChainKey) Descriptor() ([]byte, []int)
func (*SenderKeyStateStructure_SenderChainKey) GetIteration ¶
func (m *SenderKeyStateStructure_SenderChainKey) GetIteration() uint32
func (*SenderKeyStateStructure_SenderChainKey) GetSeed ¶
func (m *SenderKeyStateStructure_SenderChainKey) GetSeed() []byte
func (*SenderKeyStateStructure_SenderChainKey) ProtoMessage ¶
func (*SenderKeyStateStructure_SenderChainKey) ProtoMessage()
func (*SenderKeyStateStructure_SenderChainKey) Reset ¶
func (m *SenderKeyStateStructure_SenderChainKey) Reset()
func (*SenderKeyStateStructure_SenderChainKey) String ¶
func (m *SenderKeyStateStructure_SenderChainKey) String() 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) Descriptor ¶
func (*SenderKeyStateStructure_SenderMessageKey) Descriptor() ([]byte, []int)
func (*SenderKeyStateStructure_SenderMessageKey) GetIteration ¶
func (m *SenderKeyStateStructure_SenderMessageKey) GetIteration() uint32
func (*SenderKeyStateStructure_SenderMessageKey) GetSeed ¶
func (m *SenderKeyStateStructure_SenderMessageKey) GetSeed() []byte
func (*SenderKeyStateStructure_SenderMessageKey) ProtoMessage ¶
func (*SenderKeyStateStructure_SenderMessageKey) ProtoMessage()
func (*SenderKeyStateStructure_SenderMessageKey) Reset ¶
func (m *SenderKeyStateStructure_SenderMessageKey) Reset()
func (*SenderKeyStateStructure_SenderMessageKey) String ¶
func (m *SenderKeyStateStructure_SenderMessageKey) String() 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) Descriptor ¶
func (*SenderKeyStateStructure_SenderSigningKey) Descriptor() ([]byte, []int)
func (*SenderKeyStateStructure_SenderSigningKey) GetPrivate ¶
func (m *SenderKeyStateStructure_SenderSigningKey) GetPrivate() []byte
func (*SenderKeyStateStructure_SenderSigningKey) GetPublic ¶
func (m *SenderKeyStateStructure_SenderSigningKey) GetPublic() []byte
func (*SenderKeyStateStructure_SenderSigningKey) ProtoMessage ¶
func (*SenderKeyStateStructure_SenderSigningKey) ProtoMessage()
func (*SenderKeyStateStructure_SenderSigningKey) Reset ¶
func (m *SenderKeyStateStructure_SenderSigningKey) Reset()
func (*SenderKeyStateStructure_SenderSigningKey) String ¶
func (m *SenderKeyStateStructure_SenderSigningKey) String() 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) Descriptor ¶
func (*SessionStructure) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*SessionStructure_Chain) Descriptor() ([]byte, []int)
func (*SessionStructure_Chain) GetChainKey ¶
func (m *SessionStructure_Chain) GetChainKey() *SessionStructure_Chain_ChainKey
func (*SessionStructure_Chain) GetMessageKeys ¶
func (m *SessionStructure_Chain) GetMessageKeys() []*SessionStructure_Chain_MessageKey
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) Descriptor ¶
func (*SessionStructure_Chain_ChainKey) Descriptor() ([]byte, []int)
func (*SessionStructure_Chain_ChainKey) GetIndex ¶
func (m *SessionStructure_Chain_ChainKey) GetIndex() uint32
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 (m *SessionStructure_Chain_ChainKey) Reset()
func (*SessionStructure_Chain_ChainKey) String ¶
func (m *SessionStructure_Chain_ChainKey) String() 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) Descriptor ¶
func (*SessionStructure_Chain_MessageKey) Descriptor() ([]byte, []int)
func (*SessionStructure_Chain_MessageKey) GetCipherKey ¶
func (m *SessionStructure_Chain_MessageKey) GetCipherKey() []byte
func (*SessionStructure_Chain_MessageKey) GetIndex ¶
func (m *SessionStructure_Chain_MessageKey) GetIndex() uint32
func (*SessionStructure_Chain_MessageKey) GetIv ¶
func (m *SessionStructure_Chain_MessageKey) GetIv() []byte
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 (m *SessionStructure_Chain_MessageKey) Reset()
func (*SessionStructure_Chain_MessageKey) String ¶
func (m *SessionStructure_Chain_MessageKey) String() 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) Descriptor ¶
func (*SessionStructure_PendingKeyExchange) Descriptor() ([]byte, []int)
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 (m *SessionStructure_PendingKeyExchange) GetSequence() uint32
func (*SessionStructure_PendingKeyExchange) ProtoMessage ¶
func (*SessionStructure_PendingKeyExchange) ProtoMessage()
func (*SessionStructure_PendingKeyExchange) Reset ¶
func (m *SessionStructure_PendingKeyExchange) Reset()
func (*SessionStructure_PendingKeyExchange) String ¶
func (m *SessionStructure_PendingKeyExchange) String() 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) Descriptor ¶
func (*SessionStructure_PendingPreKey) Descriptor() ([]byte, []int)
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 ¶
func (m *SessionStructure_PendingPreKey) String() string
type SignalMessage ¶
type SignalMessage 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 (*SignalMessage) Descriptor ¶
func (*SignalMessage) Descriptor() ([]byte, []int)
func (*SignalMessage) GetCiphertext ¶
func (m *SignalMessage) GetCiphertext() []byte
func (*SignalMessage) GetCounter ¶
func (m *SignalMessage) GetCounter() uint32
func (*SignalMessage) GetPreviousCounter ¶
func (m *SignalMessage) GetPreviousCounter() uint32
func (*SignalMessage) GetRatchetKey ¶
func (m *SignalMessage) GetRatchetKey() []byte
func (*SignalMessage) ProtoMessage ¶
func (*SignalMessage) ProtoMessage()
func (*SignalMessage) Reset ¶
func (m *SignalMessage) Reset()
func (*SignalMessage) String ¶
func (m *SignalMessage) String() 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) Descriptor ¶
func (*SignedPreKeyRecordStructure) Descriptor() ([]byte, []int)
func (*SignedPreKeyRecordStructure) GetId ¶
func (m *SignedPreKeyRecordStructure) GetId() uint32
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
Click to show internal directories.
Click to hide internal directories.