C# Class TextSecure.crypto.storage.TextSecurePreKeyStore

Inheritance: PreKeyStore, SignedPreKeyStore
Show file Open project: smndtrl/Signal-UWP Class Usage Examples

Public Methods

Method Description
ContainsPreKey ( uint preKeyId ) : bool
ContainsSignedPreKey ( uint signedPreKeyId ) : bool
LoadPreKey ( uint preKeyId ) : libaxolotl.state.PreKeyRecord
LoadSignedPreKey ( uint signedPreKeyId ) : libaxolotl.state.SignedPreKeyRecord

Loads a SignedPreKey

LoadSignedPreKeys ( ) : List

Loads a List of SignedPreKeyRecords

RemovePreKey ( uint preKeyId ) : void
RemoveSignedPreKey ( uint signedPreKeyId ) : void

Removes a SignedPreKeyRecord

StorePreKey ( uint preKeyId, libaxolotl.state.PreKeyRecord record ) : void
StoreSignedPreKey ( uint signedPreKeyId, libaxolotl.state.SignedPreKeyRecord record ) : void
TextSecurePreKeyStore ( SQLite.SQLiteConnection conn ) : libaxolotl.state

Method Details

ContainsPreKey() public method

public ContainsPreKey ( uint preKeyId ) : bool
preKeyId uint
return bool

ContainsSignedPreKey() public method

public ContainsSignedPreKey ( uint signedPreKeyId ) : bool
signedPreKeyId uint
return bool

LoadPreKey() public method

public LoadPreKey ( uint preKeyId ) : libaxolotl.state.PreKeyRecord
preKeyId uint
return libaxolotl.state.PreKeyRecord

LoadSignedPreKey() public method

Loads a SignedPreKey
public LoadSignedPreKey ( uint signedPreKeyId ) : libaxolotl.state.SignedPreKeyRecord
signedPreKeyId uint Used to lookup a SignedPreKey.
return libaxolotl.state.SignedPreKeyRecord

LoadSignedPreKeys() public method

Loads a List of SignedPreKeyRecords
public LoadSignedPreKeys ( ) : List
return List

RemovePreKey() public method

public RemovePreKey ( uint preKeyId ) : void
preKeyId uint
return void

RemoveSignedPreKey() public method

Removes a SignedPreKeyRecord
public RemoveSignedPreKey ( uint signedPreKeyId ) : void
signedPreKeyId uint Used to identify a SignedPreKeyRecord.
return void

StorePreKey() public method

public StorePreKey ( uint preKeyId, libaxolotl.state.PreKeyRecord record ) : void
preKeyId uint
record libaxolotl.state.PreKeyRecord
return void

StoreSignedPreKey() public method

public StoreSignedPreKey ( uint signedPreKeyId, libaxolotl.state.SignedPreKeyRecord record ) : void
signedPreKeyId uint
record libaxolotl.state.SignedPreKeyRecord
return void

TextSecurePreKeyStore() public method

public TextSecurePreKeyStore ( SQLite.SQLiteConnection conn ) : libaxolotl.state
conn SQLite.SQLiteConnection
return libaxolotl.state