C# Class TextSecure.TextSecureAxolotlStore

Inheritance: AxolotlStore
显示文件 Open project: smndtrl/Signal-UWP Class Usage Examples

Public Properties

Property Type Description
AXOLOTLDB_PATH string

Public Methods

Method Description
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

Method Details

ContainsPreKey() public method

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

ContainsSession() public method

public ContainsSession ( libaxolotl.AxolotlAddress address ) : bool
address libaxolotl.AxolotlAddress
return bool

ContainsSignedPreKey() public method

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

DeleteAllSessions() public method

public DeleteAllSessions ( string name ) : void
name string
return void

DeleteSession() public method

public DeleteSession ( libaxolotl.AxolotlAddress address ) : void
address libaxolotl.AxolotlAddress
return void

GetIdentityKeyPair() public method

public GetIdentityKeyPair ( ) : libaxolotl.IdentityKeyPair
return libaxolotl.IdentityKeyPair

GetLocalRegistrationId() public method

public GetLocalRegistrationId ( ) : uint
return uint

GetSubDeviceSessions() public method

public GetSubDeviceSessions ( string name ) : List
name string
return List

IsTrustedIdentity() public method

public IsTrustedIdentity ( string name, libaxolotl.IdentityKey identityKey ) : bool
name string
identityKey libaxolotl.IdentityKey
return bool

LoadPreKey() public method

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

LoadSession() public method

public LoadSession ( libaxolotl.AxolotlAddress address ) : libaxolotl.state.SessionRecord
address libaxolotl.AxolotlAddress
return libaxolotl.state.SessionRecord

LoadSignedPreKey() public method

public LoadSignedPreKey ( uint signedPreKeyId ) : libaxolotl.state.SignedPreKeyRecord
signedPreKeyId uint
return libaxolotl.state.SignedPreKeyRecord

LoadSignedPreKeys() public method

public LoadSignedPreKeys ( ) : List
return List

RemovePreKey() public method

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

RemoveSignedPreKey() public method

public RemoveSignedPreKey ( uint signedPreKeyId ) : void
signedPreKeyId uint
return void

SaveIdentity() public method

public SaveIdentity ( string name, libaxolotl.IdentityKey identityKey ) : bool
name string
identityKey libaxolotl.IdentityKey
return bool

StorePreKey() public method

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

StoreSession() public method

public StoreSession ( libaxolotl.AxolotlAddress address, libaxolotl.state.SessionRecord record ) : void
address libaxolotl.AxolotlAddress
record libaxolotl.state.SessionRecord
return void

StoreSignedPreKey() public method

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

TextSecureAxolotlStore() public method

public TextSecureAxolotlStore ( ) : libaxolotl.state
return libaxolotl.state

Property Details

AXOLOTLDB_PATH public_oe static_oe property

public static string AXOLOTLDB_PATH
return string