Added SSLPluginInterface.h to the Makefile alogside other exported he… - #1574
Conversation
…aderfiles. Added callback function for handling SSL object passed through as an inparameter in SSLSocket_Connect function. Signed-off-by: Boris Bozic u4030882 <u4030882@C2000181.getingegroup.local>
|
I don't think this is the way I would want to allow people to get a pointer to the SSL object - it doesn't follow any of the API conventions but is instead a back door. You would have to sign the Eclipse ECA for a pull request to be accepted (see the checks and the template for PRs.) What exactly are you expecting people to do with the SSL object once they've got it? What we do already is:
|
|
Hi! Thank you for answering, ok then i will do that. We could change it to: |
|
@icraggs Would that work? Or do you have a different proposal? |
|
Yes I prefer the callback to return the OpenSSL object. I'll look into adding that capability into the 1.4.0 branch. |
|
@icraggs |
function.
What does this functionality provide?
This functionality is essential in cybersecurity as it enables users to obtain an X509 Certificate from the SSL object and verify the device attempting to connect. Users can include the SSLPluginInterface.h file in their project and set the callback function "SSLPluginInterface_setcallback(int (callback)(SSL))" with their implementation.
Thank you for your interest in this project managed by the Eclipse Foundation.
The guidelines for contributions can be found in the CONTRIBUTING.md file.
At a minimum, you must sign the Eclipse ECA, and sign off each commit.
To complete and submit a ECA, log into the Eclipse projects forge
You will need to create an account with the Eclipse Foundation if you have not already done so.
Be sure to use the same email address when you register for the account that you intend to use when you commit to Git.
Go to https://accounts.eclipse.org/user/eca to sign the Eclipse ECA.