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

6
LINES

< > BotCompany Repo | #1018441 // pki_signTextIncludingKey

JavaX fragment (include)

sS pki_signTextIncludingKey(S s, PKIKeyPair keyPair) {
  s = fromLines(toLines(s));
  ret s
    + "sig: " + pki_signatureForText(s, keyPair) + "\n"
    + "signer: " + keyPair.publicKey + "\n";
}

Author comment

Began life as a copy of #1018440

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: #1018441
Snippet name: pki_signTextIncludingKey
Eternal ID of this version: #1018441/3
Text MD5: dd344131e6883799695bf8b8f9689ec5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-30 15:58:20
Source code size: 201 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 252 / 317
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)