textsecure

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_FingerprintProtocol_proto protoreflect.FileDescriptor
View Source
var File_LocalStorageProtocol_proto protoreflect.FileDescriptor
View Source
var File_WhisperTextProtocol_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 added in v1.3.8

func (x *CombinedFingerprints) ProtoReflect() protoreflect.Message

func (*CombinedFingerprints) Reset

func (x *CombinedFingerprints) Reset()

func (*CombinedFingerprints) String

func (x *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"`
	// contains filtered or unexported fields
}

func (*DeviceConsistencyCodeMessage) Descriptor deprecated

func (*DeviceConsistencyCodeMessage) Descriptor() ([]byte, []int)

Deprecated: Use DeviceConsistencyCodeMessage.ProtoReflect.Descriptor instead.

func (*DeviceConsistencyCodeMessage) GetGeneration

func (x *DeviceConsistencyCodeMessage) GetGeneration() uint32

func (*DeviceConsistencyCodeMessage) GetSignature

func (x *DeviceConsistencyCodeMessage) GetSignature() []byte

func (*DeviceConsistencyCodeMessage) ProtoMessage

func (*DeviceConsistencyCodeMessage) ProtoMessage()

func (*DeviceConsistencyCodeMessage) ProtoReflect added in v1.3.8

func (*DeviceConsistencyCodeMessage) Reset

func (x *DeviceConsistencyCodeMessage) Reset()

func (*DeviceConsistencyCodeMessage) 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 added in v1.3.8

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 added in v1.3.8

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 added in v1.3.8

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 added in v1.3.8

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 []*SessionStructure `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() []*SessionStructure

func (*RecordStructure) ProtoMessage

func (*RecordStructure) ProtoMessage()

func (*RecordStructure) ProtoReflect added in v1.3.8

func (x *RecordStructure) ProtoReflect() protoreflect.Message

func (*RecordStructure) Reset

func (x *RecordStructure) Reset()

func (*RecordStructure) String

func (x *RecordStructure) 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 added in v1.3.8

func (x *SenderKeyDistributionMessage) GetChainId() uint32

func (*SenderKeyDistributionMessage) GetChainKey

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

func (*SenderKeyDistributionMessage) GetDistributionUuid added in v1.3.8

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 added in v1.3.8

func (*SenderKeyDistributionMessage) Reset

func (x *SenderKeyDistributionMessage) Reset()

func (*SenderKeyDistributionMessage) 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 added in v1.3.8

func (x *SenderKeyMessage) GetChainId() uint32

func (*SenderKeyMessage) GetCiphertext

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

func (*SenderKeyMessage) GetDistributionUuid added in v1.3.8

func (x *SenderKeyMessage) GetDistributionUuid() []byte

func (*SenderKeyMessage) GetIteration

func (x *SenderKeyMessage) GetIteration() uint32

func (*SenderKeyMessage) ProtoMessage

func (*SenderKeyMessage) ProtoMessage()

func (*SenderKeyMessage) ProtoReflect added in v1.3.8

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 added in v1.3.8

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 added in v1.3.8

func (x *SenderKeyStateStructure) GetChainId() uint32

func (*SenderKeyStateStructure) GetMessageVersion added in v1.3.8

func (x *SenderKeyStateStructure) GetMessageVersion() uint32

func (*SenderKeyStateStructure) GetSenderChainKey

func (*SenderKeyStateStructure) GetSenderMessageKeys

func (*SenderKeyStateStructure) GetSenderSigningKey

func (*SenderKeyStateStructure) ProtoMessage

func (*SenderKeyStateStructure) ProtoMessage()

func (*SenderKeyStateStructure) ProtoReflect added in v1.3.8

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 (*SenderKeyStateStructure_SenderChainKey) GetSeed

func (*SenderKeyStateStructure_SenderChainKey) ProtoMessage

func (*SenderKeyStateStructure_SenderChainKey) ProtoReflect added in v1.3.8

func (*SenderKeyStateStructure_SenderChainKey) Reset

func (*SenderKeyStateStructure_SenderChainKey) 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 (*SenderKeyStateStructure_SenderMessageKey) GetSeed

func (*SenderKeyStateStructure_SenderMessageKey) ProtoMessage

func (*SenderKeyStateStructure_SenderMessageKey) ProtoReflect added in v1.3.8

func (*SenderKeyStateStructure_SenderMessageKey) Reset

func (*SenderKeyStateStructure_SenderMessageKey) 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 (*SenderKeyStateStructure_SenderSigningKey) GetPublic

func (*SenderKeyStateStructure_SenderSigningKey) ProtoMessage

func (*SenderKeyStateStructure_SenderSigningKey) ProtoReflect added in v1.3.8

func (*SenderKeyStateStructure_SenderSigningKey) Reset

func (*SenderKeyStateStructure_SenderSigningKey) 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"`
	NeedsRefresh         bool                            `protobuf:"varint,12,opt,name=needs_refresh,json=needsRefresh,proto3" json:"needs_refresh,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) GetNeedsRefresh

func (x *SessionStructure) GetNeedsRefresh() bool

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 added in v1.3.8

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 (*SessionStructure_Chain) GetMessageKeys

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 added in v1.3.8

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 (*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 added in v1.3.8

func (*SessionStructure_Chain_ChainKey) Reset

func (*SessionStructure_Chain_ChainKey) String

type SessionStructure_Chain_MessageKey

type SessionStructure_Chain_MessageKey struct {
	Index     uint32 `protobuf:"varint,1,opt,name=index,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 (*SessionStructure_Chain_MessageKey) GetIv

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 added in v1.3.8

func (*SessionStructure_Chain_MessageKey) Reset

func (*SessionStructure_Chain_MessageKey) 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 added in v1.3.8

func (*SessionStructure_PendingPreKey) Reset

func (x *SessionStructure_PendingPreKey) Reset()

func (*SessionStructure_PendingPreKey) 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 added in v1.3.8

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 (*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 added in v1.3.8

func (*SignedPreKeyRecordStructure) Reset

func (x *SignedPreKeyRecordStructure) Reset()

func (*SignedPreKeyRecordStructure) String

func (x *SignedPreKeyRecordStructure) String() string

Jump to

Keyboard shortcuts

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