[−][src]Crate srtp2_sys
Structs
srtp_crypto_policy_t | @brief srtp_crypto_policy_t describes a particular crypto policy that can be applied to an SRTP stream. |
srtp_ctx_t_ | |
srtp_ekt_policy_ctx_t | |
srtp_ekt_stream_ctx_t | |
srtp_event_data_t | @brief srtp_event_data_t is the structure passed as a callback to the event handler function |
srtp_master_key_t | @brief srtp_master_key_t represents a master key. There will be a Master Key Index and the Master Key associated with the Master Key Index. Need to also keep track of the Master Key Index Size to correctly read it from a packet. |
srtp_policy_t | @brief represents the policy for an SRTP session. |
srtp_ssrc_t | @brief An srtp_ssrc_t represents a particular SSRC value, or a `wildcard' SSRC. |
Constants
Functions
srtp_add_stream⚠ | @brief srtp_add_stream() allocates and initializes an SRTP stream within a given SRTP session. |
srtp_append_salt_to_key⚠ | @brief appends the salt to the key |
srtp_create⚠ | @brief srtp_create() allocates and initializes an SRTP session. |
srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32⚠ | @brief srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32() sets a crypto policy structure to a short-authentication tag policy |
srtp_crypto_policy_set_aes_cm_128_null_auth⚠ | @brief srtp_crypto_policy_set_aes_cm_128_null_auth() sets a crypto policy structure to an encryption-only policy |
srtp_crypto_policy_set_aes_cm_192_hmac_sha1_32⚠ | @brief srtp_crypto_policy_set_aes_cm_192_hmac_sha1_32() sets a crypto policy structure to a short-authentication tag policy using AES-192 encryption. |
srtp_crypto_policy_set_aes_cm_192_hmac_sha1_80⚠ | @brief srtp_crypto_policy_set_aes_cm_192_hmac_sha1_80() sets a crypto policy structure to a encryption and authentication policy using AES-192 for RTP protection. |
srtp_crypto_policy_set_aes_cm_192_null_auth⚠ | @brief srtp_crypto_policy_set_aes_cm_192_null_auth() sets a crypto policy structure to an encryption-only policy |
srtp_crypto_policy_set_aes_cm_256_hmac_sha1_32⚠ | @brief srtp_crypto_policy_set_aes_cm_256_hmac_sha1_32() sets a crypto policy structure to a short-authentication tag policy using AES-256 encryption. |
srtp_crypto_policy_set_aes_cm_256_hmac_sha1_80⚠ | @brief srtp_crypto_policy_set_aes_cm_256_hmac_sha1_80() sets a crypto policy structure to a encryption and authentication policy using AES-256 for RTP protection. |
srtp_crypto_policy_set_aes_cm_256_null_auth⚠ | @brief srtp_crypto_policy_set_aes_cm_256_null_auth() sets a crypto policy structure to an encryption-only policy |
srtp_crypto_policy_set_aes_gcm_128_8_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_128_8_auth() sets a crypto policy structure to an AEAD encryption policy. |
srtp_crypto_policy_set_aes_gcm_128_8_only_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_128_8_only_auth() sets a crypto policy structure to an AEAD authentication-only policy |
srtp_crypto_policy_set_aes_gcm_128_16_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_128_16_auth() sets a crypto policy structure to an AEAD encryption policy. |
srtp_crypto_policy_set_aes_gcm_256_8_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_256_8_auth() sets a crypto policy structure to an AEAD encryption policy |
srtp_crypto_policy_set_aes_gcm_256_8_only_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_256_8_only_auth() sets a crypto policy structure to an AEAD authentication-only policy |
srtp_crypto_policy_set_aes_gcm_256_16_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_256_16_auth() sets a crypto policy structure to an AEAD encryption policy |
srtp_crypto_policy_set_from_profile_for_rtcp⚠ | @brief srtp_crypto_policy_set_from_profile_for_rtcp() sets a crypto policy structure to the appropriate value for RTCP based on an srtp_profile_t |
srtp_crypto_policy_set_from_profile_for_rtp⚠ | @brief srtp_crypto_policy_set_from_profile_for_rtp() sets a crypto policy structure to the appropriate value for RTP based on an srtp_profile_t |
srtp_crypto_policy_set_null_cipher_hmac_null⚠ | @brief srtp_crypto_policy_set_null_cipher_hmac_null() sets a crypto policy structure to use no encryption or authentication. |
srtp_crypto_policy_set_null_cipher_hmac_sha1_80⚠ | @brief srtp_crypto_policy_set_null_cipher_hmac_sha1_80() sets a crypto policy structure to an authentication-only policy |
srtp_crypto_policy_set_rtcp_default⚠ | @brief srtp_crypto_policy_set_rtcp_default() sets a crypto policy structure to the SRTP default policy for RTCP protection. |
srtp_crypto_policy_set_rtp_default⚠ | @brief srtp_crypto_policy_set_rtp_default() sets a crypto policy structure to the SRTP default policy for RTP protection. |
srtp_dealloc⚠ | @brief srtp_dealloc() deallocates storage for an SRTP session context. |
srtp_get_protect_rtcp_trailer_length⚠ | @brief srtp_get_protect_rtcp_trailer_length(session, use_mki, mki_index, length) |
srtp_get_protect_trailer_length⚠ | @brief srtp_get_protect_trailer_length(session, use_mki, mki_index, length) |
srtp_get_stream_roc⚠ | @brief srtp_get_stream_roc(session, ssrc, roc) |
srtp_get_user_data⚠ | @brief srtp_get_user_data() retrieves the pointer to the custom data previously stored with srtp_set_user_data(). |
srtp_get_version⚠ | @brief Returns the numeric representation of the library version. |
srtp_get_version_string⚠ | @brief Returns the version string of the library. |
srtp_init⚠ | @brief srtp_init() initializes the srtp library. |
srtp_install_event_handler⚠ | @brief sets the event handler to the function supplied by the caller. |
srtp_install_log_handler⚠ | @brief sets the log handler to the function supplied by the caller. |
srtp_list_debug_modules⚠ | @brief srtp_list_debug_modules() outputs a list of debugging modules |
srtp_profile_get_master_key_length⚠ | @brief returns the master key length for a given SRTP profile |
srtp_profile_get_master_salt_length⚠ | @brief returns the master salt length for a given SRTP profile |
srtp_protect⚠ | @brief srtp_protect() is the Secure RTP sender-side packet processing function. |
srtp_protect_mki⚠ | @brief srtp_protect_mki() is the Secure RTP sender-side packet processing function that can utilize MKI. |
srtp_protect_rtcp⚠ | @brief srtp_protect_rtcp() is the Secure RTCP sender-side packet processing function. |
srtp_protect_rtcp_mki⚠ | @brief srtp_protect_rtcp_mki() is the Secure RTCP sender-side packet processing function that can utilize mki. |
srtp_remove_stream⚠ | @brief srtp_remove_stream() deallocates an SRTP stream. |
srtp_set_debug_module⚠ | @brief srtp_set_debug_module(mod_name, v) |
srtp_set_stream_roc⚠ | @brief srtp_set_stream_roc(session, ssrc, roc) |
srtp_set_user_data⚠ | @brief srtp_set_user_data() stores the given pointer into the SRTP session for later retrieval. |
srtp_shutdown⚠ | @brief srtp_shutdown() de-initializes the srtp library. |
srtp_unprotect⚠ | @brief srtp_unprotect() is the Secure RTP receiver-side packet processing function. |
srtp_unprotect_mki⚠ | @brief srtp_unprotect_mki() is the Secure RTP receiver-side packet processing function that checks for MKI. |
srtp_unprotect_rtcp⚠ | @brief srtp_unprotect_rtcp() is the Secure RTCP receiver-side packet processing function. |
srtp_unprotect_rtcp_mki⚠ | @brief srtp_unprotect_rtcp() is the Secure RTCP receiver-side packet processing function. |
srtp_update⚠ | @brief srtp_update() udpates all streams in the session. |
srtp_update_stream⚠ | @brief srtp_update_stream() udpates a SRTP stream. |
Type Definitions
__uint32_t | |
srtp_auth_type_id_t | @brief An srtp_auth_type_id_t is an identifier for a particular authentication function. |
srtp_cipher_type_id_t | @brief A srtp_cipher_type_id_t is an identifier for a particular cipher type. |
srtp_ctx_t | |
srtp_ekt_policy_t | @brief points to an EKT policy |
srtp_ekt_stream_t | @brief points to EKT stream data |
srtp_err_status_t | @brief srtp_err_status_t defines error codes. |
srtp_event_handler_func_t | @brief srtp_event_handler_func_t is the function prototype for the event handler. |
srtp_event_t | @brief srtp_event_t defines events that need to be handled |
srtp_log_handler_func_t | @brief srtp_log_handler_func_t is the function prototype for the log handler. |
srtp_log_level_t | @brief srtp_log_level_t defines log levels. |
srtp_profile_t | |
srtp_sec_serv_t | @brief srtp_sec_serv_t describes a set of security services. |
srtp_ssrc_type_t | @brief srtp_ssrc_type_t describes the type of an SSRC. |
srtp_t | @brief An srtp_t points to an SRTP session structure. |