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

Android - Load client certificate from local storage #1241

Merged
merged 3 commits into from
Oct 13, 2022

Conversation

akioyamamoto1977
Copy link
Contributor

Added a feature to read a client certificate from local storage.

Connection with issue(s)

Resolve issue #1085

The original code supports only loading a client certificate in assets folder.
This customization is to load from local storage tree if the certificate path begins with "/" (full path)

Testing and Review Notes

No screen shot, but only few lines added.
Both localstorage and assets files are tested to be loaded as a client certificate

Added a feature to read a client certificate from local storage.
Try `getFileAsset` first and then `new FileInputStream`
@pichillilorenzo pichillilorenzo changed the title Client certificate from local storage Android - Load client certificate from local storage Oct 13, 2022
@pichillilorenzo pichillilorenzo merged commit 3681e2c into pichillilorenzo:master Oct 13, 2022
@pichillilorenzo
Copy link
Owner

Thanks! @all-contributors please add @akioyamamoto1977 for code

@allcontributors
Copy link
Contributor

@pichillilorenzo

I've put up a pull request to add @akioyamamoto1977! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants