> > I've used SSLeay back in 1996 once, and then a few weeks ago for my
> patch.
> > You don't need to be an openssl expert, but as with all cryptography you
> > should have some basic understanding before using it.
> which is why i'm still confused on how you intend to get any of the
> openssl functions to simply figure out the key type it is.  especially if
> store it in PEM, much less DSA.

The PHP code uses PEM_ASN1_read_bio to parse the PEM. This function works
for both RSA and DSA key stored in PEM. It returns a pointer to a EVP_PKEY
structure, which in turn has a variable type that tells which type of key this


PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to