> Have a look at how apps/ca.c does this. Theres some stuff in the
> function certify_spkac() that handles this at around line 1993, then you
> get to the part that retrieves the public key in line 2053. Once you've
> got the EVP_PKEY structure you can then get the keylength and algorithm
> from that. As for the fingerprint: it depends on what you mean by
> "fingerprint".
Thanks! I saw someone posted a util to hopefully do the same job :)
Fingerprint to me means some simple to read byte string that is not too long
to become impractical. I observed that after certifying the "fingerprint"
seems to change into something new.....well, still need to figure thatone
out.
I need some means of identifying the public key a user offers to me for
signing. The same identifier needs to show up with the user himself (this
is a problem as you need to actually look into the certification database of
netscape before you can have a look at the key properties before receiving a
certificate :(
Well, enough of my problems, thanks a lot, I'm now able to continue :)
Jan
--
alive=true
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]