[build] Skips RemoteExecuted bases tests on monodroid
[mono-project.git] / mono / btls / btls-pkcs12.h
blob6d1687442ff6d8eddc8e15de37f0bf5c7aeffdf8
1 //
2 // btls-pkcs12.h
3 // MonoBtls
4 //
5 // Created by Martin Baulig on 3/8/16.
6 // Copyright © 2016 Xamarin. All rights reserved.
7 //
9 #ifndef __btls__btls_pkcs12__
10 #define __btls__btls_pkcs12__
12 #include <stdio.h>
13 #include "btls-ssl.h"
14 #include "btls-x509.h"
16 MonoBtlsPkcs12 *
17 mono_btls_pkcs12_new (void);
19 int
20 mono_btls_pkcs12_get_count (MonoBtlsPkcs12 *pkcs12);
22 X509 *
23 mono_btls_pkcs12_get_cert (MonoBtlsPkcs12 *pkcs12, int index);
25 STACK_OF(X509) *
26 mono_btls_pkcs12_get_certs (MonoBtlsPkcs12 *pkcs12);
28 int
29 mono_btls_pkcs12_free (MonoBtlsPkcs12 *pkcs12);
31 MonoBtlsPkcs12 *
32 mono_btls_pkcs12_up_ref (MonoBtlsPkcs12 *pkcs12);
34 void
35 mono_btls_pkcs12_add_cert (MonoBtlsPkcs12 *pkcs12, X509 *x509);
37 int
38 mono_btls_pkcs12_import (MonoBtlsPkcs12 *pkcs12, const void *data, int len, const void *password);
40 int
41 mono_btls_pkcs12_has_private_key (MonoBtlsPkcs12 *pkcs12);
43 EVP_PKEY *
44 mono_btls_pkcs12_get_private_key (MonoBtlsPkcs12 *pkcs12);
46 #endif /* __btls__btls_pkcs12__ */