@@ -168,6 +168,7 @@ public struct unitytls_tlsctx_callbacks
168
168
public class unitytls_interface_struct
169
169
{
170
170
public readonly UInt64 UNITYTLS_INVALID_HANDLE ;
171
+ public readonly unitytls_tlsctx_protocolrange UNITYTLS_TLSCTX_PROTOCOLRANGE_DEFAULT ;
171
172
172
173
public delegate unitytls_errorstate unitytls_errorstate_create_t ( ) ;
173
174
public unitytls_errorstate_create_t unitytls_errorstate_create ;
@@ -176,6 +177,8 @@ public class unitytls_interface_struct
176
177
177
178
public delegate unitytls_key_ref unitytls_key_get_ref_t ( unitytls_key * key , unitytls_errorstate * errorState ) ;
178
179
public unitytls_key_get_ref_t unitytls_key_get_ref ;
180
+ public delegate unitytls_key * unitytls_key_parse_pem_t ( Int8 * buffer , size_t bufferLen , UInt8 * password , size_t passwordLen , unitytls_errorstate * errorState ) ;
181
+ public unitytls_key_parse_der_t unitytls_key_parse_pem ;
179
182
public delegate unitytls_key * unitytls_key_parse_der_t ( UInt8 * buffer , size_t bufferLen , UInt8 * password , size_t passwordLen , unitytls_errorstate * errorState ) ;
180
183
public unitytls_key_parse_der_t unitytls_key_parse_der ;
181
184
public delegate void unitytls_key_free_t ( unitytls_key * key ) ;
@@ -194,6 +197,8 @@ public class unitytls_interface_struct
194
197
public unitytls_x509list_append_t unitytls_x509list_append ;
195
198
public delegate void unitytls_x509list_append_der_t ( unitytls_x509list * list , UInt8 * buffer , size_t bufferLen , unitytls_errorstate * errorState ) ;
196
199
public unitytls_x509list_append_der_t unitytls_x509list_append_der ;
200
+ public delegate void unitytls_x509list_append_pem_t ( unitytls_x509list * list , Int8 * buffer , size_t bufferLen , unitytls_errorstate * errorState ) ;
201
+ public unitytls_x509list_append_der_t unitytls_x509list_append_pem ;
197
202
public delegate void unitytls_x509list_free_t ( unitytls_x509list * list ) ;
198
203
public unitytls_x509list_free_t unitytls_x509list_free ;
199
204
0 commit comments