|
From: | Mingfa Ma |
Subject: | [OATH-Toolkit-help] Encryption Based on Asymmetric Keys in RFC 6030 |
Date: | Fri, 25 Jan 2013 10:57:47 -0000 |
Hi, All, Just wonder if anybody did some test on its seed example which uses Encryption Based on Asymmetric Keys (Figure 8)? I can’t find the corresponding private key to that X509Certificate. Does Anybody know where to get it from? I tried to use the public key in that X509 certificate to do PKCS#1 v1.5 encryption on the plaintext value of <Secret> '3132333435363738393031323334353637383930'. The result (after base64) was different from the one given in Figure 8. <xenc:CipherValue>hJ+fvpoMPMO9BYpK2rdyQYGIxiATYHTHC7e/sPLKYo5/r1v+4 xTYG3gJolCWuVMydJ7Ta0GaiBPHcWa8ctCVYmHKfSz5fdeV5nqbZApe6dofTqhRwZK6 Yx4ufevi91cjN2vBpSxYafvN3c3+xIgk0EnTV4iVPRCR0rBwyfFrPc4= </xenc:CipherValue> Regards Mike |
[Prev in Thread] | Current Thread | [Next in Thread] |