Libraryless. Click here for Pure Java version (1649L/11K).
import javax.net.ssl.*; static KeyStore keyStoreFromFile(File keystoreFile, char[] passphrase) ctex { KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType()); temp InputStream keystoreStream = new FileInputStream(keystoreFile); keystore.load(keystoreStream, passphrase); ret keystore; }
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: | 191 / 278 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |