in aws-crt/IO/TlsContext.cs [93:125]
public delegate Handle aws_dotnet_tls_ctx_new_client(Int32 min_tls_version,
[MarshalAs(UnmanagedType.LPStr)] string ca_file,
[MarshalAs(UnmanagedType.LPStr)] string ca_path,
[MarshalAs(UnmanagedType.LPStr)] string alpn_list,
[MarshalAs(UnmanagedType.LPStr)] string cert_path,
[MarshalAs(UnmanagedType.LPStr)] string key_path,
[MarshalAs(UnmanagedType.LPStr)] string pkcs12_path,
[MarshalAs(UnmanagedType.LPStr)] string pkcs12_password,
UInt32 max_fragment_size,
byte verify_peer);
[UnmanagedFunctionPointerAttribute(CallingConvention.Cdecl)]
public delegate Handle aws_dotnet_tls_ctx_new_server(Int32 min_tls_version,
[MarshalAs(UnmanagedType.LPStr)] string ca_file,
[MarshalAs(UnmanagedType.LPStr)] string ca_path,
[MarshalAs(UnmanagedType.LPStr)] string alpn_list,
[MarshalAs(UnmanagedType.LPStr)] string cert_path,
[MarshalAs(UnmanagedType.LPStr)] string key_path,
[MarshalAs(UnmanagedType.LPStr)] string pkcs12_path,
[MarshalAs(UnmanagedType.LPStr)] string pkcs12_password,
UInt32 max_fragment_size,
byte verify_peer);
[UnmanagedFunctionPointerAttribute(CallingConvention.Cdecl)]
public delegate void aws_dotnet_tls_ctx_destroy(IntPtr ctx);
public static aws_dotnet_tls_ctx_new_client make_new_client = NativeAPI.Bind<aws_dotnet_tls_ctx_new_client>();
public static aws_dotnet_tls_ctx_new_server make_new_server = NativeAPI.Bind<aws_dotnet_tls_ctx_new_server>();
public static aws_dotnet_tls_ctx_destroy destroy = NativeAPI.Bind<aws_dotnet_tls_ctx_destroy>();
}
public class Handle : CRT.Handle
{