crypto: Expose some missing structs that are needed to implement a cryptostore.
parent
6872cc717b
commit
0de4a21320
|
@ -41,13 +41,14 @@ mod verification;
|
||||||
pub use device::{Device, LocalTrust, ReadOnlyDevice, UserDevices};
|
pub use device::{Device, LocalTrust, ReadOnlyDevice, UserDevices};
|
||||||
pub use error::{MegolmError, OlmError};
|
pub use error::{MegolmError, OlmError};
|
||||||
pub use machine::OlmMachine;
|
pub use machine::OlmMachine;
|
||||||
use memory_stores::ReadOnlyUserDevices;
|
pub use memory_stores::ReadOnlyUserDevices;
|
||||||
pub(crate) use olm::Account;
|
pub(crate) use olm::Account;
|
||||||
pub use olm::EncryptionSettings;
|
pub use olm::EncryptionSettings;
|
||||||
pub use requests::{IncomingResponse, OutgoingRequest, OutgoingRequests};
|
pub use requests::{IncomingResponse, OutgoingRequest, OutgoingRequests};
|
||||||
#[cfg(feature = "sqlite_cryptostore")]
|
#[cfg(feature = "sqlite_cryptostore")]
|
||||||
pub use store::sqlite::SqliteStore;
|
pub use store::sqlite::SqliteStore;
|
||||||
pub use store::{CryptoStore, CryptoStoreError};
|
pub use store::{CryptoStore, CryptoStoreError};
|
||||||
|
pub use user_identity::{OwnUserIdentity, UserIdentities, UserIdentity};
|
||||||
pub use verification::Sas;
|
pub use verification::Sas;
|
||||||
|
|
||||||
use error::SignatureError;
|
use error::SignatureError;
|
||||||
|
|
|
@ -26,7 +26,8 @@ use matrix_sdk_common::{
|
||||||
api::r0::keys::{OneTimeKey, SignedKey},
|
api::r0::keys::{OneTimeKey, SignedKey},
|
||||||
encryption::DeviceKeys,
|
encryption::DeviceKeys,
|
||||||
identifiers::{
|
identifiers::{
|
||||||
DeviceId, DeviceKeyAlgorithm, DeviceKeyId, EventEncryptionAlgorithm, RoomId, UserId,
|
DeviceId, DeviceIdBox, DeviceKeyAlgorithm, DeviceKeyId, EventEncryptionAlgorithm, RoomId,
|
||||||
|
UserId,
|
||||||
},
|
},
|
||||||
instant::Instant,
|
instant::Instant,
|
||||||
locks::Mutex,
|
locks::Mutex,
|
||||||
|
|
|
@ -24,6 +24,7 @@ mod session;
|
||||||
pub use account::{Account, IdentityKeys};
|
pub use account::{Account, IdentityKeys};
|
||||||
pub use group_sessions::{EncryptionSettings, InboundGroupSession};
|
pub use group_sessions::{EncryptionSettings, InboundGroupSession};
|
||||||
pub(crate) use group_sessions::{GroupSessionKey, OutboundGroupSession};
|
pub(crate) use group_sessions::{GroupSessionKey, OutboundGroupSession};
|
||||||
|
pub use olm_rs::PicklingMode;
|
||||||
pub(crate) use session::OlmMessage;
|
pub(crate) use session::OlmMessage;
|
||||||
pub use session::Session;
|
pub use session::Session;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue