Class InMemoryCryptoStore
Inheritance
InMemoryCryptoStore
Namespace: Uniform.Matrix.Protocol.Crypto
Assembly: Uniform.Matrix.Protocol.Crypto.dll
public sealed class InMemoryCryptoStore : ICryptoStore
Methods
|
Edit this page
View Source
Remove a room's outbound session.
Declaration
public Task DeleteOutboundGroupSessionAsync(string roomId, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Declaration
public Task<AccountRecord?> LoadAccountAsync(CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Declaration
public Task<IReadOnlyList<DeviceListRecord>> LoadDeviceListsAsync(CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Return an inbound session.
Declaration
public Task<InboundGroupSessionRecord?> LoadInboundGroupSessionAsync(string roomId, string sessionId, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Return sessions with a device.
Declaration
public Task<IReadOnlyList<OlmSessionRecord>> LoadOlmSessionsAsync(string senderKey, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Return a room's outbound session.
Declaration
public Task<OutboundGroupSessionRecord?> LoadOutboundGroupSessionAsync(string roomId, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Return sessions not backed up.
Declaration
public Task<IReadOnlyList<InboundGroupSessionRecord>> LoadSessionsToBackUpAsync(int limit, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Declaration
public Task<string?> LoadValueAsync(string name, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Mark all sessions not backed up.
Declaration
public Task ResetBackedUpAsync(CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Declaration
public Task SaveAccountAsync(AccountRecord value, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Declaration
public Task SaveDeviceListAsync(DeviceListRecord deviceList, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Declaration
public Task SaveInboundGroupSessionAsync(InboundGroupSessionRecord session, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Declaration
public Task SaveOlmSessionAsync(OlmSessionRecord session, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Save a room's outbound session.
Declaration
public Task SaveOutboundGroupSessionAsync(OutboundGroupSessionRecord session, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Declaration
public Task SaveValueAsync(string name, string? value, CancellationToken cancellationToken)
Parameters
Returns
Implements