Class Eabi_Livehandler_Helper_Keypair
Helper class for generating RSA public and private keys
-
Mage_Core_Helper_Abstract
-
Eabi_Livehandler_Helper_Keypair
Methods summary
public
|
#
generateKeyPair( array $input, array $conf = array('private_key_bits' => 2048), mixed $numberofdays = 3650 )
Generates new RSA keypair and returns it as assoc array with following
keys:
- <strong>privkey</strong> - private key .pem encoded string
- <strong>csr</strong> - public key which has been signed with
generated private key
- <strong>pubkey</strong> - public key .pem encoded certificate
string
Input uses following options:
- <strong>countryName</strong> - Country code uppercase goes here,
like EE
- <strong>stateOrProvinceName</strong> - County or state name goes
here
- <strong>localityName</strong> - Name of the city goes here
- <strong>organizationName</strong> - Name of the company goes
here
- <strong>organizationalUnitName</strong> - Company www goes
here
- <strong>commonName</strong> - Name of the person who generated
this cert goes here or name of the person on board
- <strong>emailAddress</strong> - Ggeneric company e-mail goes
here
Private key is not encrypted with any password
Generates new RSA keypair and returns it as assoc array with following
keys:
- <strong>privkey</strong> - private key .pem encoded string
- <strong>csr</strong> - public key which has been signed with
generated private key
- <strong>pubkey</strong> - public key .pem encoded certificate
string
Input uses following options:
- <strong>countryName</strong> - Country code uppercase goes here,
like EE
- <strong>stateOrProvinceName</strong> - County or state name goes
here
- <strong>localityName</strong> - Name of the city goes here
- <strong>organizationName</strong> - Name of the company goes
here
- <strong>organizationalUnitName</strong> - Company www goes
here
- <strong>commonName</strong> - Name of the person who generated
this cert goes here or name of the person on board
- <strong>emailAddress</strong> - Ggeneric company e-mail goes
here
Private key is not encrypted with any password
Parameters
- $input
array $input
- $conf
array $conf
- $numberofdays
|
final public
array
|
#
getDefaultKeyData( )
Returns assoc array of values used to initiate public-private certificates
for this installation.
Default values are:
- <strong>countryName</strong> - Default declared country for this
installation
- <strong>stateOrProvinceName</strong> - N/A
- <strong>localityName</strong> - N/A
- <strong>organizationName</strong> - N/A
- <strong>organizationalUnitName</strong> - Store base url hosts,
comma separated
- <strong>commonName</strong> - Aktsiamaailm LLC
- <strong>emailAddress</strong> - Default general e-mail address
for this installation
Returns assoc array of values used to initiate public-private certificates
for this installation.
Default values are:
- <strong>countryName</strong> - Default declared country for this
installation
- <strong>stateOrProvinceName</strong> - N/A
- <strong>localityName</strong> - N/A
- <strong>organizationName</strong> - N/A
- <strong>organizationalUnitName</strong> - Store base url hosts,
comma separated
- <strong>commonName</strong> - Aktsiamaailm LLC
- <strong>emailAddress</strong> - Default general e-mail address
for this installation
Returns
array
|
protected
boolean|string
|
#
_getStoreConfig( string $path )
Fetches config data when Mage::getStoreConfig is not available
Fetches config data when Mage::getStoreConfig is not available
Parameters
Returns
boolean|string
|
protected
Eabi_Livehandler_Helper_Data
|
|
protected
Mage_Core_Model_Config_Data
|
|