Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
SSL_CTX_set_tlsext_use_srtp, SSL_set_tlsext_use_srtp, SSL_get_srtp_profiles, SSL_get_selected_srtp_profile — Configure and query SRTP supportSYNOPSIS
#include <openssl/srtp.h>SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles);
SSL_set_tlsext_use_srtp(SSL *ssl, const char *profiles);
SSL_get_srtp_profiles(SSL *ssl);
SSL_get_selected_srtp_profile(SSL *ssl);
DESCRIPTION
SRTP is the Secure Real-Time Transport Protocol. OpenSSL implements support for the "use_srtp" DTLS extension defined in RFC 5764. This provides a mechanism for establishing SRTP keying material, algorithms and parameters using DTLS. This capability may be used as part of an implementation that conforms to RFC 5763. OpenSSL does not implement SRTP itself or RFC 5763. Note that OpenSSL does not support the use of SRTP Master Key Identifiers (MKIs). Also note that this extension is only supported in DTLS. Any SRTP configuration is ignored if a TLS connection is attempted.- SRTP_AES128_CM_SHA1_80
- This corresponds to SRTP_AES128_CM_HMAC_SHA1_80 defined in RFC 5764.
- SRTP_AES128_CM_SHA1_32
- This corresponds to SRTP_AES128_CM_HMAC_SHA1_32 defined in RFC 5764.
- SRTP_AEAD_AES_128_GCM
- This corresponds to SRTP_AEAD_AES_128_GCM defined in RFC 7714.
- SRTP_AEAD_AES_256_GCM
- This corresponds to SRTP_AEAD_AES_256_GCM defined in RFC 7714.