- Timestamp:
- Dec 28, 2016 3:40:07 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk (added) merged: 5209,5212-5234,5237-5253,5255,5257-5292,5294-5297,5299-5332,5334-5394,5396-5438,5440-5469,5471-5496,5498-5510
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjsip/include/pjsip/sip_transport_tls.h
r5089 r5513 142 142 143 143 /** 144 * Number of curves contained in the specified curve preference. 145 * If this is set to zero, then default curve list of the backend 146 * will be used. 147 * 148 * Default: 0 (zero). 149 */ 150 unsigned curves_num; 151 152 /** 153 * Curves and order preference. The #pj_ssl_curve_get_availables() 154 * can be used to check the available curves supported by backend. 155 */ 156 pj_ssl_curve *curves; 157 158 /** 159 * The supported signature algorithms. Set the sigalgs string 160 * using this form: 161 * "<DIGEST>+<ALGORITHM>:<DIGEST>+<ALGORITHM>" 162 * Digests are: "RSA", "DSA" or "ECDSA" 163 * Algorithms are: "MD5", "SHA1", "SHA224", "SHA256", "SHA384", "SHA512" 164 * Example: "ECDSA+SHA256:RSA+SHA256" 165 */ 166 pj_str_t sigalgs; 167 168 /** 169 * Reseed random number generator. 170 * For type #PJ_SSL_ENTROPY_FILE, parameter \a entropy_path 171 * must be set to a file. 172 * For type #PJ_SSL_ENTROPY_EGD, parameter \a entropy_path 173 * must be set to a socket. 174 * 175 * Default value is PJ_SSL_ENTROPY_NONE. 176 */ 177 pj_ssl_entropy_t entropy_type; 178 179 /** 180 * When using a file/socket for entropy #PJ_SSL_ENTROPY_EGD or 181 * #PJ_SSL_ENTROPY_FILE, \a entropy_path must contain the path 182 * to entropy socket/file. 183 * 184 * Default value is an empty string. 185 */ 186 pj_str_t entropy_path; 187 188 /** 144 189 * Specifies TLS transport behavior on the server TLS certificate 145 190 * verification result: … … 293 338 pj_strdup_with_null(pool, &dst->privkey_file, &src->privkey_file); 294 339 pj_strdup_with_null(pool, &dst->password, &src->password); 340 pj_strdup_with_null(pool, &dst->sigalgs, &src->sigalgs); 341 pj_strdup_with_null(pool, &dst->entropy_path, &src->entropy_path); 295 342 if (src->ciphers_num) { 296 343 unsigned i; … … 299 346 for (i=0; i<src->ciphers_num; ++i) 300 347 dst->ciphers[i] = src->ciphers[i]; 348 } 349 350 if (src->curves_num) { 351 unsigned i; 352 dst->curves = (pj_ssl_curve*) pj_pool_calloc(pool, src->curves_num, 353 sizeof(pj_ssl_curve)); 354 for (i=0; i<src->curves_num; ++i) 355 dst->curves[i] = src->curves[i]; 301 356 } 302 357 }
Note: See TracChangeset
for help on using the changeset viewer.