Method | Description | |
---|---|---|
__construct ( OpenPGP_PublicKeyPacket $key ) | Constructor. | |
decrypt ( string $text ) : string | Decrypt data. | |
encrypt ( string $text ) : array | Encrypt data. |
public __construct ( OpenPGP_PublicKeyPacket $key ) | ||
$key | OpenPGP_PublicKeyPacket | Key data. |