Documentation ¶
Index ¶
- Variables
- type CombinedFingerprints
- func (*CombinedFingerprints) Descriptor() ([]byte, []int)deprecated
- func (x *CombinedFingerprints) GetLocalFingerprint() *LogicalFingerprint
- func (x *CombinedFingerprints) GetRemoteFingerprint() *LogicalFingerprint
- func (x *CombinedFingerprints) GetVersion() uint32
- func (*CombinedFingerprints) ProtoMessage()
- func (x *CombinedFingerprints) ProtoReflect() protoreflect.Message
- func (x *CombinedFingerprints) Reset()
- func (x *CombinedFingerprints) String() string
- type IdentityKeyPairStructure
- func (*IdentityKeyPairStructure) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityKeyPairStructure) GetPrivateKey() []byte
- func (x *IdentityKeyPairStructure) GetPublicKey() []byte
- func (*IdentityKeyPairStructure) ProtoMessage()
- func (x *IdentityKeyPairStructure) ProtoReflect() protoreflect.Message
- func (x *IdentityKeyPairStructure) Reset()
- func (x *IdentityKeyPairStructure) String() string
- type LogicalFingerprint
- func (*LogicalFingerprint) Descriptor() ([]byte, []int)deprecated
- func (x *LogicalFingerprint) GetContent() []byte
- func (*LogicalFingerprint) ProtoMessage()
- func (x *LogicalFingerprint) ProtoReflect() protoreflect.Message
- func (x *LogicalFingerprint) Reset()
- func (x *LogicalFingerprint) String() string
- type PreKeyRecordStructure
- func (*PreKeyRecordStructure) Descriptor() ([]byte, []int)deprecated
- func (x *PreKeyRecordStructure) GetId() uint32
- func (x *PreKeyRecordStructure) GetPrivateKey() []byte
- func (x *PreKeyRecordStructure) GetPublicKey() []byte
- func (*PreKeyRecordStructure) ProtoMessage()
- func (x *PreKeyRecordStructure) ProtoReflect() protoreflect.Message
- func (x *PreKeyRecordStructure) Reset()
- func (x *PreKeyRecordStructure) String() string
- type PreKeySignalMessage
- func (*PreKeySignalMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PreKeySignalMessage) GetBaseKey() []byte
- func (x *PreKeySignalMessage) GetIdentityKey() []byte
- func (x *PreKeySignalMessage) GetMessage() []byte
- func (x *PreKeySignalMessage) GetPreKeyId() uint32
- func (x *PreKeySignalMessage) GetRegistrationId() uint32
- func (x *PreKeySignalMessage) GetSignedPreKeyId() uint32
- func (*PreKeySignalMessage) ProtoMessage()
- func (x *PreKeySignalMessage) ProtoReflect() protoreflect.Message
- func (x *PreKeySignalMessage) Reset()
- func (x *PreKeySignalMessage) String() string
- type RecordStructure
- func (*RecordStructure) Descriptor() ([]byte, []int)deprecated
- func (x *RecordStructure) GetCurrentSession() *SessionStructure
- func (x *RecordStructure) GetPreviousSessions() [][]byte
- func (*RecordStructure) ProtoMessage()
- func (x *RecordStructure) ProtoReflect() protoreflect.Message
- func (x *RecordStructure) Reset()
- func (x *RecordStructure) String() string
- type SenderCertificate
- func (*SenderCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *SenderCertificate) GetCertificate() []byte
- func (x *SenderCertificate) GetSignature() []byte
- func (*SenderCertificate) ProtoMessage()
- func (x *SenderCertificate) ProtoReflect() protoreflect.Message
- func (x *SenderCertificate) Reset()
- func (x *SenderCertificate) String() string
- type SenderCertificate_Certificate
- func (*SenderCertificate_Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *SenderCertificate_Certificate) GetExpires() uint64
- func (x *SenderCertificate_Certificate) GetIdentityKey() []byte
- func (x *SenderCertificate_Certificate) GetSenderDevice() uint32
- func (x *SenderCertificate_Certificate) GetSenderE164() string
- func (x *SenderCertificate_Certificate) GetSenderUuid() string
- func (x *SenderCertificate_Certificate) GetSigner() *ServerCertificate
- func (*SenderCertificate_Certificate) ProtoMessage()
- func (x *SenderCertificate_Certificate) ProtoReflect() protoreflect.Message
- func (x *SenderCertificate_Certificate) Reset()
- func (x *SenderCertificate_Certificate) String() string
- type SenderKeyDistributionMessage
- func (*SenderKeyDistributionMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SenderKeyDistributionMessage) GetChainId() uint32
- func (x *SenderKeyDistributionMessage) GetChainKey() []byte
- func (x *SenderKeyDistributionMessage) GetDistributionUuid() []byte
- func (x *SenderKeyDistributionMessage) GetIteration() uint32
- func (x *SenderKeyDistributionMessage) GetSigningKey() []byte
- func (*SenderKeyDistributionMessage) ProtoMessage()
- func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message
- func (x *SenderKeyDistributionMessage) Reset()
- func (x *SenderKeyDistributionMessage) String() string
- type SenderKeyMessage
- func (*SenderKeyMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SenderKeyMessage) GetChainId() uint32
- func (x *SenderKeyMessage) GetCiphertext() []byte
- func (x *SenderKeyMessage) GetDistributionUuid() []byte
- func (x *SenderKeyMessage) GetIteration() uint32
- func (*SenderKeyMessage) ProtoMessage()
- func (x *SenderKeyMessage) ProtoReflect() protoreflect.Message
- func (x *SenderKeyMessage) Reset()
- func (x *SenderKeyMessage) String() string
- type SenderKeyRecordStructure
- func (*SenderKeyRecordStructure) Descriptor() ([]byte, []int)deprecated
- func (x *SenderKeyRecordStructure) GetSenderKeyStates() []*SenderKeyStateStructure
- func (*SenderKeyRecordStructure) ProtoMessage()
- func (x *SenderKeyRecordStructure) ProtoReflect() protoreflect.Message
- func (x *SenderKeyRecordStructure) Reset()
- func (x *SenderKeyRecordStructure) String() string
- type SenderKeyStateStructure
- func (*SenderKeyStateStructure) Descriptor() ([]byte, []int)deprecated
- func (x *SenderKeyStateStructure) GetChainId() uint32
- func (x *SenderKeyStateStructure) GetMessageVersion() uint32
- func (x *SenderKeyStateStructure) GetSenderChainKey() *SenderKeyStateStructure_SenderChainKey
- func (x *SenderKeyStateStructure) GetSenderMessageKeys() []*SenderKeyStateStructure_SenderMessageKey
- func (x *SenderKeyStateStructure) GetSenderSigningKey() *SenderKeyStateStructure_SenderSigningKey
- func (*SenderKeyStateStructure) ProtoMessage()
- func (x *SenderKeyStateStructure) ProtoReflect() protoreflect.Message
- func (x *SenderKeyStateStructure) Reset()
- func (x *SenderKeyStateStructure) String() string
- type SenderKeyStateStructure_SenderChainKey
- func (*SenderKeyStateStructure_SenderChainKey) Descriptor() ([]byte, []int)deprecated
- func (x *SenderKeyStateStructure_SenderChainKey) GetIteration() uint32
- func (x *SenderKeyStateStructure_SenderChainKey) GetSeed() []byte
- func (*SenderKeyStateStructure_SenderChainKey) ProtoMessage()
- func (x *SenderKeyStateStructure_SenderChainKey) ProtoReflect() protoreflect.Message
- func (x *SenderKeyStateStructure_SenderChainKey) Reset()
- func (x *SenderKeyStateStructure_SenderChainKey) String() string
- type SenderKeyStateStructure_SenderMessageKey
- func (*SenderKeyStateStructure_SenderMessageKey) Descriptor() ([]byte, []int)deprecated
- func (x *SenderKeyStateStructure_SenderMessageKey) GetIteration() uint32
- func (x *SenderKeyStateStructure_SenderMessageKey) GetSeed() []byte
- func (*SenderKeyStateStructure_SenderMessageKey) ProtoMessage()
- func (x *SenderKeyStateStructure_SenderMessageKey) ProtoReflect() protoreflect.Message
- func (x *SenderKeyStateStructure_SenderMessageKey) Reset()
- func (x *SenderKeyStateStructure_SenderMessageKey) String() string
- type SenderKeyStateStructure_SenderSigningKey
- func (*SenderKeyStateStructure_SenderSigningKey) Descriptor() ([]byte, []int)deprecated
- func (x *SenderKeyStateStructure_SenderSigningKey) GetPrivate() []byte
- func (x *SenderKeyStateStructure_SenderSigningKey) GetPublic() []byte
- func (*SenderKeyStateStructure_SenderSigningKey) ProtoMessage()
- func (x *SenderKeyStateStructure_SenderSigningKey) ProtoReflect() protoreflect.Message
- func (x *SenderKeyStateStructure_SenderSigningKey) Reset()
- func (x *SenderKeyStateStructure_SenderSigningKey) String() string
- type ServerCertificate
- func (*ServerCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *ServerCertificate) GetCertificate() []byte
- func (x *ServerCertificate) GetSignature() []byte
- func (*ServerCertificate) ProtoMessage()
- func (x *ServerCertificate) ProtoReflect() protoreflect.Message
- func (x *ServerCertificate) Reset()
- func (x *ServerCertificate) String() string
- type ServerCertificate_Certificate
- func (*ServerCertificate_Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *ServerCertificate_Certificate) GetId() uint32
- func (x *ServerCertificate_Certificate) GetKey() []byte
- func (*ServerCertificate_Certificate) ProtoMessage()
- func (x *ServerCertificate_Certificate) ProtoReflect() protoreflect.Message
- func (x *ServerCertificate_Certificate) Reset()
- func (x *ServerCertificate_Certificate) String() string
- type SessionStructure
- func (*SessionStructure) Descriptor() ([]byte, []int)deprecated
- func (x *SessionStructure) GetAliceBaseKey() []byte
- func (x *SessionStructure) GetLocalIdentityPublic() []byte
- func (x *SessionStructure) GetLocalRegistrationId() uint32
- func (x *SessionStructure) GetPendingPreKey() *SessionStructure_PendingPreKey
- func (x *SessionStructure) GetPreviousCounter() uint32
- func (x *SessionStructure) GetReceiverChains() []*SessionStructure_Chain
- func (x *SessionStructure) GetRemoteIdentityPublic() []byte
- func (x *SessionStructure) GetRemoteRegistrationId() uint32
- func (x *SessionStructure) GetRootKey() []byte
- func (x *SessionStructure) GetSenderChain() *SessionStructure_Chain
- func (x *SessionStructure) GetSessionVersion() uint32
- func (*SessionStructure) ProtoMessage()
- func (x *SessionStructure) ProtoReflect() protoreflect.Message
- func (x *SessionStructure) Reset()
- func (x *SessionStructure) String() string
- type SessionStructure_Chain
- func (*SessionStructure_Chain) Descriptor() ([]byte, []int)deprecated
- func (x *SessionStructure_Chain) GetChainKey() *SessionStructure_Chain_ChainKey
- func (x *SessionStructure_Chain) GetMessageKeys() []*SessionStructure_Chain_MessageKey
- func (x *SessionStructure_Chain) GetSenderRatchetKey() []byte
- func (x *SessionStructure_Chain) GetSenderRatchetKeyPrivate() []byte
- func (*SessionStructure_Chain) ProtoMessage()
- func (x *SessionStructure_Chain) ProtoReflect() protoreflect.Message
- func (x *SessionStructure_Chain) Reset()
- func (x *SessionStructure_Chain) String() string
- type SessionStructure_Chain_ChainKey
- func (*SessionStructure_Chain_ChainKey) Descriptor() ([]byte, []int)deprecated
- func (x *SessionStructure_Chain_ChainKey) GetIndex() uint32
- func (x *SessionStructure_Chain_ChainKey) GetKey() []byte
- func (*SessionStructure_Chain_ChainKey) ProtoMessage()
- func (x *SessionStructure_Chain_ChainKey) ProtoReflect() protoreflect.Message
- func (x *SessionStructure_Chain_ChainKey) Reset()
- func (x *SessionStructure_Chain_ChainKey) String() string
- type SessionStructure_Chain_MessageKey
- func (*SessionStructure_Chain_MessageKey) Descriptor() ([]byte, []int)deprecated
- func (x *SessionStructure_Chain_MessageKey) GetCipherKey() []byte
- func (x *SessionStructure_Chain_MessageKey) GetIndex() uint32
- func (x *SessionStructure_Chain_MessageKey) GetIv() []byte
- func (x *SessionStructure_Chain_MessageKey) GetMacKey() []byte
- func (*SessionStructure_Chain_MessageKey) ProtoMessage()
- func (x *SessionStructure_Chain_MessageKey) ProtoReflect() protoreflect.Message
- func (x *SessionStructure_Chain_MessageKey) Reset()
- func (x *SessionStructure_Chain_MessageKey) String() string
- type SessionStructure_PendingPreKey
- func (*SessionStructure_PendingPreKey) Descriptor() ([]byte, []int)deprecated
- func (x *SessionStructure_PendingPreKey) GetBaseKey() []byte
- func (x *SessionStructure_PendingPreKey) GetPreKeyId() uint32
- func (x *SessionStructure_PendingPreKey) GetSignedPreKeyId() int32
- func (*SessionStructure_PendingPreKey) ProtoMessage()
- func (x *SessionStructure_PendingPreKey) ProtoReflect() protoreflect.Message
- func (x *SessionStructure_PendingPreKey) Reset()
- func (x *SessionStructure_PendingPreKey) String() string
- type SignalMessage
- func (*SignalMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SignalMessage) GetCiphertext() []byte
- func (x *SignalMessage) GetCounter() uint32
- func (x *SignalMessage) GetPreviousCounter() uint32
- func (x *SignalMessage) GetRatchetKey() []byte
- func (*SignalMessage) ProtoMessage()
- func (x *SignalMessage) ProtoReflect() protoreflect.Message
- func (x *SignalMessage) Reset()
- func (x *SignalMessage) String() string
- type SignedPreKeyRecordStructure
- func (*SignedPreKeyRecordStructure) Descriptor() ([]byte, []int)deprecated
- func (x *SignedPreKeyRecordStructure) GetId() uint32
- func (x *SignedPreKeyRecordStructure) GetPrivateKey() []byte
- func (x *SignedPreKeyRecordStructure) GetPublicKey() []byte
- func (x *SignedPreKeyRecordStructure) GetSignature() []byte
- func (x *SignedPreKeyRecordStructure) GetTimestamp() uint64
- func (*SignedPreKeyRecordStructure) ProtoMessage()
- func (x *SignedPreKeyRecordStructure) ProtoReflect() protoreflect.Message
- func (x *SignedPreKeyRecordStructure) Reset()
- func (x *SignedPreKeyRecordStructure) String() string
- type UnidentifiedSenderMessage
- func (*UnidentifiedSenderMessage) Descriptor() ([]byte, []int)deprecated
- func (x *UnidentifiedSenderMessage) GetEncryptedMessage() []byte
- func (x *UnidentifiedSenderMessage) GetEncryptedStatic() []byte
- func (x *UnidentifiedSenderMessage) GetEphemeralPublic() []byte
- func (*UnidentifiedSenderMessage) ProtoMessage()
- func (x *UnidentifiedSenderMessage) ProtoReflect() protoreflect.Message
- func (x *UnidentifiedSenderMessage) Reset()
- func (x *UnidentifiedSenderMessage) String() string
- type UnidentifiedSenderMessage_Message
- func (*UnidentifiedSenderMessage_Message) Descriptor() ([]byte, []int)deprecated
- func (x *UnidentifiedSenderMessage_Message) GetContent() []byte
- func (x *UnidentifiedSenderMessage_Message) GetContentHint() UnidentifiedSenderMessage_Message_ContentHint
- func (x *UnidentifiedSenderMessage_Message) GetGroupId() []byte
- func (x *UnidentifiedSenderMessage_Message) GetSenderCertificate() []byte
- func (x *UnidentifiedSenderMessage_Message) GetType() UnidentifiedSenderMessage_Message_Type
- func (*UnidentifiedSenderMessage_Message) ProtoMessage()
- func (x *UnidentifiedSenderMessage_Message) ProtoReflect() protoreflect.Message
- func (x *UnidentifiedSenderMessage_Message) Reset()
- func (x *UnidentifiedSenderMessage_Message) String() string
- type UnidentifiedSenderMessage_Message_ContentHint
- func (UnidentifiedSenderMessage_Message_ContentHint) Descriptor() protoreflect.EnumDescriptor
- func (x UnidentifiedSenderMessage_Message_ContentHint) Enum() *UnidentifiedSenderMessage_Message_ContentHint
- func (UnidentifiedSenderMessage_Message_ContentHint) EnumDescriptor() ([]byte, []int)deprecated
- func (x UnidentifiedSenderMessage_Message_ContentHint) Number() protoreflect.EnumNumber
- func (x UnidentifiedSenderMessage_Message_ContentHint) String() string
- func (UnidentifiedSenderMessage_Message_ContentHint) Type() protoreflect.EnumType
- func (x *UnidentifiedSenderMessage_Message_ContentHint) UnmarshalJSON(b []byte) errordeprecated
- type UnidentifiedSenderMessage_Message_Type
- func (UnidentifiedSenderMessage_Message_Type) Descriptor() protoreflect.EnumDescriptor
- func (x UnidentifiedSenderMessage_Message_Type) Enum() *UnidentifiedSenderMessage_Message_Type
- func (UnidentifiedSenderMessage_Message_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x UnidentifiedSenderMessage_Message_Type) Number() protoreflect.EnumNumber
- func (x UnidentifiedSenderMessage_Message_Type) String() string
- func (UnidentifiedSenderMessage_Message_Type) Type() protoreflect.EnumType
- func (x *UnidentifiedSenderMessage_Message_Type) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
var ( UnidentifiedSenderMessage_Message_Type_name = map[int32]string{ 1: "PREKEY_MESSAGE", 2: "MESSAGE", 7: "SENDERKEY_MESSAGE", 8: "PLAINTEXT_CONTENT", } UnidentifiedSenderMessage_Message_Type_value = map[string]int32{ "PREKEY_MESSAGE": 1, "MESSAGE": 2, "SENDERKEY_MESSAGE": 7, "PLAINTEXT_CONTENT": 8, } )
Enum value maps for UnidentifiedSenderMessage_Message_Type.
var ( UnidentifiedSenderMessage_Message_ContentHint_name = map[int32]string{ 1: "RESENDABLE", 2: "IMPLICIT", } UnidentifiedSenderMessage_Message_ContentHint_value = map[string]int32{ "RESENDABLE": 1, "IMPLICIT": 2, } )
Enum value maps for UnidentifiedSenderMessage_Message_ContentHint.
var File_fingerprint_proto protoreflect.FileDescriptor
var File_sealed_sender_proto protoreflect.FileDescriptor
var File_storage_proto protoreflect.FileDescriptor
var File_wire_proto protoreflect.FileDescriptor
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=local_fingerprint,json=localFingerprint" json:"local_fingerprint,omitempty"` RemoteFingerprint *LogicalFingerprint `protobuf:"bytes,3,opt,name=remote_fingerprint,json=remoteFingerprint" json:"remote_fingerprint,omitempty"` // contains filtered or unexported fields }
func (*CombinedFingerprints) Descriptor
deprecated
func (*CombinedFingerprints) Descriptor() ([]byte, []int)
Deprecated: Use CombinedFingerprints.ProtoReflect.Descriptor instead.
func (*CombinedFingerprints) GetLocalFingerprint ¶
func (x *CombinedFingerprints) GetLocalFingerprint() *LogicalFingerprint
func (*CombinedFingerprints) GetRemoteFingerprint ¶
func (x *CombinedFingerprints) GetRemoteFingerprint() *LogicalFingerprint
func (*CombinedFingerprints) GetVersion ¶
func (x *CombinedFingerprints) GetVersion() uint32
func (*CombinedFingerprints) ProtoMessage ¶
func (*CombinedFingerprints) ProtoMessage()
func (*CombinedFingerprints) ProtoReflect ¶
func (x *CombinedFingerprints) ProtoReflect() protoreflect.Message
func (*CombinedFingerprints) Reset ¶
func (x *CombinedFingerprints) Reset()
func (*CombinedFingerprints) String ¶
func (x *CombinedFingerprints) String() string
type IdentityKeyPairStructure ¶
type IdentityKeyPairStructure struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey []byte `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // contains filtered or unexported fields }
func (*IdentityKeyPairStructure) Descriptor
deprecated
func (*IdentityKeyPairStructure) Descriptor() ([]byte, []int)
Deprecated: Use IdentityKeyPairStructure.ProtoReflect.Descriptor instead.
func (*IdentityKeyPairStructure) GetPrivateKey ¶
func (x *IdentityKeyPairStructure) GetPrivateKey() []byte
func (*IdentityKeyPairStructure) GetPublicKey ¶
func (x *IdentityKeyPairStructure) GetPublicKey() []byte
func (*IdentityKeyPairStructure) ProtoMessage ¶
func (*IdentityKeyPairStructure) ProtoMessage()
func (*IdentityKeyPairStructure) ProtoReflect ¶
func (x *IdentityKeyPairStructure) ProtoReflect() protoreflect.Message
func (*IdentityKeyPairStructure) Reset ¶
func (x *IdentityKeyPairStructure) Reset()
func (*IdentityKeyPairStructure) String ¶
func (x *IdentityKeyPairStructure) String() string
type LogicalFingerprint ¶
type LogicalFingerprint struct { Content []byte `protobuf:"bytes,1,opt,name=content" json:"content,omitempty"` // bytes identifier = 2; // contains filtered or unexported fields }
func (*LogicalFingerprint) Descriptor
deprecated
func (*LogicalFingerprint) Descriptor() ([]byte, []int)
Deprecated: Use LogicalFingerprint.ProtoReflect.Descriptor instead.
func (*LogicalFingerprint) GetContent ¶
func (x *LogicalFingerprint) GetContent() []byte
func (*LogicalFingerprint) ProtoMessage ¶
func (*LogicalFingerprint) ProtoMessage()
func (*LogicalFingerprint) ProtoReflect ¶
func (x *LogicalFingerprint) ProtoReflect() protoreflect.Message
func (*LogicalFingerprint) Reset ¶
func (x *LogicalFingerprint) Reset()
func (*LogicalFingerprint) String ¶
func (x *LogicalFingerprint) String() string
type PreKeyRecordStructure ¶
type PreKeyRecordStructure struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // contains filtered or unexported fields }
func (*PreKeyRecordStructure) Descriptor
deprecated
func (*PreKeyRecordStructure) Descriptor() ([]byte, []int)
Deprecated: Use PreKeyRecordStructure.ProtoReflect.Descriptor instead.
func (*PreKeyRecordStructure) GetId ¶
func (x *PreKeyRecordStructure) GetId() uint32
func (*PreKeyRecordStructure) GetPrivateKey ¶
func (x *PreKeyRecordStructure) GetPrivateKey() []byte
func (*PreKeyRecordStructure) GetPublicKey ¶
func (x *PreKeyRecordStructure) GetPublicKey() []byte
func (*PreKeyRecordStructure) ProtoMessage ¶
func (*PreKeyRecordStructure) ProtoMessage()
func (*PreKeyRecordStructure) ProtoReflect ¶
func (x *PreKeyRecordStructure) ProtoReflect() protoreflect.Message
func (*PreKeyRecordStructure) Reset ¶
func (x *PreKeyRecordStructure) Reset()
func (*PreKeyRecordStructure) String ¶
func (x *PreKeyRecordStructure) String() string
type PreKeySignalMessage ¶
type PreKeySignalMessage struct { RegistrationId *uint32 `protobuf:"varint,5,opt,name=registration_id,json=registrationId" json:"registration_id,omitempty"` PreKeyId *uint32 `protobuf:"varint,1,opt,name=pre_key_id,json=preKeyId" json:"pre_key_id,omitempty"` SignedPreKeyId *uint32 `protobuf:"varint,6,opt,name=signed_pre_key_id,json=signedPreKeyId" json:"signed_pre_key_id,omitempty"` BaseKey []byte `protobuf:"bytes,2,opt,name=base_key,json=baseKey" json:"base_key,omitempty"` IdentityKey []byte `protobuf:"bytes,3,opt,name=identity_key,json=identityKey" json:"identity_key,omitempty"` Message []byte `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"` // SignalMessage // contains filtered or unexported fields }
func (*PreKeySignalMessage) Descriptor
deprecated
func (*PreKeySignalMessage) Descriptor() ([]byte, []int)
Deprecated: Use PreKeySignalMessage.ProtoReflect.Descriptor instead.
func (*PreKeySignalMessage) GetBaseKey ¶
func (x *PreKeySignalMessage) GetBaseKey() []byte
func (*PreKeySignalMessage) GetIdentityKey ¶
func (x *PreKeySignalMessage) GetIdentityKey() []byte
func (*PreKeySignalMessage) GetMessage ¶
func (x *PreKeySignalMessage) GetMessage() []byte
func (*PreKeySignalMessage) GetPreKeyId ¶
func (x *PreKeySignalMessage) GetPreKeyId() uint32
func (*PreKeySignalMessage) GetRegistrationId ¶
func (x *PreKeySignalMessage) GetRegistrationId() uint32
func (*PreKeySignalMessage) GetSignedPreKeyId ¶
func (x *PreKeySignalMessage) GetSignedPreKeyId() uint32
func (*PreKeySignalMessage) ProtoMessage ¶
func (*PreKeySignalMessage) ProtoMessage()
func (*PreKeySignalMessage) ProtoReflect ¶
func (x *PreKeySignalMessage) ProtoReflect() protoreflect.Message
func (*PreKeySignalMessage) Reset ¶
func (x *PreKeySignalMessage) Reset()
func (*PreKeySignalMessage) String ¶
func (x *PreKeySignalMessage) String() string
type RecordStructure ¶
type RecordStructure struct { CurrentSession *SessionStructure `protobuf:"bytes,1,opt,name=current_session,json=currentSession,proto3" json:"current_session,omitempty"` // The order is significant; sessions at the end are "older" and will get trimmed. PreviousSessions [][]byte `protobuf:"bytes,2,rep,name=previous_sessions,json=previousSessions,proto3" json:"previous_sessions,omitempty"` // contains filtered or unexported fields }
func (*RecordStructure) Descriptor
deprecated
func (*RecordStructure) Descriptor() ([]byte, []int)
Deprecated: Use RecordStructure.ProtoReflect.Descriptor instead.
func (*RecordStructure) GetCurrentSession ¶
func (x *RecordStructure) GetCurrentSession() *SessionStructure
func (*RecordStructure) GetPreviousSessions ¶
func (x *RecordStructure) GetPreviousSessions() [][]byte
func (*RecordStructure) ProtoMessage ¶
func (*RecordStructure) ProtoMessage()
func (*RecordStructure) ProtoReflect ¶
func (x *RecordStructure) ProtoReflect() protoreflect.Message
func (*RecordStructure) Reset ¶
func (x *RecordStructure) Reset()
func (*RecordStructure) String ¶
func (x *RecordStructure) String() string
type SenderCertificate ¶
type SenderCertificate struct { Certificate []byte `protobuf:"bytes,1,opt,name=certificate" json:"certificate,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SenderCertificate) Descriptor
deprecated
func (*SenderCertificate) Descriptor() ([]byte, []int)
Deprecated: Use SenderCertificate.ProtoReflect.Descriptor instead.
func (*SenderCertificate) GetCertificate ¶
func (x *SenderCertificate) GetCertificate() []byte
func (*SenderCertificate) GetSignature ¶
func (x *SenderCertificate) GetSignature() []byte
func (*SenderCertificate) ProtoMessage ¶
func (*SenderCertificate) ProtoMessage()
func (*SenderCertificate) ProtoReflect ¶
func (x *SenderCertificate) ProtoReflect() protoreflect.Message
func (*SenderCertificate) Reset ¶
func (x *SenderCertificate) Reset()
func (*SenderCertificate) String ¶
func (x *SenderCertificate) String() string
type SenderCertificate_Certificate ¶
type SenderCertificate_Certificate struct { SenderE164 *string `protobuf:"bytes,1,opt,name=senderE164" json:"senderE164,omitempty"` SenderUuid *string `protobuf:"bytes,6,opt,name=senderUuid" json:"senderUuid,omitempty"` SenderDevice *uint32 `protobuf:"varint,2,opt,name=senderDevice" json:"senderDevice,omitempty"` Expires *uint64 `protobuf:"fixed64,3,opt,name=expires" json:"expires,omitempty"` IdentityKey []byte `protobuf:"bytes,4,opt,name=identityKey" json:"identityKey,omitempty"` Signer *ServerCertificate `protobuf:"bytes,5,opt,name=signer" json:"signer,omitempty"` // contains filtered or unexported fields }
func (*SenderCertificate_Certificate) Descriptor
deprecated
func (*SenderCertificate_Certificate) Descriptor() ([]byte, []int)
Deprecated: Use SenderCertificate_Certificate.ProtoReflect.Descriptor instead.
func (*SenderCertificate_Certificate) GetExpires ¶
func (x *SenderCertificate_Certificate) GetExpires() uint64
func (*SenderCertificate_Certificate) GetIdentityKey ¶
func (x *SenderCertificate_Certificate) GetIdentityKey() []byte
func (*SenderCertificate_Certificate) GetSenderDevice ¶
func (x *SenderCertificate_Certificate) GetSenderDevice() uint32
func (*SenderCertificate_Certificate) GetSenderE164 ¶
func (x *SenderCertificate_Certificate) GetSenderE164() string
func (*SenderCertificate_Certificate) GetSenderUuid ¶
func (x *SenderCertificate_Certificate) GetSenderUuid() string
func (*SenderCertificate_Certificate) GetSigner ¶
func (x *SenderCertificate_Certificate) GetSigner() *ServerCertificate
func (*SenderCertificate_Certificate) ProtoMessage ¶
func (*SenderCertificate_Certificate) ProtoMessage()
func (*SenderCertificate_Certificate) ProtoReflect ¶
func (x *SenderCertificate_Certificate) ProtoReflect() protoreflect.Message
func (*SenderCertificate_Certificate) Reset ¶
func (x *SenderCertificate_Certificate) Reset()
func (*SenderCertificate_Certificate) String ¶
func (x *SenderCertificate_Certificate) String() string
type SenderKeyDistributionMessage ¶
type SenderKeyDistributionMessage struct { DistributionUuid []byte `protobuf:"bytes,1,opt,name=distribution_uuid,json=distributionUuid" json:"distribution_uuid,omitempty"` ChainId *uint32 `protobuf:"varint,2,opt,name=chain_id,json=chainId" json:"chain_id,omitempty"` Iteration *uint32 `protobuf:"varint,3,opt,name=iteration" json:"iteration,omitempty"` ChainKey []byte `protobuf:"bytes,4,opt,name=chain_key,json=chainKey" json:"chain_key,omitempty"` SigningKey []byte `protobuf:"bytes,5,opt,name=signing_key,json=signingKey" json:"signing_key,omitempty"` // contains filtered or unexported fields }
func (*SenderKeyDistributionMessage) Descriptor
deprecated
func (*SenderKeyDistributionMessage) Descriptor() ([]byte, []int)
Deprecated: Use SenderKeyDistributionMessage.ProtoReflect.Descriptor instead.
func (*SenderKeyDistributionMessage) GetChainId ¶
func (x *SenderKeyDistributionMessage) GetChainId() uint32
func (*SenderKeyDistributionMessage) GetChainKey ¶
func (x *SenderKeyDistributionMessage) GetChainKey() []byte
func (*SenderKeyDistributionMessage) GetDistributionUuid ¶
func (x *SenderKeyDistributionMessage) GetDistributionUuid() []byte
func (*SenderKeyDistributionMessage) GetIteration ¶
func (x *SenderKeyDistributionMessage) GetIteration() uint32
func (*SenderKeyDistributionMessage) GetSigningKey ¶
func (x *SenderKeyDistributionMessage) GetSigningKey() []byte
func (*SenderKeyDistributionMessage) ProtoMessage ¶
func (*SenderKeyDistributionMessage) ProtoMessage()
func (*SenderKeyDistributionMessage) ProtoReflect ¶
func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message
func (*SenderKeyDistributionMessage) Reset ¶
func (x *SenderKeyDistributionMessage) Reset()
func (*SenderKeyDistributionMessage) String ¶
func (x *SenderKeyDistributionMessage) String() string
type SenderKeyMessage ¶
type SenderKeyMessage struct { DistributionUuid []byte `protobuf:"bytes,1,opt,name=distribution_uuid,json=distributionUuid" json:"distribution_uuid,omitempty"` ChainId *uint32 `protobuf:"varint,2,opt,name=chain_id,json=chainId" json:"chain_id,omitempty"` Iteration *uint32 `protobuf:"varint,3,opt,name=iteration" json:"iteration,omitempty"` Ciphertext []byte `protobuf:"bytes,4,opt,name=ciphertext" json:"ciphertext,omitempty"` // contains filtered or unexported fields }
func (*SenderKeyMessage) Descriptor
deprecated
func (*SenderKeyMessage) Descriptor() ([]byte, []int)
Deprecated: Use SenderKeyMessage.ProtoReflect.Descriptor instead.
func (*SenderKeyMessage) GetChainId ¶
func (x *SenderKeyMessage) GetChainId() uint32
func (*SenderKeyMessage) GetCiphertext ¶
func (x *SenderKeyMessage) GetCiphertext() []byte
func (*SenderKeyMessage) GetDistributionUuid ¶
func (x *SenderKeyMessage) GetDistributionUuid() []byte
func (*SenderKeyMessage) GetIteration ¶
func (x *SenderKeyMessage) GetIteration() uint32
func (*SenderKeyMessage) ProtoMessage ¶
func (*SenderKeyMessage) ProtoMessage()
func (*SenderKeyMessage) ProtoReflect ¶
func (x *SenderKeyMessage) ProtoReflect() protoreflect.Message
func (*SenderKeyMessage) Reset ¶
func (x *SenderKeyMessage) Reset()
func (*SenderKeyMessage) String ¶
func (x *SenderKeyMessage) String() string
type SenderKeyRecordStructure ¶
type SenderKeyRecordStructure struct { SenderKeyStates []*SenderKeyStateStructure `protobuf:"bytes,1,rep,name=sender_key_states,json=senderKeyStates,proto3" json:"sender_key_states,omitempty"` // contains filtered or unexported fields }
func (*SenderKeyRecordStructure) Descriptor
deprecated
func (*SenderKeyRecordStructure) Descriptor() ([]byte, []int)
Deprecated: Use SenderKeyRecordStructure.ProtoReflect.Descriptor instead.
func (*SenderKeyRecordStructure) GetSenderKeyStates ¶
func (x *SenderKeyRecordStructure) GetSenderKeyStates() []*SenderKeyStateStructure
func (*SenderKeyRecordStructure) ProtoMessage ¶
func (*SenderKeyRecordStructure) ProtoMessage()
func (*SenderKeyRecordStructure) ProtoReflect ¶
func (x *SenderKeyRecordStructure) ProtoReflect() protoreflect.Message
func (*SenderKeyRecordStructure) Reset ¶
func (x *SenderKeyRecordStructure) Reset()
func (*SenderKeyRecordStructure) String ¶
func (x *SenderKeyRecordStructure) String() string
type SenderKeyStateStructure ¶
type SenderKeyStateStructure struct { MessageVersion uint32 `protobuf:"varint,5,opt,name=message_version,json=messageVersion,proto3" json:"message_version,omitempty"` ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` SenderChainKey *SenderKeyStateStructure_SenderChainKey `protobuf:"bytes,2,opt,name=sender_chain_key,json=senderChainKey,proto3" json:"sender_chain_key,omitempty"` SenderSigningKey *SenderKeyStateStructure_SenderSigningKey `protobuf:"bytes,3,opt,name=sender_signing_key,json=senderSigningKey,proto3" json:"sender_signing_key,omitempty"` SenderMessageKeys []*SenderKeyStateStructure_SenderMessageKey `protobuf:"bytes,4,rep,name=sender_message_keys,json=senderMessageKeys,proto3" json:"sender_message_keys,omitempty"` // contains filtered or unexported fields }
func (*SenderKeyStateStructure) Descriptor
deprecated
func (*SenderKeyStateStructure) Descriptor() ([]byte, []int)
Deprecated: Use SenderKeyStateStructure.ProtoReflect.Descriptor instead.
func (*SenderKeyStateStructure) GetChainId ¶
func (x *SenderKeyStateStructure) GetChainId() uint32
func (*SenderKeyStateStructure) GetMessageVersion ¶
func (x *SenderKeyStateStructure) GetMessageVersion() uint32
func (*SenderKeyStateStructure) GetSenderChainKey ¶
func (x *SenderKeyStateStructure) GetSenderChainKey() *SenderKeyStateStructure_SenderChainKey
func (*SenderKeyStateStructure) GetSenderMessageKeys ¶
func (x *SenderKeyStateStructure) GetSenderMessageKeys() []*SenderKeyStateStructure_SenderMessageKey
func (*SenderKeyStateStructure) GetSenderSigningKey ¶
func (x *SenderKeyStateStructure) GetSenderSigningKey() *SenderKeyStateStructure_SenderSigningKey
func (*SenderKeyStateStructure) ProtoMessage ¶
func (*SenderKeyStateStructure) ProtoMessage()
func (*SenderKeyStateStructure) ProtoReflect ¶
func (x *SenderKeyStateStructure) ProtoReflect() protoreflect.Message
func (*SenderKeyStateStructure) Reset ¶
func (x *SenderKeyStateStructure) Reset()
func (*SenderKeyStateStructure) String ¶
func (x *SenderKeyStateStructure) String() string
type SenderKeyStateStructure_SenderChainKey ¶
type SenderKeyStateStructure_SenderChainKey struct { Iteration uint32 `protobuf:"varint,1,opt,name=iteration,proto3" json:"iteration,omitempty"` Seed []byte `protobuf:"bytes,2,opt,name=seed,proto3" json:"seed,omitempty"` // contains filtered or unexported fields }
func (*SenderKeyStateStructure_SenderChainKey) Descriptor
deprecated
func (*SenderKeyStateStructure_SenderChainKey) Descriptor() ([]byte, []int)
Deprecated: Use SenderKeyStateStructure_SenderChainKey.ProtoReflect.Descriptor instead.
func (*SenderKeyStateStructure_SenderChainKey) GetIteration ¶
func (x *SenderKeyStateStructure_SenderChainKey) GetIteration() uint32
func (*SenderKeyStateStructure_SenderChainKey) GetSeed ¶
func (x *SenderKeyStateStructure_SenderChainKey) GetSeed() []byte
func (*SenderKeyStateStructure_SenderChainKey) ProtoMessage ¶
func (*SenderKeyStateStructure_SenderChainKey) ProtoMessage()
func (*SenderKeyStateStructure_SenderChainKey) ProtoReflect ¶
func (x *SenderKeyStateStructure_SenderChainKey) ProtoReflect() protoreflect.Message
func (*SenderKeyStateStructure_SenderChainKey) Reset ¶
func (x *SenderKeyStateStructure_SenderChainKey) Reset()
func (*SenderKeyStateStructure_SenderChainKey) String ¶
func (x *SenderKeyStateStructure_SenderChainKey) String() string
type SenderKeyStateStructure_SenderMessageKey ¶
type SenderKeyStateStructure_SenderMessageKey struct { Iteration uint32 `protobuf:"varint,1,opt,name=iteration,proto3" json:"iteration,omitempty"` Seed []byte `protobuf:"bytes,2,opt,name=seed,proto3" json:"seed,omitempty"` // contains filtered or unexported fields }
func (*SenderKeyStateStructure_SenderMessageKey) Descriptor
deprecated
func (*SenderKeyStateStructure_SenderMessageKey) Descriptor() ([]byte, []int)
Deprecated: Use SenderKeyStateStructure_SenderMessageKey.ProtoReflect.Descriptor instead.
func (*SenderKeyStateStructure_SenderMessageKey) GetIteration ¶
func (x *SenderKeyStateStructure_SenderMessageKey) GetIteration() uint32
func (*SenderKeyStateStructure_SenderMessageKey) GetSeed ¶
func (x *SenderKeyStateStructure_SenderMessageKey) GetSeed() []byte
func (*SenderKeyStateStructure_SenderMessageKey) ProtoMessage ¶
func (*SenderKeyStateStructure_SenderMessageKey) ProtoMessage()
func (*SenderKeyStateStructure_SenderMessageKey) ProtoReflect ¶
func (x *SenderKeyStateStructure_SenderMessageKey) ProtoReflect() protoreflect.Message
func (*SenderKeyStateStructure_SenderMessageKey) Reset ¶
func (x *SenderKeyStateStructure_SenderMessageKey) Reset()
func (*SenderKeyStateStructure_SenderMessageKey) String ¶
func (x *SenderKeyStateStructure_SenderMessageKey) String() string
type SenderKeyStateStructure_SenderSigningKey ¶
type SenderKeyStateStructure_SenderSigningKey struct { Public []byte `protobuf:"bytes,1,opt,name=public,proto3" json:"public,omitempty"` Private []byte `protobuf:"bytes,2,opt,name=private,proto3" json:"private,omitempty"` // contains filtered or unexported fields }
func (*SenderKeyStateStructure_SenderSigningKey) Descriptor
deprecated
func (*SenderKeyStateStructure_SenderSigningKey) Descriptor() ([]byte, []int)
Deprecated: Use SenderKeyStateStructure_SenderSigningKey.ProtoReflect.Descriptor instead.
func (*SenderKeyStateStructure_SenderSigningKey) GetPrivate ¶
func (x *SenderKeyStateStructure_SenderSigningKey) GetPrivate() []byte
func (*SenderKeyStateStructure_SenderSigningKey) GetPublic ¶
func (x *SenderKeyStateStructure_SenderSigningKey) GetPublic() []byte
func (*SenderKeyStateStructure_SenderSigningKey) ProtoMessage ¶
func (*SenderKeyStateStructure_SenderSigningKey) ProtoMessage()
func (*SenderKeyStateStructure_SenderSigningKey) ProtoReflect ¶
func (x *SenderKeyStateStructure_SenderSigningKey) ProtoReflect() protoreflect.Message
func (*SenderKeyStateStructure_SenderSigningKey) Reset ¶
func (x *SenderKeyStateStructure_SenderSigningKey) Reset()
func (*SenderKeyStateStructure_SenderSigningKey) String ¶
func (x *SenderKeyStateStructure_SenderSigningKey) String() string
type ServerCertificate ¶
type ServerCertificate struct { Certificate []byte `protobuf:"bytes,1,opt,name=certificate" json:"certificate,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*ServerCertificate) Descriptor
deprecated
func (*ServerCertificate) Descriptor() ([]byte, []int)
Deprecated: Use ServerCertificate.ProtoReflect.Descriptor instead.
func (*ServerCertificate) GetCertificate ¶
func (x *ServerCertificate) GetCertificate() []byte
func (*ServerCertificate) GetSignature ¶
func (x *ServerCertificate) GetSignature() []byte
func (*ServerCertificate) ProtoMessage ¶
func (*ServerCertificate) ProtoMessage()
func (*ServerCertificate) ProtoReflect ¶
func (x *ServerCertificate) ProtoReflect() protoreflect.Message
func (*ServerCertificate) Reset ¶
func (x *ServerCertificate) Reset()
func (*ServerCertificate) String ¶
func (x *ServerCertificate) String() string
type ServerCertificate_Certificate ¶
type ServerCertificate_Certificate struct { Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ServerCertificate_Certificate) Descriptor
deprecated
func (*ServerCertificate_Certificate) Descriptor() ([]byte, []int)
Deprecated: Use ServerCertificate_Certificate.ProtoReflect.Descriptor instead.
func (*ServerCertificate_Certificate) GetId ¶
func (x *ServerCertificate_Certificate) GetId() uint32
func (*ServerCertificate_Certificate) GetKey ¶
func (x *ServerCertificate_Certificate) GetKey() []byte
func (*ServerCertificate_Certificate) ProtoMessage ¶
func (*ServerCertificate_Certificate) ProtoMessage()
func (*ServerCertificate_Certificate) ProtoReflect ¶
func (x *ServerCertificate_Certificate) ProtoReflect() protoreflect.Message
func (*ServerCertificate_Certificate) Reset ¶
func (x *ServerCertificate_Certificate) Reset()
func (*ServerCertificate_Certificate) String ¶
func (x *ServerCertificate_Certificate) String() string
type SessionStructure ¶
type SessionStructure struct { SessionVersion uint32 `protobuf:"varint,1,opt,name=session_version,json=sessionVersion,proto3" json:"session_version,omitempty"` LocalIdentityPublic []byte `protobuf:"bytes,2,opt,name=local_identity_public,json=localIdentityPublic,proto3" json:"local_identity_public,omitempty"` RemoteIdentityPublic []byte `protobuf:"bytes,3,opt,name=remote_identity_public,json=remoteIdentityPublic,proto3" json:"remote_identity_public,omitempty"` RootKey []byte `protobuf:"bytes,4,opt,name=root_key,json=rootKey,proto3" json:"root_key,omitempty"` PreviousCounter uint32 `protobuf:"varint,5,opt,name=previous_counter,json=previousCounter,proto3" json:"previous_counter,omitempty"` SenderChain *SessionStructure_Chain `protobuf:"bytes,6,opt,name=sender_chain,json=senderChain,proto3" json:"sender_chain,omitempty"` // The order is significant; keys at the end are "older" and will get trimmed. ReceiverChains []*SessionStructure_Chain `protobuf:"bytes,7,rep,name=receiver_chains,json=receiverChains,proto3" json:"receiver_chains,omitempty"` PendingPreKey *SessionStructure_PendingPreKey `protobuf:"bytes,9,opt,name=pending_pre_key,json=pendingPreKey,proto3" json:"pending_pre_key,omitempty"` RemoteRegistrationId uint32 `protobuf:"varint,10,opt,name=remote_registration_id,json=remoteRegistrationId,proto3" json:"remote_registration_id,omitempty"` LocalRegistrationId uint32 `protobuf:"varint,11,opt,name=local_registration_id,json=localRegistrationId,proto3" json:"local_registration_id,omitempty"` AliceBaseKey []byte `protobuf:"bytes,13,opt,name=alice_base_key,json=aliceBaseKey,proto3" json:"alice_base_key,omitempty"` // contains filtered or unexported fields }
func (*SessionStructure) Descriptor
deprecated
func (*SessionStructure) Descriptor() ([]byte, []int)
Deprecated: Use SessionStructure.ProtoReflect.Descriptor instead.
func (*SessionStructure) GetAliceBaseKey ¶
func (x *SessionStructure) GetAliceBaseKey() []byte
func (*SessionStructure) GetLocalIdentityPublic ¶
func (x *SessionStructure) GetLocalIdentityPublic() []byte
func (*SessionStructure) GetLocalRegistrationId ¶
func (x *SessionStructure) GetLocalRegistrationId() uint32
func (*SessionStructure) GetPendingPreKey ¶
func (x *SessionStructure) GetPendingPreKey() *SessionStructure_PendingPreKey
func (*SessionStructure) GetPreviousCounter ¶
func (x *SessionStructure) GetPreviousCounter() uint32
func (*SessionStructure) GetReceiverChains ¶
func (x *SessionStructure) GetReceiverChains() []*SessionStructure_Chain
func (*SessionStructure) GetRemoteIdentityPublic ¶
func (x *SessionStructure) GetRemoteIdentityPublic() []byte
func (*SessionStructure) GetRemoteRegistrationId ¶
func (x *SessionStructure) GetRemoteRegistrationId() uint32
func (*SessionStructure) GetRootKey ¶
func (x *SessionStructure) GetRootKey() []byte
func (*SessionStructure) GetSenderChain ¶
func (x *SessionStructure) GetSenderChain() *SessionStructure_Chain
func (*SessionStructure) GetSessionVersion ¶
func (x *SessionStructure) GetSessionVersion() uint32
func (*SessionStructure) ProtoMessage ¶
func (*SessionStructure) ProtoMessage()
func (*SessionStructure) ProtoReflect ¶
func (x *SessionStructure) ProtoReflect() protoreflect.Message
func (*SessionStructure) Reset ¶
func (x *SessionStructure) Reset()
func (*SessionStructure) String ¶
func (x *SessionStructure) String() string
type SessionStructure_Chain ¶
type SessionStructure_Chain struct { SenderRatchetKey []byte `protobuf:"bytes,1,opt,name=sender_ratchet_key,json=senderRatchetKey,proto3" json:"sender_ratchet_key,omitempty"` SenderRatchetKeyPrivate []byte `` /* 134-byte string literal not displayed */ ChainKey *SessionStructure_Chain_ChainKey `protobuf:"bytes,3,opt,name=chain_key,json=chainKey,proto3" json:"chain_key,omitempty"` MessageKeys []*SessionStructure_Chain_MessageKey `protobuf:"bytes,4,rep,name=message_keys,json=messageKeys,proto3" json:"message_keys,omitempty"` // contains filtered or unexported fields }
func (*SessionStructure_Chain) Descriptor
deprecated
func (*SessionStructure_Chain) Descriptor() ([]byte, []int)
Deprecated: Use SessionStructure_Chain.ProtoReflect.Descriptor instead.
func (*SessionStructure_Chain) GetChainKey ¶
func (x *SessionStructure_Chain) GetChainKey() *SessionStructure_Chain_ChainKey
func (*SessionStructure_Chain) GetMessageKeys ¶
func (x *SessionStructure_Chain) GetMessageKeys() []*SessionStructure_Chain_MessageKey
func (*SessionStructure_Chain) GetSenderRatchetKey ¶
func (x *SessionStructure_Chain) GetSenderRatchetKey() []byte
func (*SessionStructure_Chain) GetSenderRatchetKeyPrivate ¶
func (x *SessionStructure_Chain) GetSenderRatchetKeyPrivate() []byte
func (*SessionStructure_Chain) ProtoMessage ¶
func (*SessionStructure_Chain) ProtoMessage()
func (*SessionStructure_Chain) ProtoReflect ¶
func (x *SessionStructure_Chain) ProtoReflect() protoreflect.Message
func (*SessionStructure_Chain) Reset ¶
func (x *SessionStructure_Chain) Reset()
func (*SessionStructure_Chain) String ¶
func (x *SessionStructure_Chain) String() string
type SessionStructure_Chain_ChainKey ¶
type SessionStructure_Chain_ChainKey struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*SessionStructure_Chain_ChainKey) Descriptor
deprecated
func (*SessionStructure_Chain_ChainKey) Descriptor() ([]byte, []int)
Deprecated: Use SessionStructure_Chain_ChainKey.ProtoReflect.Descriptor instead.
func (*SessionStructure_Chain_ChainKey) GetIndex ¶
func (x *SessionStructure_Chain_ChainKey) GetIndex() uint32
func (*SessionStructure_Chain_ChainKey) GetKey ¶
func (x *SessionStructure_Chain_ChainKey) GetKey() []byte
func (*SessionStructure_Chain_ChainKey) ProtoMessage ¶
func (*SessionStructure_Chain_ChainKey) ProtoMessage()
func (*SessionStructure_Chain_ChainKey) ProtoReflect ¶
func (x *SessionStructure_Chain_ChainKey) ProtoReflect() protoreflect.Message
func (*SessionStructure_Chain_ChainKey) Reset ¶
func (x *SessionStructure_Chain_ChainKey) Reset()
func (*SessionStructure_Chain_ChainKey) String ¶
func (x *SessionStructure_Chain_ChainKey) String() string
type SessionStructure_Chain_MessageKey ¶
type SessionStructure_Chain_MessageKey struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` CipherKey []byte `protobuf:"bytes,2,opt,name=cipher_key,json=cipherKey,proto3" json:"cipher_key,omitempty"` MacKey []byte `protobuf:"bytes,3,opt,name=mac_key,json=macKey,proto3" json:"mac_key,omitempty"` Iv []byte `protobuf:"bytes,4,opt,name=iv,proto3" json:"iv,omitempty"` // contains filtered or unexported fields }
func (*SessionStructure_Chain_MessageKey) Descriptor
deprecated
func (*SessionStructure_Chain_MessageKey) Descriptor() ([]byte, []int)
Deprecated: Use SessionStructure_Chain_MessageKey.ProtoReflect.Descriptor instead.
func (*SessionStructure_Chain_MessageKey) GetCipherKey ¶
func (x *SessionStructure_Chain_MessageKey) GetCipherKey() []byte
func (*SessionStructure_Chain_MessageKey) GetIndex ¶
func (x *SessionStructure_Chain_MessageKey) GetIndex() uint32
func (*SessionStructure_Chain_MessageKey) GetIv ¶
func (x *SessionStructure_Chain_MessageKey) GetIv() []byte
func (*SessionStructure_Chain_MessageKey) GetMacKey ¶
func (x *SessionStructure_Chain_MessageKey) GetMacKey() []byte
func (*SessionStructure_Chain_MessageKey) ProtoMessage ¶
func (*SessionStructure_Chain_MessageKey) ProtoMessage()
func (*SessionStructure_Chain_MessageKey) ProtoReflect ¶
func (x *SessionStructure_Chain_MessageKey) ProtoReflect() protoreflect.Message
func (*SessionStructure_Chain_MessageKey) Reset ¶
func (x *SessionStructure_Chain_MessageKey) Reset()
func (*SessionStructure_Chain_MessageKey) String ¶
func (x *SessionStructure_Chain_MessageKey) String() string
type SessionStructure_PendingPreKey ¶
type SessionStructure_PendingPreKey struct { PreKeyId uint32 `protobuf:"varint,1,opt,name=pre_key_id,json=preKeyId,proto3" json:"pre_key_id,omitempty"` SignedPreKeyId int32 `protobuf:"varint,3,opt,name=signed_pre_key_id,json=signedPreKeyId,proto3" json:"signed_pre_key_id,omitempty"` BaseKey []byte `protobuf:"bytes,2,opt,name=base_key,json=baseKey,proto3" json:"base_key,omitempty"` // contains filtered or unexported fields }
func (*SessionStructure_PendingPreKey) Descriptor
deprecated
func (*SessionStructure_PendingPreKey) Descriptor() ([]byte, []int)
Deprecated: Use SessionStructure_PendingPreKey.ProtoReflect.Descriptor instead.
func (*SessionStructure_PendingPreKey) GetBaseKey ¶
func (x *SessionStructure_PendingPreKey) GetBaseKey() []byte
func (*SessionStructure_PendingPreKey) GetPreKeyId ¶
func (x *SessionStructure_PendingPreKey) GetPreKeyId() uint32
func (*SessionStructure_PendingPreKey) GetSignedPreKeyId ¶
func (x *SessionStructure_PendingPreKey) GetSignedPreKeyId() int32
func (*SessionStructure_PendingPreKey) ProtoMessage ¶
func (*SessionStructure_PendingPreKey) ProtoMessage()
func (*SessionStructure_PendingPreKey) ProtoReflect ¶
func (x *SessionStructure_PendingPreKey) ProtoReflect() protoreflect.Message
func (*SessionStructure_PendingPreKey) Reset ¶
func (x *SessionStructure_PendingPreKey) Reset()
func (*SessionStructure_PendingPreKey) String ¶
func (x *SessionStructure_PendingPreKey) String() string
type SignalMessage ¶
type SignalMessage struct { RatchetKey []byte `protobuf:"bytes,1,opt,name=ratchet_key,json=ratchetKey" json:"ratchet_key,omitempty"` Counter *uint32 `protobuf:"varint,2,opt,name=counter" json:"counter,omitempty"` PreviousCounter *uint32 `protobuf:"varint,3,opt,name=previous_counter,json=previousCounter" json:"previous_counter,omitempty"` Ciphertext []byte `protobuf:"bytes,4,opt,name=ciphertext" json:"ciphertext,omitempty"` // contains filtered or unexported fields }
func (*SignalMessage) Descriptor
deprecated
func (*SignalMessage) Descriptor() ([]byte, []int)
Deprecated: Use SignalMessage.ProtoReflect.Descriptor instead.
func (*SignalMessage) GetCiphertext ¶
func (x *SignalMessage) GetCiphertext() []byte
func (*SignalMessage) GetCounter ¶
func (x *SignalMessage) GetCounter() uint32
func (*SignalMessage) GetPreviousCounter ¶
func (x *SignalMessage) GetPreviousCounter() uint32
func (*SignalMessage) GetRatchetKey ¶
func (x *SignalMessage) GetRatchetKey() []byte
func (*SignalMessage) ProtoMessage ¶
func (*SignalMessage) ProtoMessage()
func (*SignalMessage) ProtoReflect ¶
func (x *SignalMessage) ProtoReflect() protoreflect.Message
func (*SignalMessage) Reset ¶
func (x *SignalMessage) Reset()
func (*SignalMessage) String ¶
func (x *SignalMessage) String() string
type SignedPreKeyRecordStructure ¶
type SignedPreKeyRecordStructure struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` Timestamp uint64 `protobuf:"fixed64,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*SignedPreKeyRecordStructure) Descriptor
deprecated
func (*SignedPreKeyRecordStructure) Descriptor() ([]byte, []int)
Deprecated: Use SignedPreKeyRecordStructure.ProtoReflect.Descriptor instead.
func (*SignedPreKeyRecordStructure) GetId ¶
func (x *SignedPreKeyRecordStructure) GetId() uint32
func (*SignedPreKeyRecordStructure) GetPrivateKey ¶
func (x *SignedPreKeyRecordStructure) GetPrivateKey() []byte
func (*SignedPreKeyRecordStructure) GetPublicKey ¶
func (x *SignedPreKeyRecordStructure) GetPublicKey() []byte
func (*SignedPreKeyRecordStructure) GetSignature ¶
func (x *SignedPreKeyRecordStructure) GetSignature() []byte
func (*SignedPreKeyRecordStructure) GetTimestamp ¶
func (x *SignedPreKeyRecordStructure) GetTimestamp() uint64
func (*SignedPreKeyRecordStructure) ProtoMessage ¶
func (*SignedPreKeyRecordStructure) ProtoMessage()
func (*SignedPreKeyRecordStructure) ProtoReflect ¶
func (x *SignedPreKeyRecordStructure) ProtoReflect() protoreflect.Message
func (*SignedPreKeyRecordStructure) Reset ¶
func (x *SignedPreKeyRecordStructure) Reset()
func (*SignedPreKeyRecordStructure) String ¶
func (x *SignedPreKeyRecordStructure) String() string
type UnidentifiedSenderMessage ¶
type UnidentifiedSenderMessage struct { EphemeralPublic []byte `protobuf:"bytes,1,opt,name=ephemeralPublic" json:"ephemeralPublic,omitempty"` EncryptedStatic []byte `protobuf:"bytes,2,opt,name=encryptedStatic" json:"encryptedStatic,omitempty"` EncryptedMessage []byte `protobuf:"bytes,3,opt,name=encryptedMessage" json:"encryptedMessage,omitempty"` // contains filtered or unexported fields }
func (*UnidentifiedSenderMessage) Descriptor
deprecated
func (*UnidentifiedSenderMessage) Descriptor() ([]byte, []int)
Deprecated: Use UnidentifiedSenderMessage.ProtoReflect.Descriptor instead.
func (*UnidentifiedSenderMessage) GetEncryptedMessage ¶
func (x *UnidentifiedSenderMessage) GetEncryptedMessage() []byte
func (*UnidentifiedSenderMessage) GetEncryptedStatic ¶
func (x *UnidentifiedSenderMessage) GetEncryptedStatic() []byte
func (*UnidentifiedSenderMessage) GetEphemeralPublic ¶
func (x *UnidentifiedSenderMessage) GetEphemeralPublic() []byte
func (*UnidentifiedSenderMessage) ProtoMessage ¶
func (*UnidentifiedSenderMessage) ProtoMessage()
func (*UnidentifiedSenderMessage) ProtoReflect ¶
func (x *UnidentifiedSenderMessage) ProtoReflect() protoreflect.Message
func (*UnidentifiedSenderMessage) Reset ¶
func (x *UnidentifiedSenderMessage) Reset()
func (*UnidentifiedSenderMessage) String ¶
func (x *UnidentifiedSenderMessage) String() string
type UnidentifiedSenderMessage_Message ¶
type UnidentifiedSenderMessage_Message struct { Type *UnidentifiedSenderMessage_Message_Type `` /* 126-byte string literal not displayed */ SenderCertificate []byte `protobuf:"bytes,2,opt,name=senderCertificate" json:"senderCertificate,omitempty"` Content []byte `protobuf:"bytes,3,opt,name=content" json:"content,omitempty"` ContentHint *UnidentifiedSenderMessage_Message_ContentHint `` /* 147-byte string literal not displayed */ GroupId []byte `protobuf:"bytes,5,opt,name=groupId" json:"groupId,omitempty"` // contains filtered or unexported fields }
func (*UnidentifiedSenderMessage_Message) Descriptor
deprecated
func (*UnidentifiedSenderMessage_Message) Descriptor() ([]byte, []int)
Deprecated: Use UnidentifiedSenderMessage_Message.ProtoReflect.Descriptor instead.
func (*UnidentifiedSenderMessage_Message) GetContent ¶
func (x *UnidentifiedSenderMessage_Message) GetContent() []byte
func (*UnidentifiedSenderMessage_Message) GetContentHint ¶
func (x *UnidentifiedSenderMessage_Message) GetContentHint() UnidentifiedSenderMessage_Message_ContentHint
func (*UnidentifiedSenderMessage_Message) GetGroupId ¶
func (x *UnidentifiedSenderMessage_Message) GetGroupId() []byte
func (*UnidentifiedSenderMessage_Message) GetSenderCertificate ¶
func (x *UnidentifiedSenderMessage_Message) GetSenderCertificate() []byte
func (*UnidentifiedSenderMessage_Message) GetType ¶
func (x *UnidentifiedSenderMessage_Message) GetType() UnidentifiedSenderMessage_Message_Type
func (*UnidentifiedSenderMessage_Message) ProtoMessage ¶
func (*UnidentifiedSenderMessage_Message) ProtoMessage()
func (*UnidentifiedSenderMessage_Message) ProtoReflect ¶
func (x *UnidentifiedSenderMessage_Message) ProtoReflect() protoreflect.Message
func (*UnidentifiedSenderMessage_Message) Reset ¶
func (x *UnidentifiedSenderMessage_Message) Reset()
func (*UnidentifiedSenderMessage_Message) String ¶
func (x *UnidentifiedSenderMessage_Message) String() string
type UnidentifiedSenderMessage_Message_ContentHint ¶
type UnidentifiedSenderMessage_Message_ContentHint int32
const ( UnidentifiedSenderMessage_Message_RESENDABLE UnidentifiedSenderMessage_Message_ContentHint = 1 // Sender will try to resend; delay any error UI if possible UnidentifiedSenderMessage_Message_IMPLICIT UnidentifiedSenderMessage_Message_ContentHint = 2 // Don't show any error UI at all; this is something sent implicitly like a typing message or a receipt )
func (UnidentifiedSenderMessage_Message_ContentHint) Descriptor ¶
func (UnidentifiedSenderMessage_Message_ContentHint) Descriptor() protoreflect.EnumDescriptor
func (UnidentifiedSenderMessage_Message_ContentHint) EnumDescriptor
deprecated
func (UnidentifiedSenderMessage_Message_ContentHint) EnumDescriptor() ([]byte, []int)
Deprecated: Use UnidentifiedSenderMessage_Message_ContentHint.Descriptor instead.
func (UnidentifiedSenderMessage_Message_ContentHint) Number ¶
func (x UnidentifiedSenderMessage_Message_ContentHint) Number() protoreflect.EnumNumber
func (UnidentifiedSenderMessage_Message_ContentHint) String ¶
func (x UnidentifiedSenderMessage_Message_ContentHint) String() string
func (*UnidentifiedSenderMessage_Message_ContentHint) UnmarshalJSON
deprecated
func (x *UnidentifiedSenderMessage_Message_ContentHint) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type UnidentifiedSenderMessage_Message_Type ¶
type UnidentifiedSenderMessage_Message_Type int32
const ( UnidentifiedSenderMessage_Message_PREKEY_MESSAGE UnidentifiedSenderMessage_Message_Type = 1 UnidentifiedSenderMessage_Message_MESSAGE UnidentifiedSenderMessage_Message_Type = 2 UnidentifiedSenderMessage_Message_SENDERKEY_MESSAGE UnidentifiedSenderMessage_Message_Type = 7 UnidentifiedSenderMessage_Message_PLAINTEXT_CONTENT UnidentifiedSenderMessage_Message_Type = 8 )
func (UnidentifiedSenderMessage_Message_Type) Descriptor ¶
func (UnidentifiedSenderMessage_Message_Type) Descriptor() protoreflect.EnumDescriptor
func (UnidentifiedSenderMessage_Message_Type) EnumDescriptor
deprecated
func (UnidentifiedSenderMessage_Message_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use UnidentifiedSenderMessage_Message_Type.Descriptor instead.
func (UnidentifiedSenderMessage_Message_Type) Number ¶
func (x UnidentifiedSenderMessage_Message_Type) Number() protoreflect.EnumNumber
func (UnidentifiedSenderMessage_Message_Type) String ¶
func (x UnidentifiedSenderMessage_Message_Type) String() string
func (UnidentifiedSenderMessage_Message_Type) Type ¶
func (UnidentifiedSenderMessage_Message_Type) Type() protoreflect.EnumType
func (*UnidentifiedSenderMessage_Message_Type) UnmarshalJSON
deprecated
func (x *UnidentifiedSenderMessage_Message_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.