PHP Class Horde_Pgp_Element_PrivateKey, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Pgp_Element_Key
Datei anzeigen Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_armor

Public Methods

Method Description
__get ( $name )
getPublicKey ( )
getUnencryptedKey ( string $passphrase = null ) : Horde_Pgp_Element_PrivateKey Return the unencrypted version of the private key.

Protected Methods

Method Description
_getSecretKeyPackets ( ) : array Return the secret key packet.

Method Details

__get() public method

public __get ( $name )

_getSecretKeyPackets() protected method

Return the secret key packet.
protected _getSecretKeyPackets ( ) : array
return array Packet ID as keys, OpenPGP_SecretKeyPacket objects as values.

getPublicKey() public method

public getPublicKey ( )

getUnencryptedKey() public method

Return the unencrypted version of the private key.
public getUnencryptedKey ( string $passphrase = null ) : Horde_Pgp_Element_PrivateKey
$passphrase string The passphrase used to encrypt the key.
return Horde_Pgp_Element_PrivateKey Unencrypted key.

Property Details

$_armor protected_oe property

protected $_armor