An incomplete Dart wrapper for OpenSSL (libcrypto). The library is provided open source as-is.
Each header is represented by a Dart file, with minimal work done to port it to classes, which keep track of the native handle.
For each class provided, this library calls the respective _new function, as well as providing a dispose() method, which calls the respective _free function and sets the internal handle to null, making further calls invalid.
bio(providesBIO,BIOMethod)BIO_f_base64BIO_getsBIO_new_mem_buf(viaBIO.memory(data)constructor)BIO_number_readBIO_number_writtenBIO_putsBIO_readBIO_s_memBIO_write
bn(providesBigNum)BN_secure_new(viaBigNum.secure()constructor)BN_set_word
err(providesOpenSSLException)ERR_error_string_nERR_func_error_stringERR_get_errorERR_lib_error_stringERR_reason_error_string
evp(providesEVPandPKey)EVP_Digest*EVP_DigestSignFinalEVP_DigestSignInitEVP_DigestUpdate(macro implementation ofEVP_DigestVerifyUpdateandEVP_DigestSignUpdate)EVP_DigestVerifyFinalEVP_DigestVerifyInit
EVP_PKEY_*EVP_PKEY_assign
pem(providesreadBioRSAPrivateKey, ...)PEM_read_bio_RSAPrivateKeyPEM_read_bio_RSAPublicKeyPEM_write_bio_RSAPrivateKeyPEM_write_bio_RSAPublicKey
rsa(providesRSA)RSA_bitsRSA_generate_key_exRSA_security_bitsRSA_signRSA_sizeRSA_verify
bindings.g.dart(contains native bindings generated byffigen)utils.dart(provides extensions for working with native calls)