1 | lib 1011969 lib 1011968 // bouncycastle |
2 | static LS _stickyLibs_bouncyCastle = ll(#1011969, #1011968); |
3 | |
4 | lib 1400450 // web-push-5.1.1 |
5 | |
6 | import org.bouncycastle.jce.ECNamedCurveTable; |
7 | import org.bouncycastle.jce.interfaces.ECPrivateKey; |
8 | import org.bouncycastle.jce.interfaces.ECPublicKey; |
9 | import org.bouncycastle.jce.spec.ECNamedCurveParameterSpec; |
10 | import org.bouncycastle.jce.provider.BouncyCastleProvider; |
11 | |
12 | svoid registerBouncyCastle { |
13 | Provider provider = Security.getProvider(org.bouncycastle.jce.provider.BouncyCastleProvider.PROVIDER_NAME); |
14 | if (provider == null) { |
15 | print("Registering BouncyCastle"); |
16 | Security.addProvider(new BouncyCastleProvider); |
17 | provider = Security.getProvider(org.bouncycastle.jce.provider.BouncyCastleProvider.PROVIDER_NAME); |
18 | } |
19 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030462 |
Snippet name: | BouncyCastle + web-push Include |
Eternal ID of this version: | #1030462/4 |
Text MD5: | 2bdace83c9002595afbb761fd2b218ab |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-12-21 17:45:59 |
Source code size: | 787 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 156 / 296 |
Version history: | 3 change(s) |
Referenced in: | [show references] |