1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| #pragma once
|
| #include <stdint.h>
|
| namespace il2cpp
| {
| namespace os
| {
| typedef enum
| {
| DATATYPE_STRING = 0,
| DATATYPE_INTPTR = 1,
| DATATYPE_FILE = 2
| } CertDataFormat;
|
| typedef struct
| {
| void* certdata;
| int certsize;
| } CertObj;
|
| class SystemCertificates
| {
| public:
| static void* OpenSystemRootStore();
| static int EnumSystemCertificates(void* certStore, void** iter, int *format, int* size, void** data);
| static void CloseSystemRootStore(void* cStore);
| };
| }
| }
|
|