#[repr(C)]pub struct ocrypto_srtp_ctx {
pub key_size: u32,
pub tag_size: u32,
pub encr_key: [u8; 32],
pub auth_key: [u8; 20],
pub salt_key: [u8; 14],
}Expand description
SRTP Context.
Fields§
§key_size: u32Key size [bytes].
tag_size: u32Tag size [bytes].
encr_key: [u8; 32]Session encryption key (max 256 bits).
auth_key: [u8; 20]Session authentication key 160 bits.
salt_key: [u8; 14]Session salt 112 bits.
Trait Implementations§
Source§impl Clone for ocrypto_srtp_ctx
impl Clone for ocrypto_srtp_ctx
Source§fn clone(&self) -> ocrypto_srtp_ctx
fn clone(&self) -> ocrypto_srtp_ctx
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ocrypto_srtp_ctx
impl Debug for ocrypto_srtp_ctx
impl Copy for ocrypto_srtp_ctx
Auto Trait Implementations§
impl Freeze for ocrypto_srtp_ctx
impl RefUnwindSafe for ocrypto_srtp_ctx
impl Send for ocrypto_srtp_ctx
impl Sync for ocrypto_srtp_ctx
impl Unpin for ocrypto_srtp_ctx
impl UnwindSafe for ocrypto_srtp_ctx
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more