More disambiguation of Python in makefiles (#18284)
[mono-project.git] / mono / btls / btls-x509-revoked.h
blob38a094e9b8ad72fe61bd91c3eda56edc6b0d2361
1 //
2 // btls-x509-revoked.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_revoked__
10 #define __btls__btls_x509_revoked__
12 #include <stdio.h>
13 #include "btls-ssl.h"
14 #include "btls-x509-crl.h"
16 MONO_API MonoBtlsX509Revoked *
17 mono_btls_x509_revoked_new (MonoBtlsX509Crl *owner, X509_REVOKED *revoked);
19 MONO_API void
20 mono_btls_x509_revoked_free (MonoBtlsX509Revoked *revoked);
22 MONO_API int
23 mono_btls_x509_revoked_get_serial_number (MonoBtlsX509Revoked *revoked, char *buffer, int size);
25 MONO_API int64_t
26 mono_btls_x509_revoked_get_revocation_date (MonoBtlsX509Revoked *revoked);
28 MONO_API int
29 mono_btls_x509_revoked_get_reason (MonoBtlsX509Revoked *revoked);
31 MONO_API int
32 mono_btls_x509_revoked_get_sequence (MonoBtlsX509Revoked *revoked);
34 #endif /* __btls__btls_x509_revoked__ */