Why would you store your password in a file? :P

I'm fairly certain that you can encrypt your private key (the httpskey.pem) with a password, right? That's what the extra string in m_CertPrivKey->ParsePrivate() is for. So I was wondering if there was someway, if the key was passworded, to get a user's input and divert it into the string field.