Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
Zend_Crypt_Rsa_Key Class Reference
Inheritance diagram for Zend_Crypt_Rsa_Key:
Zend_Crypt_Rsa_Key_Private Zend_Crypt_Rsa_Key_Public

Public Member Functions

 getOpensslKeyResource ()
 
 toString ()
 
 __toString ()
 
 count ()
 
 getType ()
 

Protected Attributes

 $_pemString = null
 
 $_details = array()
 
 $_opensslKeyResource = null
 

Detailed Description

Definition at line 29 of file Key.php.

Member Function Documentation

◆ __toString()

__toString ( )
Returns
string

Definition at line 81 of file Key.php.

82  {
83  return $this->toString();
84  }

◆ count()

count ( )

Definition at line 86 of file Key.php.

87  {
88  return $this->_details['bits'];
89  }

◆ getOpensslKeyResource()

getOpensslKeyResource ( )

Retrieves key resource

Returns
resource

Definition at line 55 of file Key.php.

56  {
58  }

◆ getType()

getType ( )

Definition at line 91 of file Key.php.

92  {
93  return $this->_details['type'];
94  }

◆ toString()

toString ( )
Returns
string
Exceptions
Zend_Crypt_Exception
See also
Zend_Crypt_Exception

Definition at line 64 of file Key.php.

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  }
elseif(isset( $params[ 'redirect_parent']))
Definition: iframe.phtml:17

Field Documentation

◆ $_details

$_details = array()
protected

Definition at line 41 of file Key.php.

◆ $_opensslKeyResource

$_opensslKeyResource = null
protected

Definition at line 48 of file Key.php.

◆ $_pemString

$_pemString = null
protected

Definition at line 34 of file Key.php.


The documentation for this class was generated from the following file: