« Return to Thread: Problem with zeroing "n" and "e" parts of a pulick key? (Please help,I've tried so much!!)

Re: Problem with zeroing "n" and "e" parts of a pulick key? (Please help,I've tried so much!!)

by bahareh rostamiyan :: Rate this Message:

Reply to Author | View in Thread

Hi and Thank you very much of your reply!
 
As you mentained, I change the public key manually like below:
 
byte pubkey[] ={0x30,0x5A,0x30,0x0D,0x06,0x09,0x2A,0x86,0x48,0x86,0xF7,0x0D,
0x01,0x01,0x01,0x05,0x00,0x03,0x49,0x00,0x30,0x46,
 0x02,0x41,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,
0x02,0x01,
0x00};
 
I don't change required headers,but only change "n" and "e" parts to 0x00;
But I don't know why do I get the error showed in my previous post after that?!!
 
Would you help me again?!!
 
Best Regards.

On Fri, Jul 3, 2009 at 9:43 PM, rajkosto <rajko@...> wrote:

Create your RSA::PublicKey manually, then use it to make your verifier
object
the PublicKey object supports creation from DER data (like you are
doing), but you can also manually specify its parts too (exponent,
etc)

 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Problem with zeroing "n" and "e" parts of a pulick key? (Please help,I've tried so much!!)