W3cubDocs

/Haxe C++

NativeSsl

package cpp

Available on cpp

Static methods

staticcert_add_der(cert:Dynamic, data:BytesData):Dynamic

staticcert_add_pem(cert:Dynamic, data:String):Dynamic

staticcert_get_altnames(cert:Dynamic):Array<String>

staticcert_get_issuer(cert:Dynamic, field:String):String

staticcert_get_next(cert:Dynamic):Dynamic

staticcert_get_notafter(cert:Dynamic):Array<Int>

staticcert_get_notbefore(cert:Dynamic):Array<Int>

staticcert_get_subject(cert:Dynamic, field:String):String

staticcert_load_defaults():Dynamic

staticcert_load_file(file:String):Dynamic

staticcert_load_path(path:String):Dynamic

staticconf_close(conf:Dynamic):Void

staticconf_new(server:Bool):Dynamic

staticconf_set_ca(conf:Dynamic, cert:Dynamic):Void

staticconf_set_cert(conf:Dynamic, cert:Dynamic, pkey:Dynamic):Void

staticconf_set_servername_callback(conf:Dynamic, cb:Dynamic):Void

staticconf_set_verify(conf:Dynamic, mode:Int):Void

staticdgst_make(data:BytesData, alg:String):BytesData

staticdgst_sign(data:BytesData, key:Dynamic, alg:String):BytesData

staticdgst_verify(data:BytesData, sign:BytesData, key:Dynamic, alg:String):Bool

staticinit():Void

statickey_from_der(data:BytesData, pub:Bool):Dynamic

statickey_from_pem(data:String, pub:Bool, pass:String):Dynamic

staticssl_close(ctx:Dynamic):Void

staticssl_debug_set(int:Int):Void

staticssl_get_peer_certificate(ctx:Dynamic):Dynamic

staticssl_get_verify_result(ctx:Dynamic):Bool

staticssl_handshake(ctx:Dynamic):Void

staticssl_new(conf:Dynamic):Dynamic

staticssl_read(ctx:Dynamic):BytesData

staticssl_recv(ctx:Dynamic, buf:BytesData, p:Int, l:Int):Int

staticssl_recv_char(ctx:Dynamic):Int

staticssl_send(ctx:Dynamic, buf:BytesData, p:Int, l:Int):Int

staticssl_send_char(ctx:Dynamic, char:Int):Void

staticssl_set_hostname(ctx:Dynamic, hostname:String):Void

staticssl_set_socket(ctx:Dynamic, socket:Dynamic):Void

staticssl_write(ctx:Dynamic, data:BytesData):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cpp/NativeSsl.html