Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1018438 // pki_newKeyPair

JavaX fragment (include)

1  
static PKIKeyPair pki_newKeyPair() ctex {
2  
  KeyPair keyPair = PKI.makeKeyPair();
3  
  ret PKIKeyPair(
4  
    PKI.privateKeyToString(keyPair.getPrivate().getEncoded()),
5  
    PKI.publicKeyToString(keyPair.getPublic()));
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018438
Snippet name: pki_newKeyPair
Eternal ID of this version: #1018438/2
Text MD5: 2f9bbb808c40a355947909f26dcddafe
Author: stefan
Category: javax / pki
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-30 15:27:45
Source code size: 217 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 376 / 423
Version history: 1 change(s)
Referenced in: [show references]