PHP Class Horde_Pgp_Element_PrivateKey, horde

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

Protected Properties

Свойство Type Description
$_armor

Méthodes publiques

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

Méthodes protégées

Méthode Description
_getSecretKeyPackets ( ) : array Return the secret key packet.

Method Details

__get() public méthode

public __get ( $name )

_getSecretKeyPackets() protected méthode

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

getPublicKey() public méthode

public getPublicKey ( )

getUnencryptedKey() public méthode

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.
Résultat Horde_Pgp_Element_PrivateKey Unencrypted key.

Property Details

$_armor protected_oe property

protected $_armor