Documentation
¶
Index ¶
- type IdentityKeyPairStructure
- type KeyExchangeMessage
- 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 PreKeyRecordStructure
- type PreKeyWhisperMessage
- func (m *PreKeyWhisperMessage) GetBaseKey() []byte
- func (m *PreKeyWhisperMessage) GetIdentityKey() []byte
- func (m *PreKeyWhisperMessage) GetMessage() []byte
- func (m *PreKeyWhisperMessage) GetPreKeyId() uint32
- func (m *PreKeyWhisperMessage) GetRegistrationId() uint32
- func (m *PreKeyWhisperMessage) GetSignedPreKeyId() uint32
- func (*PreKeyWhisperMessage) ProtoMessage()
- func (m *PreKeyWhisperMessage) Reset()
- func (m *PreKeyWhisperMessage) String() string
- type RecordStructure
- type SenderKeyDistributionMessage
- 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
- type SenderKeyRecordStructure
- type SenderKeyStateStructure
- 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 (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 (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 (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 (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 (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
- type SessionStructure_Chain_MessageKey
- 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 (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 (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 SignedPreKeyRecordStructure
- 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
- type WhisperMessage
- func (m *WhisperMessage) GetCiphertext() []byte
- func (m *WhisperMessage) GetCounter() uint32
- func (m *WhisperMessage) GetPreviousCounter() uint32
- func (m *WhisperMessage) GetRatchetKey() []byte
- func (*WhisperMessage) ProtoMessage()
- func (m *WhisperMessage) Reset()
- func (m *WhisperMessage) String() string
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 (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) 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 (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) 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) 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) 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) 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 (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) 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) 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) 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) 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 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 (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
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
Click to show internal directories.
Click to hide internal directories.