Trait KeyingMaterialExporter

Source
pub trait KeyingMaterialExporter {
    // Required method
    fn export_keying_material(
        &self,
        label: &str,
        context: &[u8],
        length: usize,
    ) -> Result<Vec<u8>>;
}
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( &self, label: &str, context: &[u8], length: usize, ) -> Result<Vec<u8>>

Implementors§