Public/Private Key Pair Unique?

2010-07-20 Thread PS
Let us say I have a certificate and a private key pair (C1, K1) Now, lets say I received a Certificate, C2 on the wire. Now, I want to know whether the pvt-key K1 corresponds to the private key of C2. One method is encrypt a Known random number with pub-key in C2 and decrypt with K1 and see if the

Re: AES128 CBC

2010-07-20 Thread Rudy1
Hi Anthony, that makes definitely sense for me. I encrypt data from pdf so I got the whole 292 bytes at one go. Thank you for your patience! Rudy Anthony Gabrielson-4 wrote: Hi Rudy, I added call when needed because EncryptUpdate can be called more than once, as long as EncryptFinal

RE: Public/Private Key Pair Unique?

2010-07-20 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of PS Sent: Tuesday, 20 July, 2010 14:40 To: openssl-users@openssl.org Subject: Public/Private Key Pair Unique? Let us say I have a certificate and a private key pair (C1, K1) Now, lets say I received a

Re: Public/Private Key Pair Unique?

2010-07-20 Thread Kyle Hamilton
Your question makes no sense. If you know PK1 (contained in C1), and you know K1, then if you receive C2 that contained PK1, you know that someone's trying to make you think you're talking to yourself. (Nobody else can, by the rules of PKI, have K1 but you -- which is why the challenge/response