|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <DtlsFactory.hxx>
Public Types | |
| enum | PacketType { rtp , dtls , stun , unknown } |
Public Member Functions | |
| DtlsFactory (std::unique_ptr< DtlsTimerContext > tc, X509 *cert, EVP_PKEY *privkey) | |
| ~DtlsFactory () | |
| DtlsSocket * | createClient (std::unique_ptr< DtlsSocketContext > context) |
| DtlsSocket * | createServer (std::unique_ptr< DtlsSocketContext > context) |
| std::unique_ptr< DtlsListener > | createListener () |
| void | getMyCertFingerprint (char *fingerprint) |
| DtlsTimerContext & | getTimerContext () |
| void | setSrtpProfiles (const char *policyStr) |
| void | setCipherSuites (const char *cipherSuites) |
| void | setMtu (unsigned int mtu) |
| unsigned int | getMtu () const |
| void | setServerHandshakeTimeout (unsigned int seconds) |
Static Public Member Functions | |
| static PacketType | demuxPacket (const unsigned char *buf, size_t len) |
Static Public Attributes | |
| static const char * | DefaultSrtpProfile = "SRTP_AES128_CM_SHA1_80:SRTP_AES128_CM_SHA1_32" |
| static const unsigned int | DefaultMtu = 1200 |
| static const unsigned int | DefaultServerHandshakeTimeout = 30 |
Friends | |
| class | DtlsSocket |
| class | DtlsListener |
Definition at line 26 of file DtlsFactory.hxx.
| Enumerator | |
|---|---|
| rtp | |
| dtls | |
| stun | |
| unknown | |
Definition at line 29 of file DtlsFactory.hxx.
| DtlsFactory::DtlsFactory | ( | std::unique_ptr< DtlsTimerContext > | tc, |
| X509 * | cert, | ||
| EVP_PKEY * | privkey | ||
| ) |
Definition at line 28 of file DtlsFactory.cxx.
| DtlsFactory::~DtlsFactory | ( | ) |
Definition at line 55 of file DtlsFactory.cxx.
| DtlsSocket * DtlsFactory::createClient | ( | std::unique_ptr< DtlsSocketContext > | context | ) |
Definition at line 62 of file DtlsFactory.cxx.
| std::unique_ptr< DtlsListener > DtlsFactory::createListener | ( | ) |
Definition at line 74 of file DtlsFactory.cxx.
| DtlsSocket * DtlsFactory::createServer | ( | std::unique_ptr< DtlsSocketContext > | context | ) |
Definition at line 68 of file DtlsFactory.cxx.
|
static |
Definition at line 141 of file DtlsFactory.cxx.
Definition at line 68 of file DtlsFactory.hxx.
Definition at line 116 of file DtlsFactory.cxx.
|
inline |
Definition at line 52 of file DtlsFactory.hxx.
Definition at line 132 of file DtlsFactory.cxx.
Definition at line 67 of file DtlsFactory.hxx.
Definition at line 75 of file DtlsFactory.hxx.
Definition at line 122 of file DtlsFactory.cxx.
|
friend |
Definition at line 82 of file DtlsFactory.hxx.
|
friend |
Definition at line 81 of file DtlsFactory.hxx.
Definition at line 66 of file DtlsFactory.hxx.
Definition at line 74 of file DtlsFactory.hxx.
|
static |
Definition at line 55 of file DtlsFactory.hxx.