More disambiguation of Python in makefiles (#18284)
[mono-project.git] / mono / btls / btls-x509-crl.h
blobed0b1d20594ee3bd943eefc17841bb2bff35fe44
1 //
2 // btls-x509-crl.h
3 // MonoBtls
4 //
5 // Created by Martin Baulig on 3/23/16.
6 // Copyright © 2016 Xamarin. All rights reserved.
7 //
9 #ifndef __btls__btls_x509_crl__
10 #define __btls__btls_x509_crl__
12 #include <stdio.h>
13 #include "btls-ssl.h"
14 #include "btls-x509.h"
16 MONO_API MonoBtlsX509Crl *
17 mono_btls_x509_crl_from_data (const void *buf, int len, MonoBtlsX509Format format);
19 MONO_API MonoBtlsX509Crl *
20 mono_btls_x509_crl_ref (MonoBtlsX509Crl *crl);
22 MONO_API int
23 mono_btls_x509_crl_free (MonoBtlsX509Crl *crl);
25 MONO_API MonoBtlsX509Revoked *
26 mono_btls_x509_crl_get_by_cert (MonoBtlsX509Crl *crl, X509 *x509);
28 MONO_API MonoBtlsX509Revoked *
29 mono_btls_x509_crl_get_by_serial (MonoBtlsX509Crl *crl, void *serial, int len);
31 MONO_API int
32 mono_btls_x509_crl_get_revoked_count (MonoBtlsX509Crl *crl);
34 MONO_API MonoBtlsX509Revoked *
35 mono_btls_x509_crl_get_revoked (MonoBtlsX509Crl *crl, int index);
37 MONO_API int64_t
38 mono_btls_x509_crl_get_last_update (MonoBtlsX509Crl *crl);
40 MONO_API int64_t
41 mono_btls_x509_crl_get_next_update (MonoBtlsX509Crl *crl);
43 MONO_API int64_t
44 mono_btls_x509_crl_get_version (MonoBtlsX509Crl *crl);
46 MONO_API MonoBtlsX509Name *
47 mono_btls_x509_crl_get_issuer (MonoBtlsX509Crl *crl);
49 #endif /* __btls__btls_x509_crl__ */