Libraryless. Click here for Pure Java version (1649L/11K).
1 | import javax.net.ssl.*; |
2 | |
3 | static KeyStore keyStoreFromFile(File keystoreFile, char[] passphrase) ctex { |
4 | KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType()); |
5 | temp InputStream keystoreStream = new FileInputStream(keystoreFile); |
6 | keystore.load(keystoreStream, passphrase); |
7 | ret keystore; |
8 | } |
Began life as a copy of #1024326
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024327 |
Snippet name: | keyStoreFromFile |
Eternal ID of this version: | #1024327/1 |
Text MD5: | 976fcb739f0bb1418d8469c3ac107004 |
Transpilation MD5: | d51a2efc14c79c75d486168c2beb7abe |
Author: | stefan |
Category: | javax / https |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-02 14:51:59 |
Source code size: | 314 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 190 / 278 |
Referenced in: | [show references] |