[][src]Struct srtp2_sys::srtp_crypto_policy_t

#[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,
}

@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

impl Clone for srtp_crypto_policy_t[src]

impl Copy for srtp_crypto_policy_t[src]

impl Debug for srtp_crypto_policy_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.