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

Add Possibility to Switch Security Provider #53

Open
sayseakleng opened this issue Jun 3, 2020 · 0 comments
Open

Add Possibility to Switch Security Provider #53

sayseakleng opened this issue Jun 3, 2020 · 0 comments

Comments

@sayseakleng
Copy link

Hello there! I'm a fan of this library. It's very helpful.
Anyway, I come across that there should be a possibility to switch security provider as in JCE allows this as the following:

val cipher = Cipher.getInstance(DEFAULT_TRANSFORMATION, new BouncyCastleProvider());
cipher.init(Cipher.ENCRYPT_MODE, loadPublicKey(publicKey));

I really appreciate your contribution to this library.
Looks forward to getting this on a future release.

Best Regard,

Reno

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

No branches or pull requests

1 participant