Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Android Keystore Provider and Keyhandle by Team Netwatch (B) (#5)
* feat: added internal work to fork * fix: added missing changes * feat: implemented config * fix: added lib cratetype * fix: AndroidConfig has to be public * fix: missing match in instance * fix: don't load java vm in initialize_module, as it will be called before the config was passed * feat: added default logging implementation for android * feat: implemented symmetric algorithm for encryption, *not tested * fix: change traits to use Box<dyn Any> When using Box<dyn ProviderConfig>, you would have to upcast the dyn ProviderConfig to dyn Any. This feature is currently experimental (rust-lang/rust#65991). As ProviderConfig is always going to be turned into an Any, it has no real purpose anyways. BREAKING * test(mod.rs): adding the tests again * feat: Add set_key_size and set_algorithm_parameter_spec methods to Builder * fix: Update set_algorithm_parameter_spec method in Builder * feat: docs for set_block_modes, set_key_size and set_algorithm_parameter_spec * fix: builder methods using wrong parameters * feat: wrapped KeyGenerator for symmetric encryption * feat: added symetrical encryption for android * fix: added more paddings * fix: readded common tests * fix: readded other tests * fix: mod.rs * fix: wrang hash names for signature --------- Co-authored-by: markoisus <marko.nikolic34567@gmail.com> Co-authored-by: Dexter <84778260+DexterHK@users.noreply.github.com> Co-authored-by: Baibars <dexterhk01@gmail.com>
- Loading branch information