Re: SHA-1 hash of public key

2004-02-29 Thread Dr. Stephen Henson
On Sat, Feb 28, 2004, Guido Noord wrote: > Hi Steve, all, > > If I am not mistaken, the i2d_RSA_PUBKEY method (i2d meaning > internal-to-DER?) does then indeed provide what I need, namely a method to > encode the RSA public key data into a single, portable, platform > independent data representat

Re: SHA-1 hash of public key

2004-02-29 Thread Guido Noord
Hi Steve, all, Thanks for the pointer to, among other things, i2d_RSA_PUBKEY. I am not sure of everything yet, but I can find out now, probably. To respond to your question: I try to do something similar to what is done in ssh: store the SHA-1 of a peer's public key into a local table (e.g., on d

Re: SHA-1 hash of public key

2004-02-27 Thread Dr. Stephen Henson
On Fri, Feb 27, 2004, Guido Noord wrote: > Hi, > > I am a newbe to openssl. The documentation is not very enlightning to me > so far I'm afraid. > > What I am trying to do is to take the "sha-1 hash of a public key > obtained from a peer". So, I first do a SSL_connect, > obtaining the X509 certi

SHA-1 hash of public key

2004-02-27 Thread Guido Noord
Hi, I am a newbe to openssl. The documentation is not very enlightning to me so far I'm afraid. What I am trying to do is to take the "sha-1 hash of a public key obtained from a peer". So, I first do a SSL_connect, obtaining the X509 certificate of the peer. So far so good, this is standard SSL s