Refactoring

Good morning guys, I'm planning to add certificate validation for Android as we previously discussed. To me it doesn't make sense to create another key store only for this.

For this reason I would like to extract the bits of the current key store to a separate class, into this way cert validation and password might benefit of the same class.

I'm still working on it, but wouldn't like to move forward without before get your feedback. Unit tests weren't added yet, punch me.