Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for WOLFSSL_X509 cert gen, WOLFSSL_ALT_NAMES to --enable-jni #6585

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

cconlon
Copy link
Member

@cconlon cconlon commented Jul 7, 2023

Description

This PR accompanies work being done in wolfSSL JNI/JSSE for certificate generation. wolfSSL JNI is using the WOLFSSL_X509 APIs for cert gen, where these fixes were needed along the way to assist in setting of key usage, extended key usage, and basic constraints.

This PR also modifies the --enable-jni build option to define WOLFSSL_ALT_NAMES, which is needed for cert generation wrapper support.

Testing

Tested through wolfSSL JNI/JSSE. Also added some test cases to api.c for setting/getting X509 keyUsage and extendedKeyUsage.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@cconlon cconlon self-assigned this Jul 7, 2023
@cconlon cconlon force-pushed the x509Ext branch 2 times, most recently from f242080 to 9c79df7 Compare July 12, 2023 20:17
@JacobBarthelmeh JacobBarthelmeh merged commit b889b27 into wolfSSL:master Jul 12, 2023
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants