package cpp
Available on cppstatic cert_add_der (cert:Dynamic, data:BytesData):Dynamic
static cert_add_pem (cert:Dynamic, data:String):Dynamic
static cert_get_altnames (cert:Dynamic):Array<String>
static cert_get_issuer (cert:Dynamic, field:String):String
static cert_get_next (cert:Dynamic):Dynamic
static cert_get_notafter (cert:Dynamic):Array<Int>
static cert_get_notbefore (cert:Dynamic):Array<Int>
static cert_get_subject (cert:Dynamic, field:String):String
static cert_load_defaults ():Dynamic
static cert_load_file (file:String):Dynamic
static cert_load_path (path:String):Dynamic
static conf_close (conf:Dynamic):Void
static conf_new (server:Bool):Dynamic
static conf_set_ca (conf:Dynamic, cert:Dynamic):Void
static conf_set_cert (conf:Dynamic, cert:Dynamic, pkey:Dynamic):Void
static conf_set_servername_callback (conf:Dynamic, cb:Dynamic):Void
static conf_set_verify (conf:Dynamic, mode:Int):Void
static dgst_make (data:BytesData, alg:String):BytesData
static dgst_sign (data:BytesData, key:Dynamic, alg:String):BytesData
static dgst_verify (data:BytesData, sign:BytesData, key:Dynamic, alg:String):Bool
static init ():Void
static key_from_der (data:BytesData, pub:Bool):Dynamic
static key_from_pem (data:String, pub:Bool, pass:String):Dynamic
static ssl_close (ctx:Dynamic):Void
static ssl_get_peer_certificate (ctx:Dynamic):Dynamic
static ssl_get_verify_result (ctx:Dynamic):Bool
static ssl_handshake (ctx:Dynamic):Void
static ssl_new (conf:Dynamic):Dynamic
static ssl_read (ctx:Dynamic):BytesData
static ssl_recv (ctx:Dynamic, buf:BytesData, p:Int, l:Int):Int
static ssl_recv_char (ctx:Dynamic):Int
static ssl_send (ctx:Dynamic, buf:BytesData, p:Int, l:Int):Int
static ssl_send_char (ctx:Dynamic, char:Int):Void
static ssl_set_hostname (ctx:Dynamic, hostname:String):Void
static ssl_set_socket (ctx:Dynamic, socket:Dynamic):Void
static ssl_write (ctx:Dynamic, data:BytesData):Void
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/cpp/NativeSsl.html