Added password support for generation of private key, certificate, and read of public key.