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

Keystorefactory: Pass class instead of object #432

Merged
merged 4 commits into from
Apr 20, 2016
Merged

Keystorefactory: Pass class instead of object #432

merged 4 commits into from
Apr 20, 2016

Conversation

F43nd1r
Copy link
Member

@F43nd1r F43nd1r commented Apr 14, 2016

It seems to be problematic to expect every user to honor that keystorefactories have to be serializable.
Also the keystorefactory could not be configured with the annotation.

This is why I rewrote it to pass the keystorefactory class (which doesn't have to be serializable) instead of the object to the configuration. This also decreases the size of the configuration object itself.

I also added configuration options for the 3 default certificate locations: raw resources, assets and files. (Because passing the KeyStoreFactory implementations wont work, they have no empty constructor.)

@william-ferguson-au william-ferguson-au merged commit a78a101 into ACRA:master Apr 20, 2016
@F43nd1r F43nd1r deleted the keystorefactory branch May 4, 2018 10:38
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