5 // Created by Martin Baulig on 3/3/16.
6 // Copyright © 2016 Xamarin. All rights reserved.
9 #ifndef __btls__btls_x509_store__
10 #define __btls__btls_x509_store__
16 mono_btls_x509_store_new (void);
19 mono_btls_x509_store_from_ctx (X509_STORE_CTX *ctx);
22 mono_btls_x509_store_from_ssl_ctx (MonoBtlsSslCtx *ctx);
25 mono_btls_x509_store_up_ref (MonoBtlsX509Store *store);
28 mono_btls_x509_store_free (MonoBtlsX509Store *store);
31 mono_btls_x509_store_peek_store (MonoBtlsX509Store *store);
34 mono_btls_x509_store_add_cert (MonoBtlsX509Store *store, X509 *cert);
37 mono_btls_x509_store_load_locations (MonoBtlsX509Store *store, const char *file, const char *path);
40 mono_btls_x509_store_set_default_paths (MonoBtlsX509Store *store);
43 mono_btls_x509_store_get_count (MonoBtlsX509Store *store);
45 #endif /* defined(__btls__btls_x509_store__) */