mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
1d442d037c
Introduces a new cryptographic key management system for user sessions, including models, DTOs, interfaces, and services for handling identity keys, signed pre-keys, and one-time pre-keys. Updates the SessionKeysController and DI configuration to use the new services. Adds related EF Core configurations and migrations, and updates the UserSession model to reference the new UserCryptoSession. Removes the obsolete ISessionKeyService interface.
9 lines
276 B
C#
9 lines
276 B
C#
namespace Govor.Contracts.Requests;
|
|
|
|
public class UploadKeysRequest
|
|
{
|
|
public byte[] IdentityKey { get; set; }
|
|
public byte[] SignedPreKey { get; set; }
|
|
public byte[] SignedPreKeySignature { get; set; }
|
|
public List<byte[]> OneTimePreKeys { get; set; } = new();
|
|
} |