As many of our readers know, the wolfSSL embedded SSL/TLS library includes an OpenSSL compatibility layer. This layer makes it easier to replace OpenSSL with wolfSSL in applications that have previously been using OpenSSL.
As wolfSSL is ported into more and more projects that have previously used OpenSSL, our compatibility layer expands. As part of a recent project, we have added 15 new functions to the OpenSSL compatibility layer, including:
We also added 4 helper functions related to these new compatibility layer functions:
int wolfSSL_ASN1_TIME_get_length(WOLFSSL_ASN1_TIME *t)
Get length member data of WOLFSSL_ASN1_TIME structure.
unsigned char* wolfSSL_ASN1_TIME_get_data(WOLFSSL_ASN1_TIME *t)
Get data member data of WOLFLSSL_ASN1_TIME structure and return pointer of ASN1_TIME data.
int wolfSSL_X509_CA_num(WOLFSSL_X509_STORE* store)
Return number of signer in cert manager of WOLFSSL_X509_STORE.
long wolfSSL_X509_get_version(const WOLFSSL_X509 *x509)
Return version number of X509.
There are several reasons that users switch from OpenSSL to wolfSSL, including memory usage, portability, algorithm support, CAVP and FIPS 140-2 validations, and the availability of excellent commercial support. To learn more about the advantages of using wolfSSL, visit our page on “wolfSSL vs. OpenSSL”. If you have any questions about using wolfSSL in your application, or replacing OpenSSL with wolfSSL, please reach out to our support team at email@example.com!