Skip to content

Keystorefactory: Pass class instead of object - #432

Merged
william-ferguson-au merged 4 commits into
ACRA:masterfrom
F43nd1r:keystorefactory
Apr 20, 2016
Merged

Keystorefactory: Pass class instead of object#432
william-ferguson-au merged 4 commits into
ACRA:masterfrom
F43nd1r:keystorefactory

Conversation

@F43nd1r

@F43nd1r F43nd1r commented Apr 14, 2016

Copy link
Copy Markdown
Member

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