2 // btls-x509-lookup-mono.h
5 // Created by Martin Baulig on 3/3/16.
6 // Copyright © 2016 Xamarin. All rights reserved.
9 #ifndef __btls__btls_x509_lookup_mono__
10 #define __btls__btls_x509_lookup_mono__
14 #include "btls-x509.h"
15 #include "btls-x509-store.h"
17 typedef int (* MonoBtlsX509LookupMono_BySubject
) (const void *instance
, MonoBtlsX509Name
*name
, X509
**ret
);
19 MONO_API MonoBtlsX509LookupMono
*
20 mono_btls_x509_lookup_mono_new (void);
23 mono_btls_x509_lookup_mono_free (MonoBtlsX509LookupMono
*mono
);
26 mono_btls_x509_lookup_mono_init (MonoBtlsX509LookupMono
*mono
, const void *instance
,
27 MonoBtlsX509LookupMono_BySubject by_subject_func
);
30 mono_btls_x509_lookup_add_mono (MonoBtlsX509Lookup
*lookup
, MonoBtlsX509LookupMono
*mono
);
32 MONO_API X509_LOOKUP_METHOD
*
33 mono_btls_x509_lookup_mono_method (void);
35 #endif /* defined(__btls__btls_x509_lookup_mono__) */