Changeset 5821 for pjproject/trunk/pjlib/include/pj/ssl_sock.h
- Timestamp:
- Jul 15, 2018 2:09:23 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/ssl_sock.h
r5725 r5821 192 192 } pj_ssl_cert_info; 193 193 194 /** 195 * The SSL certificate buffer. 196 */ 197 typedef pj_str_t pj_ssl_cert_buffer; 194 198 195 199 /** … … 242 246 pj_ssl_cert_t **p_cert); 243 247 248 249 /** 250 * Create credential from data buffer. The certificate expected is in 251 * PEM format. 252 * 253 * @param CA_file The buffer of trusted CA list. 254 * @param cert_file The buffer of certificate. 255 * @param privkey_file The buffer of private key. 256 * @param privkey_pass The password of private key, if any. 257 * @param p_cert Pointer to credential instance to be created. 258 * 259 * @return PJ_SUCCESS when successful. 260 */ 261 PJ_DECL(pj_status_t) pj_ssl_cert_load_from_buffer(pj_pool_t *pool, 262 const pj_ssl_cert_buffer *CA_buf, 263 const pj_ssl_cert_buffer *cert_buf, 264 const pj_ssl_cert_buffer *privkey_buf, 265 const pj_str_t *privkey_pass, 266 pj_ssl_cert_t **p_cert); 244 267 245 268 /**
Note: See TracChangeset
for help on using the changeset viewer.