C# Класс TextSecure.TextSecureAxolotlStore

Наследование: AxolotlStore
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AXOLOTLDB_PATH string

Открытые методы

Метод Описание
ContainsPreKey ( uint preKeyId ) : bool
ContainsSession ( libaxolotl.AxolotlAddress address ) : bool
ContainsSignedPreKey ( uint signedPreKeyId ) : bool
DeleteAllSessions ( string name ) : void
DeleteSession ( libaxolotl.AxolotlAddress address ) : void
GetIdentityKeyPair ( ) : libaxolotl.IdentityKeyPair
GetLocalRegistrationId ( ) : uint
GetSubDeviceSessions ( string name ) : List
IsTrustedIdentity ( string name, libaxolotl.IdentityKey identityKey ) : bool
LoadPreKey ( uint preKeyId ) : libaxolotl.state.PreKeyRecord
LoadSession ( libaxolotl.AxolotlAddress address ) : libaxolotl.state.SessionRecord
LoadSignedPreKey ( uint signedPreKeyId ) : libaxolotl.state.SignedPreKeyRecord
LoadSignedPreKeys ( ) : List
RemovePreKey ( uint preKeyId ) : void
RemoveSignedPreKey ( uint signedPreKeyId ) : void
SaveIdentity ( string name, libaxolotl.IdentityKey identityKey ) : bool
StorePreKey ( uint preKeyId, libaxolotl.state.PreKeyRecord record ) : void
StoreSession ( libaxolotl.AxolotlAddress address, libaxolotl.state.SessionRecord record ) : void
StoreSignedPreKey ( uint signedPreKeyId, libaxolotl.state.SignedPreKeyRecord record ) : void
TextSecureAxolotlStore ( ) : libaxolotl.state

Описание методов

ContainsPreKey() публичный Метод

public ContainsPreKey ( uint preKeyId ) : bool
preKeyId uint
Результат bool

ContainsSession() публичный Метод

public ContainsSession ( libaxolotl.AxolotlAddress address ) : bool
address libaxolotl.AxolotlAddress
Результат bool

ContainsSignedPreKey() публичный Метод

public ContainsSignedPreKey ( uint signedPreKeyId ) : bool
signedPreKeyId uint
Результат bool

DeleteAllSessions() публичный Метод

public DeleteAllSessions ( string name ) : void
name string
Результат void

DeleteSession() публичный Метод

public DeleteSession ( libaxolotl.AxolotlAddress address ) : void
address libaxolotl.AxolotlAddress
Результат void

GetIdentityKeyPair() публичный Метод

public GetIdentityKeyPair ( ) : libaxolotl.IdentityKeyPair
Результат libaxolotl.IdentityKeyPair

GetLocalRegistrationId() публичный Метод

public GetLocalRegistrationId ( ) : uint
Результат uint

GetSubDeviceSessions() публичный Метод

public GetSubDeviceSessions ( string name ) : List
name string
Результат List

IsTrustedIdentity() публичный Метод

public IsTrustedIdentity ( string name, libaxolotl.IdentityKey identityKey ) : bool
name string
identityKey libaxolotl.IdentityKey
Результат bool

LoadPreKey() публичный Метод

public LoadPreKey ( uint preKeyId ) : libaxolotl.state.PreKeyRecord
preKeyId uint
Результат libaxolotl.state.PreKeyRecord

LoadSession() публичный Метод

public LoadSession ( libaxolotl.AxolotlAddress address ) : libaxolotl.state.SessionRecord
address libaxolotl.AxolotlAddress
Результат libaxolotl.state.SessionRecord

LoadSignedPreKey() публичный Метод

public LoadSignedPreKey ( uint signedPreKeyId ) : libaxolotl.state.SignedPreKeyRecord
signedPreKeyId uint
Результат libaxolotl.state.SignedPreKeyRecord

LoadSignedPreKeys() публичный Метод

public LoadSignedPreKeys ( ) : List
Результат List

RemovePreKey() публичный Метод

public RemovePreKey ( uint preKeyId ) : void
preKeyId uint
Результат void

RemoveSignedPreKey() публичный Метод

public RemoveSignedPreKey ( uint signedPreKeyId ) : void
signedPreKeyId uint
Результат void

SaveIdentity() публичный Метод

public SaveIdentity ( string name, libaxolotl.IdentityKey identityKey ) : bool
name string
identityKey libaxolotl.IdentityKey
Результат bool

StorePreKey() публичный Метод

public StorePreKey ( uint preKeyId, libaxolotl.state.PreKeyRecord record ) : void
preKeyId uint
record libaxolotl.state.PreKeyRecord
Результат void

StoreSession() публичный Метод

public StoreSession ( libaxolotl.AxolotlAddress address, libaxolotl.state.SessionRecord record ) : void
address libaxolotl.AxolotlAddress
record libaxolotl.state.SessionRecord
Результат void

StoreSignedPreKey() публичный Метод

public StoreSignedPreKey ( uint signedPreKeyId, libaxolotl.state.SignedPreKeyRecord record ) : void
signedPreKeyId uint
record libaxolotl.state.SignedPreKeyRecord
Результат void

TextSecureAxolotlStore() публичный Метод

public TextSecureAxolotlStore ( ) : libaxolotl.state
Результат libaxolotl.state

Описание свойств

AXOLOTLDB_PATH публичное статическое свойство

public static string AXOLOTLDB_PATH
Результат string