Searched defs:KeyPackageData (Results 1 – 4 of 4) sorted by relevance
/aosp_15_r20/external/rust/android-crates-io/crates/mls-rs-core/src/ |
D | key_package.rs | 17 pub struct KeyPackageData { struct 25 impl Debug for KeyPackageData { implementation 39 impl KeyPackageData { implementation 45 ) -> KeyPackageData { in new() 83 async fn get(&self, id: &[u8]) -> Result<Option<KeyPackageData>, Self::Error>; in get()
|
/aosp_15_r20/external/rust/android-crates-io/crates/mls-rs/src/storage_provider/in_memory/ |
D | key_package_storage.rs | 69 pub fn insert(&self, id: Vec<u8>, pkg: KeyPackageData) { in insert() 74 pub fn get(&self, id: &[u8]) -> Option<KeyPackageData> { in get() 84 pub fn key_packages(&self) -> Vec<(Vec<u8>, KeyPackageData)> { in key_packages() argument 92 fn lock(&self) -> std::sync::MutexGuard<'_, HashMap<Vec<u8>, KeyPackageData>> { in lock() argument 97 fn lock(&self) -> spin::mutex::MutexGuard<'_, BTreeMap<Vec<u8>, KeyPackageData>> { in lock() argument 117 async fn get(&self, id: &[u8]) -> Result<Option<KeyPackageData>, Self::Error> { in get()
|
/aosp_15_r20/external/rust/android-crates-io/crates/mls-rs/src/key_package/ |
D | mod.rs | 88 struct KeyPackageData<'a> { struct 89 pub version: ProtocolVersion, 90 pub cipher_suite: CipherSuite, 92 pub hpke_init_key: &'a HpkePublicKey, 93 pub leaf_node: &'a LeafNode, 94 pub extensions: &'a ExtensionList,
|
D | generator.rs | 48 pub fn to_storage(&self) -> Result<(Vec<u8>, KeyPackageData), MlsError> { in to_storage() argument
|