#[repr(C)]pub struct srtp_crypto_policy_t {
pub cipher_type: srtp_cipher_type_id_t,
pub cipher_key_len: c_int,
pub auth_type: srtp_auth_type_id_t,
pub auth_key_len: c_int,
pub auth_tag_len: c_int,
pub sec_serv: srtp_sec_serv_t,
}
Expand description
@brief srtp_crypto_policy_t describes a particular crypto policy that can be applied to an SRTP stream.
A srtp_crypto_policy_t describes a particular cryptographic policy that can be applied to an SRTP or SRTCP stream. An SRTP session policy consists of a list of these policies, one for each SRTP stream in the session.
Fields§
§cipher_type: srtp_cipher_type_id_t
< An integer representing */
cipher_key_len: c_int
< The length of the cipher key */
auth_type: srtp_auth_type_id_t
< An integer representing the */
auth_key_len: c_int
< The length of the authentication */
auth_tag_len: c_int
< The length of the authentication */
sec_serv: srtp_sec_serv_t
< The flag indicating the security */
Trait Implementations§
Source§impl Clone for srtp_crypto_policy_t
impl Clone for srtp_crypto_policy_t
Source§fn clone(&self) -> srtp_crypto_policy_t
fn clone(&self) -> srtp_crypto_policy_t
Returns a copy 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 srtp_crypto_policy_t
impl Debug for srtp_crypto_policy_t
impl Copy for srtp_crypto_policy_t
Auto Trait Implementations§
impl Freeze for srtp_crypto_policy_t
impl RefUnwindSafe for srtp_crypto_policy_t
impl Send for srtp_crypto_policy_t
impl Sync for srtp_crypto_policy_t
impl Unpin for srtp_crypto_policy_t
impl UnwindSafe for srtp_crypto_policy_t
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)