Trait webrtc_util::KeyingMaterialExporter
source · [−]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>, KeyingMaterialExporterError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
}
Expand description
KeyingMaterialExporter to extract keying material.
This trait sits here to avoid getting a direct dependency between the dtls and srtp crates.