Trait webrtc_srtp::config::KeyingMaterialExporter [−][src]
pub trait KeyingMaterialExporter { fn export_keying_material<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: &'life1 str,
context: &'life2 [u8],
length: usize
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait; }
Expand description
KeyingMaterialExporter allows package SRTP to extract keying material
Required methods
fn export_keying_material<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: &'life1 str,
context: &'life2 [u8],
length: usize
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,