Brian A. Seklecki wrote:
RSA and DSA are different types of key formats.  They do not imply
protecting the private keywith an encryption algorithm.
If you look at gendsa(1) or genrsa(1), you will see that passphrase
protection is optional to both, and that there a good many choices.

default_md is actually something from ca(1), it's the crypto signature
algorithm for public keys / certificates, and really doesn't apply to
private keys.

That's all nice but doesn't change the answer to your question - php only supports creating one type of key.

If you want to create different types of keys then join the php-internals list and discuss it with them - maybe it'll become available in a future php version.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to