1use libpep::distributed::key_blinding::SessionKeyShares;
2use libpep::high_level::contexts::EncryptionContext;
3use serde::{Deserialize, Serialize};
4
5#[derive(Serialize, Deserialize, Debug)]
6pub struct SessionResponse {
8 pub sessions: Vec<EncryptionContext>,
9}
10
11#[derive(Serialize, Deserialize, Debug)]
12pub struct StartSessionResponse {
14 pub session_id: EncryptionContext,
16 pub session_key_shares: SessionKeyShares,
18}
19
20#[derive(Serialize, Deserialize, Debug)]
21pub struct EndSessionRequest {
23 pub session_id: EncryptionContext,
24}