C# Class TextSecure.crypto.storage.TextSecurePreKeyStore

Inheritance: PreKeyStore, SignedPreKeyStore
Afficher le fichier Open project: smndtrl/Signal-UWP Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public ContainsPreKey ( uint preKeyId ) : bool
preKeyId uint
Résultat bool

ContainsSignedPreKey() public méthode

public ContainsSignedPreKey ( uint signedPreKeyId ) : bool
signedPreKeyId uint
Résultat bool

LoadPreKey() public méthode

public LoadPreKey ( uint preKeyId ) : libaxolotl.state.PreKeyRecord
preKeyId uint
Résultat libaxolotl.state.PreKeyRecord

LoadSignedPreKey() public méthode

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

LoadSignedPreKeys() public méthode

Loads a List of SignedPreKeyRecords
public LoadSignedPreKeys ( ) : List
Résultat List

RemovePreKey() public méthode

public RemovePreKey ( uint preKeyId ) : void
preKeyId uint
Résultat void

RemoveSignedPreKey() public méthode

Removes a SignedPreKeyRecord
public RemoveSignedPreKey ( uint signedPreKeyId ) : void
signedPreKeyId uint Used to identify a SignedPreKeyRecord.
Résultat void

StorePreKey() public méthode

public StorePreKey ( uint preKeyId, libaxolotl.state.PreKeyRecord record ) : void
preKeyId uint
record libaxolotl.state.PreKeyRecord
Résultat void

StoreSignedPreKey() public méthode

public StoreSignedPreKey ( uint signedPreKeyId, libaxolotl.state.SignedPreKeyRecord record ) : void
signedPreKeyId uint
record libaxolotl.state.SignedPreKeyRecord
Résultat void

TextSecurePreKeyStore() public méthode

public TextSecurePreKeyStore ( SQLite.SQLiteConnection conn ) : libaxolotl.state
conn SQLite.SQLiteConnection
Résultat libaxolotl.state