Trait webrtc_util::KeyingMaterialExporter

source ·
pub trait KeyingMaterialExporter {
    // Required method
    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 Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: '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.

Required Methods§

source

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 Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§