Static methods

@:native("_hx_ssl_cert_add_der")staticcert_add_der(cert:Dynamic, data:BytesData):Dynamic

@:native("_hx_ssl_cert_add_pem")staticcert_add_pem(cert:Dynamic, data:String):Dynamic

@:native("_hx_ssl_cert_get_altnames")staticcert_get_altnames(cert:Dynamic):Array<String>

@:native("_hx_ssl_cert_get_issuer")staticcert_get_issuer(cert:Dynamic, field:String):String

@:native("_hx_ssl_cert_get_next")staticcert_get_next(cert:Dynamic):Dynamic

@:native("_hx_ssl_cert_get_notafter")staticcert_get_notafter(cert:Dynamic):Array<Int>

@:native("_hx_ssl_cert_get_notbefore")staticcert_get_notbefore(cert:Dynamic):Array<Int>

@:native("_hx_ssl_cert_get_subject")staticcert_get_subject(cert:Dynamic, field:String):String

@:native("_hx_ssl_cert_load_defaults")staticcert_load_defaults():Dynamic

@:native("_hx_ssl_cert_load_file")staticcert_load_file(file:String):Dynamic

@:native("_hx_ssl_cert_load_path")staticcert_load_path(path:String):Dynamic

@:native("_hx_ssl_conf_close")staticconf_close(conf:Dynamic):Void

@:native("_hx_ssl_conf_new")staticconf_new(server:Bool):Dynamic

@:native("_hx_ssl_conf_set_ca")staticconf_set_ca(conf:Dynamic, cert:Dynamic):Void

@:native("_hx_ssl_conf_set_cert")staticconf_set_cert(conf:Dynamic, cert:Dynamic, pkey:Dynamic):Void

@:native("_hx_ssl_conf_set_servername_callback")staticconf_set_servername_callback(conf:Dynamic, cb:Dynamic):Void

@:native("_hx_ssl_conf_set_verify")staticconf_set_verify(conf:Dynamic, mode:Int):Void

@:native("_hx_ssl_dgst_make")staticdgst_make(data:BytesData, alg:String):BytesData

@:native("_hx_ssl_dgst_sign")staticdgst_sign(data:BytesData, key:Dynamic, alg:String):BytesData

@:native("_hx_ssl_dgst_verify")staticdgst_verify(data:BytesData, sign:BytesData, key:Dynamic, alg:String):Bool

@:native("_hx_ssl_init")staticinit():Void

@:native("_hx_ssl_key_from_der")statickey_from_der(data:BytesData, pub:Bool):Dynamic

@:native("_hx_ssl_key_from_pem")statickey_from_pem(data:String, pub:Bool, pass:String):Dynamic

@:native("_hx_ssl_close")staticssl_close(ctx:Dynamic):Void

@:native("_hx_ssl_get_peer_certificate")staticssl_get_peer_certificate(ctx:Dynamic):Dynamic

@:native("_hx_ssl_get_verify_result")staticssl_get_verify_result(ctx:Dynamic):Bool

@:native("_hx_ssl_handshake")staticssl_handshake(ctx:Dynamic):Void

@:native("_hx_ssl_new")staticssl_new(conf:Dynamic):Dynamic

@:native("_hx_ssl_read")staticssl_read(ctx:Dynamic):BytesData

@:native("_hx_ssl_recv")staticssl_recv(ctx:Dynamic, buf:BytesData, p:Int, l:Int):Int

@:native("_hx_ssl_recv_char")staticssl_recv_char(ctx:Dynamic):Int

@:native("_hx_ssl_send")staticssl_send(ctx:Dynamic, buf:BytesData, p:Int, l:Int):Int

@:native("_hx_ssl_send_char")staticssl_send_char(ctx:Dynamic, char:Int):Void

@:native("_hx_ssl_set_hostname")staticssl_set_hostname(ctx:Dynamic, hostname:String):Void

@:native("_hx_ssl_set_socket")staticssl_set_socket(ctx:Dynamic, socket:Dynamic):Void

@:native("_hx_ssl_write")staticssl_write(ctx:Dynamic, data:BytesData):Void