pub fn derive_client_stream_keys(
client_secret: &RistrettoSecret,
client_pubkey: &[u8],
server_pubkey: &[u8],
) -> Result<([u8; 32], [u8; 32], String)>Expand description
Derive the (mac_key, enc_key, topic) triple from a client-side DH exchange (#321).
This is the consumer-side counterpart to
StreamContext::from_third_party_interop_dh (the server side).
Call this before constructing a MoqStreamHandle when you have the raw keys from
generate_ephemeral_keypair() and the server pubkey from StreamInfo.