diff options
author | Riza Sulistyo <riza@teluu.com> | 2014-12-18 04:40:35 +0000 |
---|---|---|
committer | Riza Sulistyo <riza@teluu.com> | 2014-12-18 04:40:35 +0000 |
commit | edc65dae7b3332ead145bb2d2b030c5df3e9a2e1 (patch) | |
tree | 01dc1d7cb5b4b53d00a22d0f84d1e7306fc8cf5d /pjsip/include/pjsua2 | |
parent | 91ce3c4bf51a884f7534551669e38d6b44a2da55 (diff) |
Re #1806: Implement SSL/TLS setting to set protocol operation.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4968 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua2')
-rw-r--r-- | pjsip/include/pjsua2/siptypes.hpp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pjsip/include/pjsua2/siptypes.hpp b/pjsip/include/pjsua2/siptypes.hpp index 8e0428b9..c5b23dea 100644 --- a/pjsip/include/pjsua2/siptypes.hpp +++ b/pjsip/include/pjsua2/siptypes.hpp @@ -145,15 +145,25 @@ struct TlsConfig : public PersistentObject string password; /** - * TLS protocol method from pjsip_ssl_method. + * TLS protocol method from #pjsip_ssl_method. In the future, this field + * might be deprecated in favor of <b>proto</b> field. For now, this field + * is only applicable only when <b>proto</b> field is set to zero. * * Default is PJSIP_SSL_UNSPECIFIED_METHOD (0), which in turn will - * use PJSIP_SSL_DEFAULT_METHOD, which default value is - * PJSIP_TLSV1_METHOD. + * use PJSIP_SSL_DEFAULT_METHOD, which default value is PJSIP_TLSV1_METHOD. */ pjsip_ssl_method method; /** + * TLS protocol type from #pj_ssl_sock_proto. Use this field to enable + * specific protocol type. Use bitwise OR operation to combine the protocol + * type. + * + * Default is PJSIP_SSL_DEFAULT_PROTO. + */ + unsigned proto; + + /** * Ciphers and order preference. The Endpoint::utilSslGetAvailableCiphers() * can be used to check the available ciphers supported by backend. * If the array is empty, then default cipher list of the backend |