Static methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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