26 #require_once 'Zend/Crypt/Rsa/Key.php'; 41 $this->_pemString = $pemString;
42 $this->
_parse($passPhrase);
49 protected function _parse($passPhrase)
51 $result = openssl_get_privatekey($this->_pemString, $passPhrase);
56 #require_once 'Zend/Crypt/Exception.php'; 59 $this->_opensslKeyResource =
$result;
60 $this->_details = openssl_pkey_get_details($this->_opensslKeyResource);
65 if ($this->_publicKey ===
null) {
69 #require_once 'Zend/Crypt/Rsa/Key/Public.php';
__construct($pemString, $passPhrase=null)