Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Key.php
Go to the documentation of this file.
1 <?php
29 class Zend_Crypt_Rsa_Key implements Countable
30 {
34  protected $_pemString = null;
35 
41  protected $_details = array();
42 
48  protected $_opensslKeyResource = null;
49 
55  public function getOpensslKeyResource()
56  {
58  }
59 
64  public function toString()
65  {
66  if (!empty($this->_pemString)) {
67  return $this->_pemString;
68  } elseif (!empty($this->_certificateString)) {
69  return $this->_certificateString;
70  }
74  #require_once 'Zend/Crypt/Exception.php';
75  throw new Zend_Crypt_Exception('No public key string representation is available');
76  }
77 
81  public function __toString()
82  {
83  return $this->toString();
84  }
85 
86  public function count()
87  {
88  return $this->_details['bits'];
89  }
90 
91  public function getType()
92  {
93  return $this->_details['type'];
94  }
95 }
elseif(isset( $params[ 'redirect_parent']))
Definition: iframe.phtml:17
getOpensslKeyResource()
Definition: Key.php:55